aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libmypaint/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libmypaint/portfile.cmake')
-rw-r--r--vcpkg/ports/libmypaint/portfile.cmake25
1 files changed, 25 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")