summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2019-05-05 18:22:46 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2019-05-06 10:55:03 -0400
commitd19ca31caf0bdfd0681b70298197d0bf52d5a60c (patch)
tree322d70f2b0ed38a5516ba2891054d0df57b547bc /~lukeshu
parent9ee0502db4f158adda7eafe9ba8f0e8eaad838a3 (diff)
downloadabslibre-d19ca31caf0bdfd0681b70298197d0bf52d5a60c.tar.gz
abslibre-d19ca31caf0bdfd0681b70298197d0bf52d5a60c.tar.bz2
abslibre-d19ca31caf0bdfd0681b70298197d0bf52d5a60c.zip
~lukeshu/lxpanel-gtk3-hidpi: Add
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/lxpanel-gtk3-hidpi/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/~lukeshu/lxpanel-gtk3-hidpi/PKGBUILD b/~lukeshu/lxpanel-gtk3-hidpi/PKGBUILD
new file mode 100644
index 000000000..20d489d6e
--- /dev/null
+++ b/~lukeshu/lxpanel-gtk3-hidpi/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+# Maintainer (Arch:lxpanel-gtk3): Balló György <ballogyor+arch at gmail dot com>
+# Contributor (Arch:lxpanel-gtk3): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor (Arch:lxpanel-gtk3): Angel Velasquez <angvp@archlinux.org>
+# Contributor (Arch:lxpanel-gtk3): Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=lxpanel-gtk3
+pkgname+='-hidpi'
+_pkgname=lxpanel
+pkgver=0.10.0
+pkgrel=1
+pkgdesc='Lightweight X11 desktop panel for LXDE (GTK+ 3 version)'
+arch=('x86_64')
+arch+=('i686' 'armv7h')
+license=('GPL2')
+url='https://lxde.org/'
+groups=('lxde-gtk3')
+depends=('alsa-lib' 'curl' 'menu-cache' 'lxmenu-data' 'libfm-gtk3' 'libkeybinder3')
+makedepends=('intltool' 'docbook-xml' 'docbook-xsl' 'wireless_tools')
+optdepends=('wireless_tools: netstat plugin')
+conflicts=($_pkgname)
+source=(https://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz
+ https://sourceforge.net/p/lxde/patches/_discuss/thread/0743e70d92/d1bb/attachment/0002-Support-HiDPI-on-GTK-3.patch)
+sha256sums=('4678cc8c5f1962376005ebf71ec1ee810115ac2e0e565f8d2e67dc12d01a3a7e'
+ 'f847fd8d6a2e9616f519e1941740d33382d67d5db71c42e06c042eb242c90bc2')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ patch -p1 -i ../0002-Support-HiDPI-on-GTK-3.patch
+
+ # Disable pager plugin as it breaks panel layout with GTK+ 3
+ # https://sourceforge.net/p/lxde/bugs/773/
+ sed -i '/pager.c/d' plugins/Makefile.am
+ sed -i '/STATIC_PAGER/d' src/private.h
+ sed -i 's/libwnck-3.0//' configure.ac
+ autoreconf -fi
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure \
+ --sysconfdir=/etc \
+ --prefix=/usr \
+ --enable-gtk3
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}