Date: Wednesday, June 19, 2019 @ 01:43:04 Author: bgyorgy Revision: 482275
archrelease: copy trunk to community-x86_64 Added: gnome-applets/repos/community-x86_64/PKGBUILD (from rev 482274, gnome-applets/trunk/PKGBUILD) Deleted: gnome-applets/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 97 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 50 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-19 01:43:01 UTC (rev 482274) +++ PKGBUILD 2019-06-19 01:43:04 UTC (rev 482275) @@ -1,47 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Jan de Groot <j...@archlinux.org> - -pkgname=gnome-applets -pkgver=3.30.0 -pkgrel=3 -pkgdesc="Small applications for the GNOME Panel" -arch=('x86_64') -url="https://wiki.gnome.org/Projects/GnomeApplets" -license=('GPL') -depends=('dbus-glib' 'gnome-panel' 'libgtop' 'tracker' 'cpupower' 'upower') -makedepends=('autoconf-archive' 'git' 'gnome-settings-daemon' 'intltool' 'python' 'yelp-tools') -_commit=ac51b5ea297cf9239d718b4776e92ce4afc82470 # tags/3.30.0^0 -source=("git+https://gitlab.gnome.org/GNOME/gnome-applets.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgname - - # Use correct D-Bus config location - sed -i '/^dbus_confdir =/ s/sysconfdir/datadir/' cpufreq/src/cpufreq-selector/Makefile.am - - # Disable buggy applets - # https://gitlab.gnome.org/GNOME/gnome-applets/issues/6 - sed -i '/window-buttons/d - /window-title/d' Makefile.am - - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ - --disable-schemas-compile --enable-compile-warnings=minimum - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd $pkgname - make DESTDIR="$pkgdir" install -} Copied: gnome-applets/repos/community-x86_64/PKGBUILD (from rev 482274, gnome-applets/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-19 01:43:04 UTC (rev 482275) @@ -0,0 +1,50 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gnome-applets +pkgver=3.32.0 +pkgrel=1 +pkgdesc="Small applications for the GNOME Panel" +arch=('x86_64') +url="https://wiki.gnome.org/Projects/GnomeApplets" +license=('GPL') +depends=('dbus-glib' 'gnome-panel' 'libgtop' 'tracker' 'cpupower' 'upower') +makedepends=('autoconf-archive' 'git' 'gnome-settings-daemon' 'intltool' 'python' 'yelp-tools') +_commit=cbb0b5e93da5b63bfb93ce685c97cf56f21d9bcb # tags/3.32.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-applets.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + + # Fix build + git cherry-pick -n 61551aea549f6f9bda12f39d5ffbec3e1064aa5a + + # Use correct D-Bus config location + sed -i '/^dbus_confdir =/ s/sysconfdir/datadir/' cpufreq/src/cpufreq-selector/Makefile.am + + # Disable buggy applets + # https://gitlab.gnome.org/GNOME/gnome-applets/issues/6 + sed -i '/window-buttons/d + /window-title/d' Makefile.am + + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ + --disable-schemas-compile --enable-compile-warnings=minimum + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}