forked from ports/contrib
libappindicator-python: cleaned up dependencies
This commit is contained in:
parent
ccbcdf28d4
commit
5588dbff2b
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3ykNZpPCw2yG1AOl/UbaYWjCaAKfgrVPayqGn6itsktZgOkpoRbZ7IMll6PLHZtGWFpDQO15EujgiJ+Nq1JUwA4=
|
||||
SHA256 (Pkgfile) = bc1ce290f7185b0f9602e7a7b9a1502c40ae8d9f4162e5f95402c8190aff7522
|
||||
RWSagIOpLGJF33CFm3bOhfjpX9JmAIcibM2nT4LQFqq5IOaLUDJej3/+yPl7tl62Fi/rWoeif6AgTkgB/wBURI3OgfKQXhaLWwg=
|
||||
SHA256 (Pkgfile) = fc43739e01bdecd5189fdd86d1119956c6cc65928ec200201b86a8b00cf2828e
|
||||
SHA256 (.footprint) = df265289dc5c5cfa3f497527df063af0ab1717599825961f54e5336d7e4b41de
|
||||
SHA256 (libappindicator-16.10.tar.gz) = f33e0e06096fa8f8ca560ffcd84b8eb64830fa7308b30964c77bd5f45d0c497e
|
||||
SHA256 (0001-Glib.Timeout-fix.patch) = bc7e3d5db0b9b324dc072f807519547fdc2c96514eb17aa07a71117a787d9b80
|
||||
|
@ -1,38 +1,44 @@
|
||||
# Description: Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray
|
||||
# URL: https://launchpad.net/libappindicator
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: libappindicator-gtk2 python
|
||||
# Depends on: libappindicator-gtk2 python pygtk
|
||||
|
||||
name=libappindicator-python
|
||||
version=16.10
|
||||
release=1
|
||||
release=2
|
||||
source=(http://unrealize.co.uk/source/libappindicator-16.10.tar.gz
|
||||
0001-Glib.Timeout-fix.patch 0002-Fix-mono-nunit-pkgconfig-name.patch 0003-Fix-Mono-assemblies-directory.patch badfunction.patch conditional-py-bindings.patch disable-mono.patch gtk3.patch improved-plasma-support.patch vala-inherit.patch)
|
||||
0001-Glib.Timeout-fix.patch 0002-Fix-mono-nunit-pkgconfig-name.patch
|
||||
0003-Fix-Mono-assemblies-directory.patch badfunction.patch
|
||||
conditional-py-bindings.patch disable-mono.patch gtk3.patch
|
||||
improved-plasma-support.patch vala-inherit.patch)
|
||||
|
||||
build() {
|
||||
cd libappindicator-$version
|
||||
# The next 3 patches shamelessly pinched from Arch
|
||||
patch -p1 --verbose < ../0001-Glib.Timeout-fix.patch
|
||||
patch -p1 --verbose < ../0002-Fix-mono-nunit-pkgconfig-name.patch
|
||||
patch -p1 --verbose < ../0003-Fix-Mono-assemblies-directory.patch
|
||||
patch -p1 -i $SRC/0001-Glib.Timeout-fix.patch
|
||||
patch -p1 -i $SRC/0002-Fix-mono-nunit-pkgconfig-name.patch
|
||||
patch -p1 -i $SRC/0003-Fix-Mono-assemblies-directory.patch
|
||||
|
||||
# This one is also from Arch(ish), but had to be recreated best it could
|
||||
patch -p1 --verbose < ../improved-plasma-support.patch
|
||||
patch -p1 -i $SRC/improved-plasma-support.patch
|
||||
|
||||
# Patch pinched from Gentoo
|
||||
patch -p1 --verbose < ../conditional-py-bindings.patch
|
||||
patch -p1 -i $SRC/conditional-py-bindings.patch
|
||||
|
||||
# Removed a function which had no declaration
|
||||
patch -p1 --verbose < ../badfunction.patch
|
||||
patch -p1 -i $SRC/badfunction.patch
|
||||
|
||||
sed -i -e 's/ -Werror//' src/Makefile.am
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
export CSC='/usr/bin/mcs'
|
||||
#export CSC='/usr/bin/mcs'
|
||||
CXXFLAGS="$CXXFLAGS -std=c++11" \
|
||||
./configure --prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--disable-{gtk-doc-html,mono-test,static,tests} \
|
||||
--with-gtk=2
|
||||
sed -e 's/DIST_SUBDIRS = vala python mono/DIST_SUBDIRS = vala python/g' \
|
||||
-e 's/am__append_2 = mono//g' \
|
||||
-i bindings/Makefile
|
||||
make
|
||||
make DESTDIR=$PKG -j1 -C bindings/python install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user