aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 06:52:06 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 06:52:06 -0600
commit2f510a7dbbf541911399bbbcf98909dc575322ba (patch)
tree851f9689955bd7a0001cd4463bef8fc1cd446e00 /main/orage
parent3982c762c9849887e0e7e4a93b594c46a5fe51c1 (diff)
downloadaports-2f510a7dbbf541911399bbbcf98909dc575322ba.tar.bz2
aports-2f510a7dbbf541911399bbbcf98909dc575322ba.tar.xz
main/orage: build fix
Diffstat (limited to 'main/orage')
-rw-r--r--main/orage/APKBUILD15
-rw-r--r--main/orage/libxfcegui4-linkfix.patch11
2 files changed, 22 insertions, 4 deletions
diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD
index b4b559b216..fbaeca982a 100644
--- a/main/orage/APKBUILD
+++ b/main/orage/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orage
pkgver=4.6.1
-pkgrel=2
+pkgrel=3
pkgdesc="A simple calendar application with reminders for Xfce"
url="http://www.xfce.org/projects/orage/"
arch="all"
@@ -9,9 +9,15 @@ license="GPL-2"
subpackages="$pkgname-doc"
depends="hicolor-icon-theme"
makedepends="pkgconfig xfce4-panel-dev libnotify-dev intltool gettext-dev
- libiconv-dev libsm-dev expat-dev e2fsprogs-dev"
+ libiconv-dev libsm-dev expat-dev e2fsprogs-dev libxfcegui4-dev autoconf automake"
install=
-source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2"
+source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2
+ libxfcegui4-linkfix.patch"
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 < "$srcdir"/libxfcegui4-linkfix.patch
+}
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -28,4 +34,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="24fa43dd86ec5af5a4766620fd972cf2 orage-4.6.1.tar.bz2"
+md5sums="24fa43dd86ec5af5a4766620fd972cf2 orage-4.6.1.tar.bz2
+bb77d7d317455b67121e90ce17000344 libxfcegui4-linkfix.patch"
diff --git a/main/orage/libxfcegui4-linkfix.patch b/main/orage/libxfcegui4-linkfix.patch
new file mode 100644
index 0000000000..999a0c0e7f
--- /dev/null
+++ b/main/orage/libxfcegui4-linkfix.patch
@@ -0,0 +1,11 @@
+--- orage-4.6.1.orig/panel-plugin/Makefile.in
++++ orage-4.6.1/panel-plugin/Makefile.in
+@@ -282,7 +282,7 @@
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\"\
+ @LIBXFCE4PANEL_CFLAGS@
+
+-orageclock_LDFLAGS = @LIBXFCE4PANEL_LIBS@ $(am__append_1)
++orageclock_LDFLAGS = @LIBXFCE4PANEL_LIBS@ @LIBXFCEGUI4_LIBS@ $(am__append_1)
+ orageclock_SOURCES = \
+ orageclock.c \
+ oc_config.c \