[arch-commits] Commit in lxpanel-gtk3/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:31:44 UTC 2018


    Date: Friday, November 9, 2018 @ 21:31:44
  Author: felixonmars
Revision: 404664

archrelease: copy trunk to community-staging-x86_64

Added:
  lxpanel-gtk3/repos/community-staging-x86_64/
  lxpanel-gtk3/repos/community-staging-x86_64/PKGBUILD
    (from rev 404662, lxpanel-gtk3/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: lxpanel-gtk3/repos/community-staging-x86_64/PKGBUILD (from rev 404662, lxpanel-gtk3/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 21:31:44 UTC (rev 404664)
@@ -0,0 +1,49 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=lxpanel-gtk3
+_pkgname=lxpanel
+pkgver=0.9.3
+pkgrel=2
+pkgdesc='Lightweight X11 desktop panel for LXDE (GTK+ 3 version)'
+arch=('x86_64')
+license=('GPL2')
+url='https://lxde.org/'
+groups=('lxde-gtk3')
+depends=('alsa-lib' '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)
+sha256sums=('342cfa205f255acf69c76ba0ca6c77c890f3955a879b755931c80ffae4d98fb1')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # 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
+}



More information about the arch-commits mailing list