aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libadwaita
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/libadwaita
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libadwaita')
-rw-r--r--vcpkg/ports/libadwaita/portfile.cmake34
-rw-r--r--vcpkg/ports/libadwaita/vcpkg.json24
2 files changed, 58 insertions, 0 deletions
diff --git a/vcpkg/ports/libadwaita/portfile.cmake b/vcpkg/ports/libadwaita/portfile.cmake
new file mode 100644
index 0000000..95bff51
--- /dev/null
+++ b/vcpkg/ports/libadwaita/portfile.cmake
@@ -0,0 +1,34 @@
+vcpkg_from_gitlab(
+ GITLAB_URL https://gitlab.gnome.org/
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO GNOME/libadwaita
+ REF "${VERSION}"
+ SHA512 5cea6396bab3439fb3ddef95fe86bc84955ce1eb426fc5dd323329eeab8a51e10de5f4d9c45380f905ceea43e094362a577a67386a3ddcefff362af030c8c7e3
+ HEAD_REF main
+ PATCHES
+)
+
+set(GLIB_TOOLS_DIR "${CURRENT_HOST_INSTALLED_DIR}/tools/glib")
+set(SASSC_TOOLS_DIR "${CURRENT_HOST_INSTALLED_DIR}/tools/sassc")
+
+vcpkg_configure_meson(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -Dintrospection=disabled
+ -Dtests=false
+ -Dgtk_doc=false
+ -Dexamples=false
+ -Dvapi=false
+ ADDITIONAL_BINARIES
+ glib-genmarshal='${GLIB_TOOLS_DIR}/glib-genmarshal'
+ glib-mkenums='${GLIB_TOOLS_DIR}/glib-mkenums'
+ glib-compile-resources='${GLIB_TOOLS_DIR}/glib-compile-resources${VCPKG_HOST_EXECUTABLE_SUFFIX}'
+ glib-compile-schemas='${GLIB_TOOLS_DIR}/glib-compile-schemas${VCPKG_HOST_EXECUTABLE_SUFFIX}'
+ sassc='${SASSC_TOOLS_DIR}/bin/sassc${VCPKG_HOST_EXECUTABLE_SUFFIX}'
+)
+
+vcpkg_install_meson()
+vcpkg_copy_pdbs()
+vcpkg_fixup_pkgconfig()
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
diff --git a/vcpkg/ports/libadwaita/vcpkg.json b/vcpkg/ports/libadwaita/vcpkg.json
new file mode 100644
index 0000000..473d97f
--- /dev/null
+++ b/vcpkg/ports/libadwaita/vcpkg.json
@@ -0,0 +1,24 @@
+{
+ "name": "libadwaita",
+ "version": "1.3.2",
+ "port-version": 2,
+ "description": "Building blocks for modern GNOME applications",
+ "homepage": "https://gnome.pages.gitlab.gnome.org/libadwaita",
+ "license": "LGPL-2.1-or-later",
+ "supports": "!xbox",
+ "dependencies": [
+ {
+ "name": "glib",
+ "host": true
+ },
+ "gtk",
+ {
+ "name": "sassc",
+ "host": true
+ },
+ {
+ "name": "vcpkg-tool-meson",
+ "host": true
+ }
+ ]
+}