diff options
author | Eli Schwartz | 2020-03-31 14:39:43 -0400 |
---|---|---|
committer | Eli Schwartz | 2020-03-31 14:39:43 -0400 |
commit | 9fe177ca7762a50f6728a8a7cba6408daea2cde4 (patch) | |
tree | d777856f99b68d2b2af98169f5fc5c824a18d41e /PKGBUILD | |
parent | 5adb45c8a63145d6a712d52e20fea95d2893a494 (diff) | |
download | aur-9fe177ca7762a50f6728a8a7cba6408daea2cde4.tar.gz |
upgpkg: pygtk 2.24.0-9
Fix build with pango 1.44.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=pygtk pkgver=2.24.0 -pkgrel=8 +pkgrel=9 pkgdesc="Python bindings for the GTK widget set" url="http://www.pygtk.org/" arch=('x86_64') @@ -12,9 +12,11 @@ depends=('libglade' 'python2-cairo' 'python2-gobject2') makedepends=('python2-numpy' 'pygobject2-devel') optdepends=('python2-numpy') source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + "https://gitlab.gnome.org/Archive/pygtk/-/commit/4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2.patch" python27.patch fix-leaks-of-pango-objects.patch) sha256sums=('cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912' + '45700d4e048aeb353a71c9aa182b8299ddfb485e00845045561660ef7317bbbc' '39a30456cba055a452bb55c74ef1ff2f5f7bfaad22855b4dd569ab009b56b682' '0ca9e910e9bb88897089dd19752a419aa78de15463df766cb19a1d0c2dd45bcb') @@ -27,6 +29,10 @@ prepare() { # https://bugzilla.gnome.org/show_bug.cgi?id=660216 patch -Np1 -i "${srcdir}/fix-leaks-of-pango-objects.patch" + # fix build with new pango: + # https://gitlab.gnome.org/Archive/pygtk/-/merge_requests/1 + patch -p1 -i ../4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2.patch + # Python 2 sed -i -e 's#env python$#env python2#' examples/pygtk-demo/{,demos/}*.py |