[arch-commits] Commit in mate-desktop/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Sep 24 12:47:06 UTC 2016
Date: Saturday, September 24, 2016 @ 12:47:05
Author: arojas
Revision: 190259
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mate-desktop/repos/community-staging-i686/
mate-desktop/repos/community-staging-i686/PKGBUILD
(from rev 190258, mate-desktop/trunk/PKGBUILD)
mate-desktop/repos/community-staging-x86_64/
mate-desktop/repos/community-staging-x86_64/PKGBUILD
(from rev 190258, mate-desktop/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 65 ++++++++++++++++++++++++++++++++++++
2 files changed, 130 insertions(+)
Copied: mate-desktop/repos/community-staging-i686/PKGBUILD (from rev 190258, mate-desktop/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-09-24 12:47:05 UTC (rev 190259)
@@ -0,0 +1,65 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.16
+pkgbase=mate-desktop
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Library with common API for various MATE modules"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('gtk2' 'gtk3' 'startup-notification')
+makedepends=('gobject-introspection' 'intltool')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('624d2e7af6416cb81d1d0946ab66bbb34fc7d150')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --with-gtk=2.0 \
+ --disable-schemas-compile
+
+ #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 \
+ --with-gtk=3.0 \
+ --disable-schemas-compile
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package_mate-desktop() {
+ pkgdesc+=' (GTK2 version)'
+ groups=('mate')
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'startup-notification')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_mate-desktop-gtk3() {
+ pkgdesc+=' (GTK3 version)'
+ groups=('mate-gtk3')
+ conflicts=("${pkgbase}")
+ depends=('gtk3' 'startup-notification')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-desktop/repos/community-staging-x86_64/PKGBUILD (from rev 190258, mate-desktop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-09-24 12:47:05 UTC (rev 190259)
@@ -0,0 +1,65 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.16
+pkgbase=mate-desktop
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Library with common API for various MATE modules"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('gtk2' 'gtk3' 'startup-notification')
+makedepends=('gobject-introspection' 'intltool')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('624d2e7af6416cb81d1d0946ab66bbb34fc7d150')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --with-gtk=2.0 \
+ --disable-schemas-compile
+
+ #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 \
+ --with-gtk=3.0 \
+ --disable-schemas-compile
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package_mate-desktop() {
+ pkgdesc+=' (GTK2 version)'
+ groups=('mate')
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'startup-notification')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_mate-desktop-gtk3() {
+ pkgdesc+=' (GTK3 version)'
+ groups=('mate-gtk3')
+ conflicts=("${pkgbase}")
+ depends=('gtk3' 'startup-notification')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list