aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mypaint-brushes
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/mypaint-brushes
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mypaint-brushes')
-rw-r--r--vcpkg/ports/mypaint-brushes/portfile.cmake27
-rw-r--r--vcpkg/ports/mypaint-brushes/vcpkg.json13
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/mypaint-brushes/portfile.cmake b/vcpkg/ports/mypaint-brushes/portfile.cmake
new file mode 100644
index 0000000..2252dee
--- /dev/null
+++ b/vcpkg/ports/mypaint-brushes/portfile.cmake
@@ -0,0 +1,27 @@
+set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
+
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://github.com/mypaint/mypaint-brushes/releases/download/v${VERSION}/mypaint-brushes-${VERSION}.tar.xz"
+ FILENAME "mypaint-brushes-${VERSION}.tar.xz"
+ SHA512 22ff99c40a2fff71efd5c25a462cefb9948f0d258aee12e3eb924bac53733a2573e100454e2f3e4631d59eac013c2aaa7f32ff566843d23df971bf2aaa1181bd
+)
+
+vcpkg_extract_source_archive(
+ SOURCE_PATH
+ ARCHIVE "${ARCHIVE}"
+ PATCHES
+)
+
+vcpkg_make_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+)
+
+vcpkg_make_install()
+
+vcpkg_copy_pdbs()
+file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/pkgconfig")
+file(RENAME "${CURRENT_PACKAGES_DIR}/share/mypaint-brushes/pkgconfig/mypaint-brushes-1.0.pc" "${CURRENT_PACKAGES_DIR}/share/pkgconfig/mypaint-brushes-1.0.pc")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/" "${CURRENT_PACKAGES_DIR}/share/mypaint-brushes/pkgconfig")
+vcpkg_fixup_pkgconfig()
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
diff --git a/vcpkg/ports/mypaint-brushes/vcpkg.json b/vcpkg/ports/mypaint-brushes/vcpkg.json
new file mode 100644
index 0000000..76bddcb
--- /dev/null
+++ b/vcpkg/ports/mypaint-brushes/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "mypaint-brushes",
+ "version": "1.3.1",
+ "description": "Data package. Brushes used by MyPaint and other software using libmypaint.",
+ "homepage": "mypaint.org",
+ "license": "CC0-1.0",
+ "dependencies": [
+ {
+ "name": "vcpkg-make",
+ "host": true
+ }
+ ]
+}