aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD62
1 files changed, 35 insertions, 27 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9766b495e0d3..20692e8b6c1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@
pkgname=openbox-debian
_pkgname=openbox
pkgver=3.6.1
-pkgrel=2
+pkgrel=3
pkgdesc='Openbox with Patches from Debian.'
arch=('i686' 'x86_64')
url='http://openbox.org'
@@ -20,55 +20,63 @@ license=('GPL')
provides=('libobrender.so' $_pkgname 'openbox')
conflicts=($_pkgname)
depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr'
- 'libxcursor' 'pango' 'imlib2' 'librsvg' 'libsm')
+ 'libxcursor' 'pango' 'imlib2' 'librsvg' 'libsm' 'libxi')
optdepends=('gnome-panel: for the openbox gnome session '
'plasma-workspace: for the KDE/Openbox xsession'
'python-xdg: for the openbox-xdg-autostart script')
-makedepends=('automake-1.11' 'docbook-to-man')
+makedepends=('automake' 'docbook-to-man' 'python-xdg')
+optdepends=('plasma-workspace: for the KDE/Openbox xsession'
+ 'python-xdg: for the openbox-xdg-autostart script')
groups=('lxde' 'lxde-gtk3' 'lxqt')
backup=('etc/xdg/openbox/menu.xml'
'etc/xdg/openbox/rc.xml'
'etc/xdg/openbox/autostart'
'etc/xdg/openbox/environment')
source=("http://openbox.org/dist/openbox/${_pkgname}-${pkgver}.tar.gz"
- "http://http.debian.net/debian/pool/main/o/openbox/openbox_3.6.1-9.debian.tar.xz")
-md5sums=('b72794996c6a3ad94634727b95f9d204'
- 'c3d0b24f7a5cd615b1d951cb0031c60c')
+ "http://http.debian.net/debian/pool/main/o/openbox/openbox_3.6.1-10.debian.tar.xz")
+sha256sums=('8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7'
+ '897cd12faf2c5a0c3b9b0db675b04bc1de084ca189b7797afac9ed50998c7ce4')
prepare() {
cd "${_pkgname}-${pkgver}"
-
+
local patches=(
- 01_rc.xml.patch
- 02_fix_freedesktop_compliance.patch
- 04_fix_xml_load_file.patch
- 05_openbox-3.5.0-title-matching.patch
- 06_openbox-3.5.0-which-2.20.patch
- 07_update_desktop.patch
- 08_autostart-fix.patch
- 704724_fix_refers-to-autostart.sh.patch
- 719620_fix_show_startup_notification.patch
- 754207_use-scrot.patch
- 808138_Replace-getgrent-with-getgroups.patch
- d9a405e9.patch
- fix-spelling-error-in-binary.patch
- adapt-to-gsd-324.patch
- 843231.patch
- 09-disable-check-gnome-version.patch
- 887908.patch
- 917204_undecorated_maximized_no_border.patch
- python3.patch
+ 01_rc.xml.patch
+ 02_fix_freedesktop_compliance.patch
+ 04_fix_xml_load_file.patch
+ 05_openbox-3.5.0-title-matching.patch
+ 06_openbox-3.5.0-which-2.20.patch
+ 07_update_desktop.patch
+ 08_autostart-fix.patch
+ 704724_fix_refers-to-autostart.sh.patch
+ 719620_fix_show_startup_notification.patch
+ 754207_use-scrot.patch
+ 808138_Replace-getgrent-with-getgroups.patch
+ d9a405e9.patch
+ fix-spelling-error-in-binary.patch
+ adapt-to-gsd-324.patch
+ 843231.patch
+ 09-disable-check-gnome-version.patch
+ 887908.patch
+ 917204_undecorated_maximized_no_border.patch
+ python3.patch
+ Allow-256x256-window-icon-size-for-HiDPI-displays.patch
+ Add-class-hint-to-focus-cycle-popup.patch
+ Fix-collision-between-iterator-and-throw-away-argume.patch
+ 974180.patch
+
)
for i in "${patches[@]}"; do
msg "Applying ${i} ..."
patch -p1 -i "../debian/patches/${i}"
done
+
+ autoreconf -ifv
}
build() {
cd "${_pkgname}-${pkgver}"
-
./configure \
--prefix=/usr \
--with-x \