From: Jose V Beneyto Date: Tue, 2 Nov 2010 15:46:52 +0000 (+0100) Subject: gtk-chtheme: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=975fbc8096e8a03aaf8bb52cc49f8a964d3569d0;p=attic%2Fports%2Fopt-cross.git gtk-chtheme: initial import (verified compilation) --- diff --git a/gtk-chtheme/.footprint b/gtk-chtheme/.footprint new file mode 100644 index 0000000..540608c --- /dev/null +++ b/gtk-chtheme/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gtk-chtheme +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rwxr-xr-x root/root usr/man/man1/gtk-chtheme.1.gz diff --git a/gtk-chtheme/.md5sum b/gtk-chtheme/.md5sum new file mode 100644 index 0000000..4b354ce --- /dev/null +++ b/gtk-chtheme/.md5sum @@ -0,0 +1 @@ +f688053bf26dd6c4f1cd0bf2ee33de2a gtk-chtheme-0.3.1.tar.bz2 diff --git a/gtk-chtheme/Pkgfile b/gtk-chtheme/Pkgfile new file mode 100644 index 0000000..a8a7978 --- /dev/null +++ b/gtk-chtheme/Pkgfile @@ -0,0 +1,29 @@ +# Description: Theme changer for GTK2 +# URL: http://plasmasturm.org/programs/gtk-chtheme +# Packager: Simone Rota, sip at crux dot nu +# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: gtk + +name=gtk-chtheme +version=0.3.1 +release=3 +source=(http://plasmasturm.org/programs/$name/$name-$version.tar.bz2) + +build() { + cd $name-$version + + export GLIB_LIBS="-L$CLFS/usr/lib -pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0" + export GLIB_CFLAGS="-I$CLFS/usr/include -pthread -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include" + + export GTK_LIBS="$GLIB_LIBS -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig" + export GTK_CFLAGS="$GLIB_CFLAGS -I$CLFS/usr/include/gtk-2.0 -I$CLFS/usr/lib/gtk-2.0/include -I$CLFS/usr/include/atk-1.0 -I$CLFS/usr/include/cairo -I$CLFS/usr/include/pango-1.0 -I$CLFS/usr/include/pixman-1 -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/libpng12" + + sed -i Makefile \ + -e "s|strip |$STRIP |" \ + -e "s|\$(shell pkg-config --libs gtk+-2.0)|$GTK_LIBS|" \ + -e "s|\$(shell pkg-config --cflags gtk+-2.0)|$GTK_CFLAGS|" + + make + make DESTDIR=$PKG MANDIR=/usr/man install +}