ports: Add mypaint port

This commit is contained in:
2026-08-24 21:53:03 +03:00
parent 889415b22a
commit 9b5fd077d2
3 changed files with 48 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash ../install.sh
NAME='libmypaint'
VERSION='1.6.1'
DOWNLOAD_URL="https://github.com/mypaint/libmypaint/releases/download/v$VERSION/libmypaint-$VERSION.tar.xz#741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f"
DEPENDENCIES=('glib' 'json-c')
CONFIG_SUB=('config.sub')
CONFIGURE_OPTIONS=(
'--disable-introspection'
'--disable-i18n'
'--disable-nls'
)
@@ -0,0 +1,31 @@
diff -ruN libmypaint-1.6.1/configure libmypaint-1.6.1-banan_os/configure
--- libmypaint-1.6.1/configure 2020-05-11 19:38:35.000000000 +0300
+++ libmypaint-1.6.1-banan_os/configure 2026-03-25 03:05:53.901886496 +0200
@@ -5608,6 +5608,10 @@
lt_cv_deplibs_check_method=pass_all
;;
+banan_os*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
beos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -11347,6 +11351,16 @@
esac
;;
+banan_os*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker="$host_os DynamicLoader.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
beos*)
library_names_spec='$libname$shared_ext'
dynamic_linker="$host_os ld.so"
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash ../install.sh
NAME='mypaint-brushes'
VERSION='2.0.2'
DOWNLOAD_URL="https://github.com/mypaint/mypaint-brushes/releases/download/v$VERSION/mypaint-brushes-$VERSION.tar.xz#7984a74edef94571d872d0629b224abaa956a36f632f5c5516b33d22e49eb566"