summaryrefslogtreecommitdiffstats
path: root/gtkspell/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-03-26 02:43:45 +0200
committerpiernov <piernov@piernov.org>2012-03-26 02:43:45 +0200
commit4f8061980dba882945f0d6a22c467df253b94df5 (patch)
tree25afdaad45a7798c4417246f980406b5698fcd59 /gtkspell/Pkgfile
parent8287e716e4ea56bdc6b74611d89c5220665e21e8 (diff)
downloadnutyx-extra-4f8061980dba882945f0d6a22c467df253b94df5.tar.gz
nutyx-extra-4f8061980dba882945f0d6a22c467df253b94df5.tar.bz2
nutyx-extra-4f8061980dba882945f0d6a22c467df253b94df5.tar.xz
nutyx-extra-4f8061980dba882945f0d6a22c467df253b94df5.zip
gtkspell 2.0.16-2 ajout support gtk3
Diffstat (limited to 'gtkspell/Pkgfile')
-rw-r--r--gtkspell/Pkgfile32
1 files changed, 22 insertions, 10 deletions
diff --git a/gtkspell/Pkgfile b/gtkspell/Pkgfile
index 98908274b..0755bea1c 100644
--- a/gtkspell/Pkgfile
+++ b/gtkspell/Pkgfile
@@ -2,19 +2,31 @@
# URL: http://gtkspell.sourceforge.net/
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
-# Depends on: gtk, aspell, enchant, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama
-# Run on: gtk,aspell,enchant
+# Depends on: gtk, gtk3, aspell, enchant, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama
+# Run on: gtk,gtk3,aspell,enchant
name=gtkspell
version=2.0.16
-release=1
-source=(http://gtkspell.sourceforge.net/download/$name-$version.tar.gz)
+release=2
+source=(http://gtkspell.sourceforge.net/download/$name-$version.tar.gz
+ gtk3_support.patch)
build() {
-cd $name-$version
-./configure --prefix=/usr
-make
-make DESTDIR=$PKG install
-rm -rf $PKG/usr/share/gtk-doc
+ cd $name-$version
+
+ patch -p1 < ../gtk3_support.patch
+ autoreconf -fi
+
+ ./configure --prefix=/usr \
+ --with-gtk=2
+ make
+ make DESTDIR=$PKG install
+
+ make clean
+ ./configure --prefix=/usr \
+ --with-gtk=3
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share/gtk-doc
}
-