aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xbitmaps/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/xbitmaps/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/xbitmaps/portfile.cmake')
-rw-r--r--vcpkg/ports/xbitmaps/portfile.cmake24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/xbitmaps/portfile.cmake b/vcpkg/ports/xbitmaps/portfile.cmake
new file mode 100644
index 0000000..a2617b1
--- /dev/null
+++ b/vcpkg/ports/xbitmaps/portfile.cmake
@@ -0,0 +1,24 @@
+vcpkg_from_gitlab(
+ GITLAB_URL https://gitlab.freedesktop.org/xorg
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO data/bitmaps
+ REF 61eebdfde170841ae933cf65ba27346fbf2f8018
+ SHA512 dd8acefc6f96d65e4b5d4807221aa3b87faca7b8b50e9de76081351503c9abb127a3063f3bb23ca71a0e3521640e7fdf7686e33cca5c7b7ad8d67a7ac26e65b5
+ HEAD_REF master
+)
+
+set(ENV{ACLOCAL} "aclocal -I \"${CURRENT_INSTALLED_DIR}/share/xorg/aclocal/\"")
+
+vcpkg_configure_make(
+ SOURCE_PATH "${SOURCE_PATH}"
+ AUTOCONFIG
+)
+vcpkg_install_make()
+file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/pkgconfig/")
+file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/pkgconfig/xbitmaps.pc" "${CURRENT_PACKAGES_DIR}/share/pkgconfig/xbitmaps.pc")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/pkgconfig/")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+vcpkg_fixup_pkgconfig()
+
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(TOUCH "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage")