forked from ports/contrib
libappindicator-sharp: fix probing for python stuff
This commit is contained in:
parent
5588dbff2b
commit
36701f397a
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32eSfjRF0WUWzxGQ8nhr5Gpb9k4PnJgNiz+xpqNyikl77zKgwBvQ2sSQCUOfIkaLwpUapqVFggNKm6Cj9dIUNgI=
|
||||
SHA256 (Pkgfile) = 734fb95b709dfecec1e918e5a97a61ae366242803cb9f714fda7faa89e5d3e30
|
||||
RWSagIOpLGJF395RNbELy9M+tVNkIucfZ+vyRsSh/togrMU5HfJpqgz/XefcYSRqLSRDwhJHO9MweJpRD+lZ4iufNEVnIV9c+AQ=
|
||||
SHA256 (Pkgfile) = e5f2b07d8f4e205e99b17c287377db6af94adb05b28e37efa7675190b0c9dc99
|
||||
SHA256 (.footprint) = c3580fbe52ae04c90acdef867701f434fac2924397cc7b32a03cf457bc996ddf
|
||||
SHA256 (libappindicator-16.10.tar.gz) = f33e0e06096fa8f8ca560ffcd84b8eb64830fa7308b30964c77bd5f45d0c497e
|
||||
SHA256 (0001-Glib.Timeout-fix.patch) = bc7e3d5db0b9b324dc072f807519547fdc2c96514eb17aa07a71117a787d9b80
|
||||
|
@ -5,25 +5,25 @@
|
||||
|
||||
name=libappindicator-sharp
|
||||
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)
|
||||
|
||||
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
|
||||
@ -31,8 +31,11 @@ build() {
|
||||
CXXFLAGS="$CXXFLAGS -std=c++11" \
|
||||
./configure --prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--disable-{gtk-doc-html,mono-test,static,tests} \
|
||||
--disable-{gtk-doc-html,python,mono-test,static,tests} \
|
||||
--with-gtk=2
|
||||
sed -e 's/DIST_SUBDIRS = vala python mono/DIST_SUBDIRS = vala mono/g' \
|
||||
-e 's/am__append_1 = python//g' \
|
||||
-i bindings/Makefile
|
||||
make
|
||||
make DESTDIR=$PKG -j1 -C bindings/mono install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user