summaryrefslogtreecommitdiffstats
path: root/main/xfce4-settings/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-04 10:47:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-04 10:47:42 +0000
commitb9458750cc49aec6e5c6b53630ed15d307ec8f76 (patch)
tree984361718307a8b045eb75661fda6637a03c8bd4 /main/xfce4-settings/APKBUILD
parente95180ba46174d61b8a5c96417b4418c7986ac30 (diff)
downloadaports-b9458750cc49aec6e5c6b53630ed15d307ec8f76.tar.bz2
aports-b9458750cc49aec6e5c6b53630ed15d307ec8f76.tar.xz
main/xfce4-setting: rebuild against libxklavier-5
Diffstat (limited to 'main/xfce4-settings/APKBUILD')
-rw-r--r--main/xfce4-settings/APKBUILD33
1 files changed, 26 insertions, 7 deletions
diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD
index 2d048cfac..ffc6ec035 100644
--- a/main/xfce4-settings/APKBUILD
+++ b/main/xfce4-settings/APKBUILD
@@ -1,21 +1,39 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-settings
pkgver=4.6.4
-pkgrel=0
+pkgrel=1
pkgdesc="Settings manager for xfce"
url="http://www.xfce.org/"
license="GPL-2"
depends=
makedepends="exo-dev libnotify-dev libxfcegui4-dev libxklavier-dev libwnck-dev
libglade-dev pkgconfig intltool gettext-dev libiconv-dev expat-dev
- libxi-dev libsm-dev e2fsprogs-dev libxkbfile-dev libxrandr-dev"
-source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+ libxi-dev libsm-dev e2fsprogs-dev libxkbfile-dev libxrandr-dev
+ autoconf automake libtool"
+source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ xfce4-settings-4.7.1-libxklavier.patch
+ "
-build() {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ for i in "$srcdir"/*.patch; do
+ [ -f "$i" ] || continue
+ msg "Applying ${i##*/}"
+ patch -p1 -i "$i" || return 1
+ done
+
+ # use tango as default icon set
sed -i -e 's/Rodent/Tango/g' xfsettingsd/xsettings.xml \
- dialogs/appearance-settings/main.c
+ dialogs/appearance-settings/main.c || return 1
+ msg "Regenerating configure script"
+ autoheader && autoconf || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -31,4 +49,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="04985407e8e5b916c44780314a177e96 xfce4-settings-4.6.4.tar.bz2"
+md5sums="04985407e8e5b916c44780314a177e96 xfce4-settings-4.6.4.tar.bz2
+9a03696ed6200801d296c8adf6816a06 xfce4-settings-4.7.1-libxklavier.patch"