aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nativefiledialog-extended
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/nativefiledialog-extended
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/nativefiledialog-extended')
-rw-r--r--vcpkg/ports/nativefiledialog-extended/portfile.cmake23
-rw-r--r--vcpkg/ports/nativefiledialog-extended/vcpkg.json22
2 files changed, 45 insertions, 0 deletions
diff --git a/vcpkg/ports/nativefiledialog-extended/portfile.cmake b/vcpkg/ports/nativefiledialog-extended/portfile.cmake
new file mode 100644
index 0000000..4cbbb58
--- /dev/null
+++ b/vcpkg/ports/nativefiledialog-extended/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO btzy/nativefiledialog-extended
+ REF v${VERSION}
+ SHA512 4ec3e174a90354c524d9be2776422740f80b73021df94e1942e60ab4310995245554f83097b9b2dcca04d016a8548d3fc0760f73daf724c5c3d72c15cf776bed
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DNFD_BUILD_TESTS=OFF
+ -DNFD_PORTAL=ON
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(PACKAGE_NAME nfd CONFIG_PATH lib/cmake/nfd)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_copy_pdbs()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/nativefiledialog-extended/vcpkg.json b/vcpkg/ports/nativefiledialog-extended/vcpkg.json
new file mode 100644
index 0000000..10735c7
--- /dev/null
+++ b/vcpkg/ports/nativefiledialog-extended/vcpkg.json
@@ -0,0 +1,22 @@
+{
+ "name": "nativefiledialog-extended",
+ "version": "1.2.1",
+ "description": "Native File Dialog Extended",
+ "homepage": "https://github.com/btzy/nativefiledialog-extended",
+ "license": "Zlib",
+ "supports": "!android & !ios & !uwp",
+ "dependencies": [
+ {
+ "name": "dbus",
+ "platform": "!osx & !windows"
+ },
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}