Index: PKGBUILD =================================================================== --- PKGBUILD (revision 359272) +++ PKGBUILD (working copy) @@ -11,16 +11,23 @@ depends=('glibc' 'json-c' 'gegl' 'glib2' 'json-glib' 'babl') makedepends=('intltool' 'python' 'gobject-introspection') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mypaint/libmypaint/archive/v${pkgver}.tar.gz - versioning.patch gegl-0.4.patch) + versioning.patch + https://github.com/mypaint/libmypaint/commit/c7ffef3ef936ae5d933b471c48026715e4cc62aa.patch + https://github.com/mypaint/libmypaint/pull/142/commits/9a68c27d9e222cfbb68fdf853adb95492421d4ee.patch) sha512sums=('98ba7a48a611014e683d8d534c73af1ed0754e1d9974d62db7efb588abdb9c01d090daaaba3847ece7ca7e5a4e83b334f2a3473a2c9b7e4a9c0680231f650202' '918541f71a7c8aaf9fbb5873d8e3fb54c2409316ec5ed10a60b7e44c31af3360f81c8cf981dd474951103cce656943e68a7c3666d8bf9ee33a2d26ce2d6a1a64' - 'e7a79f1d8992022e31e5c24f36684327ec465b48a23e967e7ae290b8a7f35a95a2e3676ca2281d72e2533ae1edb643a5bf827cc7550fb7a39d6bbc14f334c713') + '5cfdf973f1552b1922fe18ae26f1d803bcfea965569ba3701cd0086bc4bf557903763b49d36bc210e24547d393423bd3b7aae037bf85c5a94613adc1b2ba4b61' + '20485cdf7b3a5920533ccb239d38055e2daa4923652c00afdda7b2ff1af4045e2916edfc51213a078cbf2d173f74f8274d579f018253840845a3a239647d0f0b') prepare() { cd ${pkgname}-${pkgver} patch -uNp2 < ../versioning.patch - patch -Np1 < ../gegl-0.4.patch - ./autogen.sh + # fix broken pkgconfig file, make next patch apply + patch -p1 -i ../c7ffef3ef936ae5d933b471c48026715e4cc62aa.patch + # gegl 0.4.14 support + patch -p1 -i ../9a68c27d9e222cfbb68fdf853adb95492421d4ee.patch + intltoolize --automake + autoreconf -fi } build() {