[arch-commits] Commit in mate-notification-daemon/repos (6 files)

Martin Wimpress flexiondotorg at archlinux.org
Sat May 9 11:52:24 UTC 2015


    Date: Saturday, May 9, 2015 @ 13:52:24
  Author: flexiondotorg
Revision: 133051

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 133050, mate-notification-daemon/trunk/PKGBUILD)
  mate-notification-daemon/repos/community-staging-i686/mate-notification-daemon.install
    (from rev 133050, mate-notification-daemon/trunk/mate-notification-daemon.install)
  mate-notification-daemon/repos/community-staging-x86_64/
  mate-notification-daemon/repos/community-staging-x86_64/PKGBUILD
    (from rev 133050, mate-notification-daemon/trunk/PKGBUILD)
  mate-notification-daemon/repos/community-staging-x86_64/mate-notification-daemon.install
    (from rev 133050, mate-notification-daemon/trunk/mate-notification-daemon.install)

-----------------------------------------------------------+
 community-staging-i686/PKGBUILD                           |   61 ++++++++++++
 community-staging-i686/mate-notification-daemon.install   |   12 ++
 community-staging-x86_64/PKGBUILD                         |   61 ++++++++++++
 community-staging-x86_64/mate-notification-daemon.install |   12 ++
 4 files changed, 146 insertions(+)

Copied: mate-notification-daemon/repos/community-staging-i686/PKGBUILD (from rev 133050, mate-notification-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-05-09 11:52:24 UTC (rev 133051)
@@ -0,0 +1,61 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+pkgbase=mate-notification-daemon
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+provides=('notification-daemon')
+pkgdesc="Notification daemon for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('dconf' 'dbus-glib' 'gtk2' 'gtk3' 'libcanberra' 'libwnck' 'libwnck3' 'libnotify')
+makedepends=('mate-common')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('44407390f6216fcea5e02615d8e2b57b2502f358')
+install=${pkgname}.install
+
+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 \
+        --disable-static
+    make
+
+    cd "${srcdir}/${pkgbase}-gtk3"
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${pkgbase} \
+        --with-gtk=3.0 \
+        --disable-static
+    make
+}
+
+package_mate-notification-daemon() {
+    pkgdesc+=' (GTK2 version)'
+    groups=('mate')
+    conflicts=("${pkgbase}-gtk3")
+    depends=('dconf' 'dbus-glib' 'gtk2' 'libcanberra' 'libwnck' 'libnotify')
+
+    cd "${srcdir}/${pkgbase}-gtk2"
+    make DESTDIR="${pkgdir}" install
+}
+
+package_mate-notification-daemon-gtk3() {
+    pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+    groups=('mate-gtk3')
+    conflicts=("${pkgbase}")
+    depends=('dconf' 'dbus-glib' 'gtk3' 'libcanberra' 'libwnck3' 'libnotify')
+
+    cd "${srcdir}/${pkgbase}-gtk3"
+    make DESTDIR="${pkgdir}" install
+}

Copied: mate-notification-daemon/repos/community-staging-i686/mate-notification-daemon.install (from rev 133050, mate-notification-daemon/trunk/mate-notification-daemon.install)
===================================================================
--- community-staging-i686/mate-notification-daemon.install	                        (rev 0)
+++ community-staging-i686/mate-notification-daemon.install	2015-05-09 11:52:24 UTC (rev 133051)
@@ -0,0 +1,12 @@
+post_install() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas/
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: mate-notification-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 133050, mate-notification-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-05-09 11:52:24 UTC (rev 133051)
@@ -0,0 +1,61 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+pkgbase=mate-notification-daemon
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+provides=('notification-daemon')
+pkgdesc="Notification daemon for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('dconf' 'dbus-glib' 'gtk2' 'gtk3' 'libcanberra' 'libwnck' 'libwnck3' 'libnotify')
+makedepends=('mate-common')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('44407390f6216fcea5e02615d8e2b57b2502f358')
+install=${pkgname}.install
+
+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 \
+        --disable-static
+    make
+
+    cd "${srcdir}/${pkgbase}-gtk3"
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${pkgbase} \
+        --with-gtk=3.0 \
+        --disable-static
+    make
+}
+
+package_mate-notification-daemon() {
+    pkgdesc+=' (GTK2 version)'
+    groups=('mate')
+    conflicts=("${pkgbase}-gtk3")
+    depends=('dconf' 'dbus-glib' 'gtk2' 'libcanberra' 'libwnck' 'libnotify')
+
+    cd "${srcdir}/${pkgbase}-gtk2"
+    make DESTDIR="${pkgdir}" install
+}
+
+package_mate-notification-daemon-gtk3() {
+    pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+    groups=('mate-gtk3')
+    conflicts=("${pkgbase}")
+    depends=('dconf' 'dbus-glib' 'gtk3' 'libcanberra' 'libwnck3' 'libnotify')
+
+    cd "${srcdir}/${pkgbase}-gtk3"
+    make DESTDIR="${pkgdir}" install
+}

Copied: mate-notification-daemon/repos/community-staging-x86_64/mate-notification-daemon.install (from rev 133050, mate-notification-daemon/trunk/mate-notification-daemon.install)
===================================================================
--- community-staging-x86_64/mate-notification-daemon.install	                        (rev 0)
+++ community-staging-x86_64/mate-notification-daemon.install	2015-05-09 11:52:24 UTC (rev 133051)
@@ -0,0 +1,12 @@
+post_install() {
+    glib-compile-schemas /usr/share/glib-2.0/schemas/
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list