summaryrefslogtreecommitdiffstats
path: root/main/lua-lgob/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-30 08:10:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-30 08:10:54 +0000
commit525e0aa74a4ff0d39323aaa19d814d288ceadd3a (patch)
tree37373c5877a5814b74efcae655b2ccf1c1299573 /main/lua-lgob/APKBUILD
parent2814e2175eb346da3abcae6933b324d03534929c (diff)
downloadaports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.bz2
aports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.xz
main/lua-lgob: rebuild against poppler-0.16
Diffstat (limited to 'main/lua-lgob/APKBUILD')
-rw-r--r--main/lua-lgob/APKBUILD20
1 files changed, 17 insertions, 3 deletions
diff --git a/main/lua-lgob/APKBUILD b/main/lua-lgob/APKBUILD
index 0f98b4989..d2ea94441 100644
--- a/main/lua-lgob/APKBUILD
+++ b/main/lua-lgob/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-lgob
pkgver=10.11
-pkgrel=1
+pkgrel=2
pkgdesc="Set of Lua bindings that uses gobject-instrospection"
url="http://oproj.tuxfamily.org"
arch="x86 x86_64"
@@ -11,11 +11,24 @@ makedepends="lua-dev cairo-dev gtk+-dev pango-dev vte-dev gtkspell-dev
webkit-dev atk-dev gstreamer-dev gst-plugins-base-dev poppler-gtk-dev
gtksourceview-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.tuxfamily.org/oproj/lgob/lgob-$pkgver.tar.bz2"
+source="http://downloads.tuxfamily.org/oproj/lgob/lgob-$pkgver.tar.bz2
+ 0001-poppler-reflect-the-poppler_page_get_text-API-change.patch
+ "
# 'goocanvas', 'clutter', 'cluttergtk'
_mods="codegen common gobject loader cairo gdk gtk pango pangocairo vte webkit
atk gstreamer gtkspell gtksourceview poppler"
+_builddir="$srcdir"/lgob-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
build() {
cd "$srcdir"/lgob-$pkgver
}
@@ -32,4 +45,5 @@ package() {
cp -r examples "$pkgdir"/usr/share/doc/$pkgname/
}
-md5sums="020cd921b5119c142dc283a85b1d3253 lgob-10.11.tar.bz2"
+md5sums="020cd921b5119c142dc283a85b1d3253 lgob-10.11.tar.bz2
+4042ebd70fb247f6f8fc1bd17ca11ea3 0001-poppler-reflect-the-poppler_page_get_text-API-change.patch"