summaryrefslogtreecommitdiff
path: root/libappindicator-sharp
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2019-08-26 12:19:00 +0000
committerTim Biermann <tbier@posteo.de>2019-08-26 12:19:00 +0000
commit36701f397ae2450ce2587e22bc59768a0a1a32e1 (patch)
treee9098ff445f05c9ef9fb0e4b8f035b4a795cedab /libappindicator-sharp
parent5588dbff2b898e6f5fd5a7c1bc94782450be2ce3 (diff)
downloadcontrib-36701f397ae2450ce2587e22bc59768a0a1a32e1.tar.gz
contrib-36701f397ae2450ce2587e22bc59768a0a1a32e1.tar.xz
libappindicator-sharp: fix probing for python stuff
Diffstat (limited to 'libappindicator-sharp')
-rw-r--r--libappindicator-sharp/.signature4
-rw-r--r--libappindicator-sharp/Pkgfile19
2 files changed, 13 insertions, 10 deletions
diff --git a/libappindicator-sharp/.signature b/libappindicator-sharp/.signature
index bc7d91152..5d743b4c2 100644
--- a/libappindicator-sharp/.signature
+++ b/libappindicator-sharp/.signature
@@ -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
diff --git a/libappindicator-sharp/Pkgfile b/libappindicator-sharp/Pkgfile
index f08c475e0..1a0c8b13d 100644
--- a/libappindicator-sharp/Pkgfile
+++ b/libappindicator-sharp/Pkgfile
@@ -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
}

Generated by cgit