# Maintainer: Michael Kogan # Contributor: Charles Bos # Contributor: Evangelos Foutras # Contributor: tobias pkgname=xfce4-panel-compiz _realname=xfce4-panel pkgver=4.14.3 pkgrel=1 pkgdesc="Panel for the Xfce desktop environment with fixes for Compiz" arch=('i686' 'x86_64') url="http://www.xfce.org/" license=('GPL2') groups=('xfce4') depends=('exo' 'garcon' 'libxfce4ui' 'libwnck' 'hicolor-icon-theme' 'desktop-file-utils' 'libwnck3') makedepends=('intltool' 'gtk-doc' 'xfce4-dev-tools') provides=("$_realname=$pkgver") conflicts=("$_realname") source=(http://archive.xfce.org/src/xfce/$_realname/${pkgver%.*}/$_realname-$pkgver.tar.bz2 button-visibility.patch fix-scrolling.patch fix-scrolling2.patch fix-scrolling3.patch pager-dimensions.patch wrap-workspaces.patch) sha256sums=('ef22324d26e5af735134bb10f85b6e16525ac9f48be8d2f6b634142fbfcabbc9' '556f7ecc22fdf024101d2e8a0416b953efaef48ff4ed649aab97d5b115a94931' '023fbeb4caa99dc97d460040f3d507794f3f576dc6cde98d834ba8a8e581f5ee' '2bbcace9c0c25c14fc1180a1064329240867a0b83c1c668aadc8c77f92ee0aab' '5e17300981a6030a2a3d4172b897e7aea0037401c8c9866cc03d82e0629c7fe2' '7055df37c000731057af828ef99ffb7193a18b3f2ab7dee541d79de029995cae' '063f11ddbf695d0f7b819209245e201c8d7420cbf94a6c557593deb2aa061f82') prepare() { cd "$srcdir/$_realname-$pkgver" # See https://bugzilla.xfce.org/show_bug.cgi?id=10908 echo "Applying button-visibility.patch:" #patch -p1 -i "$srcdir/button-visibility.patch" # See https://git.xfce.org/xfce/xfce4-panel/commit/?id=55dc7b400feef0c35fda3e8d3515dada2ced29c4 echo "Applying fix-scrolling.patch:" #patch -p1 -i "$srcdir/fix-scrolling.patch" # See https://bugzilla.xfce.org/show_bug.cgi?id=3361#c28 echo "Applying fix-scrolling2.patch:" patch -p1 -i "$srcdir/fix-scrolling2.patch" # See https://bugzilla.xfce.org/show_bug.cgi?id=3361#c32 echo "Applying fix-scrolling3.patch:" patch -p1 -i "$srcdir/fix-scrolling3.patch" # See https://bugzilla.xfce.org/show_bug.cgi?id=3361#c30 echo "Applying wrap-workspaces.patch:" patch -p1 -i "$srcdir/wrap-workspaces.patch" # See https://bugzilla.xfce.org/show_bug.cgi?id=11697 echo "Applying pager-dimensions.patch:" patch -p1 -i "$srcdir/pager-dimensions.patch" } build() { cd "$srcdir/$_realname-$pkgver" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --enable-gio-unix \ --enable-gtk-doc \ --enable-gtk3 \ --disable-debug make } package() { cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install }