[arch-commits] Commit in gnome-python/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Wed Jan 25 22:53:47 UTC 2017
Date: Wednesday, January 25, 2017 @ 22:53:46
Author: jgc
Revision: 287460
upgpkg: gnome-python 2.28.1-10
Strip all modules except python2-gconf
Modified:
gnome-python/trunk/PKGBUILD
----------+
PKGBUILD | 45 ++++++++-------------------------------------
1 file changed, 8 insertions(+), 37 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-25 22:33:03 UTC (rev 287459)
+++ PKGBUILD 2017-01-25 22:53:46 UTC (rev 287460)
@@ -3,12 +3,12 @@
# Contributor: Sarah Hay <sarah at archlinux.org>
pkgbase=gnome-python
-pkgname=('gnome-python' 'python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
+pkgname=('gnome-python' 'python2-gconf')
pkgver=2.28.1
-pkgrel=9
+pkgrel=10
arch=(i686 x86_64)
license=('LGPL')
-makedepends=('pygtk' 'pyorbit' 'libgnomeui')
+makedepends=('pygtk' 'gconf')
url="http://www.pygtk.org/"
source=(https://download.gnome.org/sources/gnome-python/2.28/gnome-python-${pkgver}.tar.bz2)
sha256sums=('759ce9344cbf89cf7f8449d945822a0c9f317a494f56787782a901e4119b96d8')
@@ -15,26 +15,21 @@
build() {
cd "${srcdir}/gnome-python-${pkgver}"
- PYTHON=python2 ./configure --prefix=/usr
+ PYTHON=python2 ./configure --prefix=/usr --disable-gnome --disable-gnomeui --disable-gnomecanvas --disable-gnomevfs --disable-gnomevfsbonobo --disable-pyvfsmodule --disable-bonobo_activation --disable-bonobo --disable-bonoboui
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
package_gnome-python() {
pkgdesc="PyGNOME Python extension module"
- depends=('python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
+ depends=('python2-gconf')
cd "${srcdir}/gnome-python-${pkgver}"
make install-pkgconfigDATA DESTDIR="${pkgdir}"
}
-package_python2-bonobo(){
- pkgdesc="Python bindings for interacting with Bonobo"
- depends=('pygtk' 'libbonoboui' 'pyorbit' 'python2-gnomecanvas')
-
- cd "${srcdir}/gnome-python-${pkgver}"
- make -C bonobo install DESTDIR="${pkgdir}"
-}
-
package_python2-gconf(){
pkgdesc="Python bindings for interacting with GConf"
depends=('pygtk' 'gconf')
@@ -42,27 +37,3 @@
cd "${srcdir}/gnome-python-${pkgver}"
make -C gconf install DESTDIR="${pkgdir}"
}
-
-package_python2-libgnome() {
- pkgdesc="Python bindings for libgnome"
- depends=('pygtk' 'libgnomeui' 'python2-gnomevfs' 'python2-gnomecanvas' 'python2-bonobo')
-
- cd "${srcdir}/gnome-python-${pkgver}"
- make -C gnome install DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomecanvas() {
- pkgdesc="Python bindings for the GNOME Canvas"
- depends=('pygtk' 'libgnomecanvas')
-
- cd "${srcdir}/gnome-python-${pkgver}"
- make -C gnomecanvas install DESTDIR="${pkgdir}"
-}
-
-package_python2-gnomevfs() {
- pkgdesc="Python bindings for interacting with gnome-vfs"
- depends=('python2' 'libbonobo' 'gnome-vfs')
-
- cd "${srcdir}/gnome-python-${pkgver}"
- make -C gnomevfs install DESTDIR="${pkgdir}"
-}
More information about the arch-commits
mailing list