aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 14:29:38 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 15:49:14 +0100
commitb16d22c610fd4caa58d100017aad793193dc97f8 (patch)
tree5fa6d3934d016dc17510b8c2d90789887ae03c7b /unmaintained
parent61f55b7785b05d75a40eb998b782fd01fbf82e99 (diff)
downloadaports-b16d22c610fd4caa58d100017aad793193dc97f8.tar.bz2
aports-b16d22c610fd4caa58d100017aad793193dc97f8.tar.xz
unmaintained/gtk-qt-engine: moved from testing
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/gtk-qt-engine/APKBUILD42
-rw-r--r--unmaintained/gtk-qt-engine/stdlib.patch10
2 files changed, 52 insertions, 0 deletions
diff --git a/unmaintained/gtk-qt-engine/APKBUILD b/unmaintained/gtk-qt-engine/APKBUILD
new file mode 100644
index 0000000000..b118cc6a65
--- /dev/null
+++ b/unmaintained/gtk-qt-engine/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=gtk-qt-engine
+pkgver=1.1
+pkgrel=0
+pkgdesc="GTK QT engine"
+url="http://gtk-qt-engine.googlecode.com/"
+arch="x86 x86_64"
+license="GPL"
+depends=
+depends_dev="kde-workspace-dev gtk+-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-lang"
+source="http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-$pkgver.tar.bz2
+ stdlib.patch"
+install_if="kdebase-workspace"
+
+_builddir="$srcdir"/gtk-qt-engine
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON . || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="de8048baef7dfe6c97cd97c463d66152 gtk-qt-engine-1.1.tar.bz2
+1658c0431dd13bef9c3f72183815c6f3 stdlib.patch"
diff --git a/unmaintained/gtk-qt-engine/stdlib.patch b/unmaintained/gtk-qt-engine/stdlib.patch
new file mode 100644
index 0000000000..44fd2c49e5
--- /dev/null
+++ b/unmaintained/gtk-qt-engine/stdlib.patch
@@ -0,0 +1,10 @@
+--- gtk-qt-engine.orig/src/qt_theme_draw.c
++++ gtk-qt-engine/src/qt_theme_draw.c
+@@ -19,6 +19,7 @@
+ ***************************************************************************/
+
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <gtk/gtkprogressbar.h>
+ #include <gdk/gdk.h>