aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-02 06:55:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-02 06:55:42 +0000
commite9e3d94f2d54acac8b543ab49650fe28f4baf59a (patch)
tree9907a5fe4ff1b64e872a3cb3dee4a80958c084a6 /main/gdl
parenteafdddd421dd4c01a66b9403b0e5fbd2a00b96fa (diff)
downloadaports-e9e3d94f2d54acac8b543ab49650fe28f4baf59a.tar.bz2
aports-e9e3d94f2d54acac8b543ab49650fe28f4baf59a.tar.xz
main/gdl: upgrade to 3.12.0
Diffstat (limited to 'main/gdl')
-rw-r--r--main/gdl/APKBUILD24
-rw-r--r--main/gdl/localedir.patch11
2 files changed, 28 insertions, 7 deletions
diff --git a/main/gdl/APKBUILD b/main/gdl/APKBUILD
index 19e2f6796e..1e2c7be5f0 100644
--- a/main/gdl/APKBUILD
+++ b/main/gdl/APKBUILD
@@ -1,23 +1,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdl
-pkgver=2.30.1
-pkgrel=5
+pkgver=3.12.0
+pkgrel=0
pkgdesc="Gnome Devtool Libraries"
url="http://www.gnome.org/"
arch="all"
license="GPL"
-makedepends="gtk+-dev libxml2-dev intltool"
+makedepends="gtk+3.0-dev libxml2-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ localedir.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
-build() {
+build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
@@ -35,4 +40,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="4af16be490b47ce4e828a2fb93633856 gdl-2.30.1.tar.bz2"
+md5sums="e36701e5f0f2eeac2504375fe46aa478 gdl-3.12.0.tar.xz
+0d9a3666263a57c43574b89b638a6503 localedir.patch"
+sha256sums="4770f959f31ed5e616fe623c284e8dd6136e49902d19b6e37938d34be4f6b88d gdl-3.12.0.tar.xz
+05bfe0446d29ae7dd443600a58d172d1bb4f3d1d24886e785dfcc108c2d0e8ce localedir.patch"
+sha512sums="caa7c942ebfaeadce112110e74bb7117f0c0fe17a9d0d2bc19330bd413223bafe2b824e0e3c6caa2263a7f2e832e1c2d5b84eeaf2e9cfed99ce3ab8e9f10837e gdl-3.12.0.tar.xz
+4e1138f1ec2e4f2d1eb85df653542195aa9caf512c759c54f6b275750a819d9684f590e0c8c01203050c1b3901f57ac6e113649f05ddc09b4d782307fd4e58d6 localedir.patch"
diff --git a/main/gdl/localedir.patch b/main/gdl/localedir.patch
new file mode 100644
index 0000000000..99f4462f73
--- /dev/null
+++ b/main/gdl/localedir.patch
@@ -0,0 +1,11 @@
+--- ./po/Makefile.in.in.orig 2013-03-11 13:44:04.448962814 +0000
++++ ./po/Makefile.in.in 2013-03-11 13:45:46.526579564 +0000
+@@ -34,7 +34,7 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = $(datadir)/locale
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.