Date: Saturday, August 6, 2016 @ 20:40:25 Author: bgyorgy Revision: 185703
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: mate-notification-daemon/repos/community-staging-i686/ mate-notification-daemon/repos/community-staging-i686/PKGBUILD (from rev 185702, mate-notification-daemon/trunk/PKGBUILD) mate-notification-daemon/repos/community-staging-x86_64/ mate-notification-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 185702, mate-notification-daemon/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) Copied: mate-notification-daemon/repos/community-staging-i686/PKGBUILD (from rev 185702, mate-notification-daemon/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-08-06 20:40:25 UTC (rev 185703) @@ -0,0 +1,66 @@ +# Contributor: Martin Wimpress <c...@flexion.org> + +_ver=1.14 +pkgbase=mate-notification-daemon +pkgname=(${pkgbase} ${pkgbase}-gtk3) +pkgver=${_ver}.1 +pkgrel=1 +provides=('notification-daemon') +pkgdesc="Notification daemon for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'libcanberra' 'libwnck' 'libwnck3' 'libnotify') +makedepends=('intltool') +source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('10e863c16112b45935d6d5e6e003088df43f87ab') + +prepare() { + cd "${srcdir}" + mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2" + cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3" +} + +build() { + cd "${srcdir}/${pkgbase}-gtk2" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --with-gtk=2.0 + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + cd "${srcdir}/${pkgbase}-gtk3" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --with-gtk=3.0 + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package_mate-notification-daemon() { + pkgdesc+=' (GTK2 version)' + groups=('mate') + conflicts=("${pkgbase}-gtk3") + depends=('dconf' 'dbus-glib' 'libcanberra' 'libwnck' 'libnotify') + + cd "${srcdir}/${pkgbase}-gtk2" + make DESTDIR="${pkgdir}" install +} + +package_mate-notification-daemon-gtk3() { + pkgdesc+=' (GTK3 version)' + groups=('mate-gtk3') + conflicts=("${pkgbase}") + depends=('dbus-glib' 'libcanberra' 'libwnck3' 'libnotify') + + cd "${srcdir}/${pkgbase}-gtk3" + make DESTDIR="${pkgdir}" install +} Copied: mate-notification-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 185702, mate-notification-daemon/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-08-06 20:40:25 UTC (rev 185703) @@ -0,0 +1,66 @@ +# Contributor: Martin Wimpress <c...@flexion.org> + +_ver=1.14 +pkgbase=mate-notification-daemon +pkgname=(${pkgbase} ${pkgbase}-gtk3) +pkgver=${_ver}.1 +pkgrel=1 +provides=('notification-daemon') +pkgdesc="Notification daemon for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'libcanberra' 'libwnck' 'libwnck3' 'libnotify') +makedepends=('intltool') +source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('10e863c16112b45935d6d5e6e003088df43f87ab') + +prepare() { + cd "${srcdir}" + mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2" + cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3" +} + +build() { + cd "${srcdir}/${pkgbase}-gtk2" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --with-gtk=2.0 + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make + + cd "${srcdir}/${pkgbase}-gtk3" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --with-gtk=3.0 + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package_mate-notification-daemon() { + pkgdesc+=' (GTK2 version)' + groups=('mate') + conflicts=("${pkgbase}-gtk3") + depends=('dconf' 'dbus-glib' 'libcanberra' 'libwnck' 'libnotify') + + cd "${srcdir}/${pkgbase}-gtk2" + make DESTDIR="${pkgdir}" install +} + +package_mate-notification-daemon-gtk3() { + pkgdesc+=' (GTK3 version)' + groups=('mate-gtk3') + conflicts=("${pkgbase}") + depends=('dbus-glib' 'libcanberra' 'libwnck3' 'libnotify') + + cd "${srcdir}/${pkgbase}-gtk3" + make DESTDIR="${pkgdir}" install +}