CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gtk-chtheme: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Tue, 2 Nov 2010 15:46:52 +0000 (16:46 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 2 Nov 2010 15:46:52 +0000 (16:46 +0100)
gtk-chtheme/.footprint [new file with mode: 0644]
gtk-chtheme/.md5sum [new file with mode: 0644]
gtk-chtheme/Pkgfile [new file with mode: 0644]

diff --git a/gtk-chtheme/.footprint b/gtk-chtheme/.footprint
new file mode 100644 (file)
index 0000000..540608c
--- /dev/null
@@ -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 (file)
index 0000000..4b354ce
--- /dev/null
@@ -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 (file)
index 0000000..a8a7978
--- /dev/null
@@ -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
+}