]> git.draconx.ca Git - gentoo-draconx.git/blobdiff - media-plugins/gimp-python/files/2.10.20-no-mypaint-brushes.patch
Work around python-r1 eclass dropping python2.
[gentoo-draconx.git] / media-plugins / gimp-python / files / 2.10.20-no-mypaint-brushes.patch
diff --git a/media-plugins/gimp-python/files/2.10.20-no-mypaint-brushes.patch b/media-plugins/gimp-python/files/2.10.20-no-mypaint-brushes.patch
new file mode 100644 (file)
index 0000000..6f2a8db
--- /dev/null
@@ -0,0 +1,20 @@
+diff --git a/configure.ac.orig b/configure.ac
+index 38ebdd1..71b13db 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1932,14 +1932,7 @@ WARNING: libmypaint lower than version 1.4.0 is known to crash when
+          parsing MyPaint 2 brushes. Please update."
+   ])
+-PKG_CHECK_MODULES(MYPAINT_BRUSHES, mypaint-brushes-1.0,,
+-                  [add_deps_error([mypaint-brushes-1.0])])
+-
+-if test "x$enable_relocatable_bundle" != xno; then
+-  mypaint_brushes_dir='${gimp_installation_dir}/share/mypaint-data/1.0/brushes'
+-else
+-  mypaint_brushes_dir=`$PKG_CONFIG --variable=brushesdir mypaint-brushes-1.0`
+-fi
++mypaint_brushes_dir=//not/used/by/pygimp
+ AC_SUBST(mypaint_brushes_dir)