diff options
Diffstat (limited to 'vcpkg/ports/libmypaint')
| -rw-r--r-- | vcpkg/ports/libmypaint/portfile.cmake | 25 | ||||
| -rw-r--r-- | vcpkg/ports/libmypaint/vcpkg.json | 17 |
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/libmypaint/portfile.cmake b/vcpkg/ports/libmypaint/portfile.cmake new file mode 100644 index 0000000..51b6027 --- /dev/null +++ b/vcpkg/ports/libmypaint/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_download_distfile(ARCHIVE + URLS "https://github.com/mypaint/libmypaint/releases/download/v${VERSION}/libmypaint-${VERSION}.tar.xz" + FILENAME "libmypaint-${VERSION}.tar.xz" + SHA512 e9413fd6a5336791ab3228a5ad9e7f06871d075c7ded236942f896a205ba44ea901a945fdc97b8be357453a1505331b59e824fe67500fbcda0cc4f11f79af608 +) + +vcpkg_extract_source_archive( + SOURCE_PATH + ARCHIVE "${ARCHIVE}" +) + +vcpkg_make_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + --disable-i18n + --disable-introspection + --with-glib +) + +vcpkg_make_install() + +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/libmypaint/vcpkg.json b/vcpkg/ports/libmypaint/vcpkg.json new file mode 100644 index 0000000..35caad1 --- /dev/null +++ b/vcpkg/ports/libmypaint/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "libmypaint", + "version": "1.6.1", + "port-version": 1, + "description": "Brush library used by MyPaint", + "homepage": "mypaint.org", + "license": "ISC", + "supports": "!windows | mingw", + "dependencies": [ + "glib", + "json-c", + { + "name": "vcpkg-make", + "host": true + } + ] +} |