aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-13 13:42:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-13 13:43:11 +0000
commitc1f86d8dd695eb6c910c85363f33a720c1d5fdbc (patch)
treee38811459a9c0821f83f5c24907c0acb2033c741
parent942a7e4b7e0013c0bc2ca9f6477f2614bf930133 (diff)
downloadaports-c1f86d8dd695eb6c910c85363f33a720c1d5fdbc.tar.bz2
aports-c1f86d8dd695eb6c910c85363f33a720c1d5fdbc.tar.xz
main/gpicview: upgrade to 0.2.3
-rw-r--r--main/gpicview/APKBUILD15
-rw-r--r--main/gpicview/libm-underlinking.patch25
2 files changed, 6 insertions, 34 deletions
diff --git a/main/gpicview/APKBUILD b/main/gpicview/APKBUILD
index ff42327193..5fb32d2bf4 100644
--- a/main/gpicview/APKBUILD
+++ b/main/gpicview/APKBUILD
@@ -1,17 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gpicview
-pkgver=0.2.2
-pkgrel=2
+pkgver=0.2.3
+pkgrel=0
pkgdesc="Picture viewer of the LXDE Desktop"
url="http://wiki.lxde.org/en/GPicView"
arch="all"
license="GPL-2"
depends=
subpackages="$pkgname-lang"
-makedepends="gtk+-dev intltool jpeg-dev autoconf automake libtool"
-source="http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz
- libm-underlinking.patch"
-
+makedepends="gtk+-dev intltool jpeg-dev"
+source="http://ftp.de.debian.org/debian/pool/main/g/$pkgname/${pkgname}_${pkgver}.orig.tar.xz
+"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
for i in $source; do
@@ -19,7 +18,6 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- libtoolize --force && aclocal && autoconf && automake
}
build() {
@@ -32,5 +30,4 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="943da9f4a23541accd5acdd4fb69966f gpicview-0.2.2.tar.gz
-99fb803a293c88a37b606136f6a5c6ca libm-underlinking.patch"
+md5sums="0f1275b5b0ca66e48963a7ccda8a5019 gpicview_0.2.3.orig.tar.xz"
diff --git a/main/gpicview/libm-underlinking.patch b/main/gpicview/libm-underlinking.patch
deleted file mode 100644
index a73e0705e8..0000000000
--- a/main/gpicview/libm-underlinking.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 38cc56d08d243c886526d16bad3ee0b6571d6914 Mon Sep 17 00:00:00 2001
-From: Andrea Florio <andrea@opensuse.org>
-Date: Sun, 18 Sep 2011 08:49:36 +0200
-Subject: [PATCH] fixed link with latest ld
-
----
- src/Makefile.am | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 4a750c5..0e2f058 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -27,7 +27,7 @@ gpicview_SOURCES = \
-
- # the library search path.
- # use -nodefaultlibs to prevent linking libstdc++
--gpicview_LDADD = $(X11_LIBS) $(GTK_LIBS)
-+gpicview_LDADD = $(X11_LIBS) $(GTK_LIBS) -lm
-
- noinst_HEADERS = \
- glib-mem.h \
---
-1.7.4.1
-