[arch-commits] Commit in libmateweather/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Sep 24 12:24:42 UTC 2016
Date: Saturday, September 24, 2016 @ 12:24:41
Author: arojas
Revision: 190247
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libmateweather/repos/community-staging-i686/
libmateweather/repos/community-staging-i686/PKGBUILD
(from rev 190246, libmateweather/trunk/PKGBUILD)
libmateweather/repos/community-staging-x86_64/
libmateweather/repos/community-staging-x86_64/PKGBUILD
(from rev 190246, libmateweather/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
Copied: libmateweather/repos/community-staging-i686/PKGBUILD (from rev 190246, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-09-24 12:24:41 UTC (rev 190247)
@@ -0,0 +1,69 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.16
+pkgbase=libmateweather
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the Internet."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('gtk2' 'gtk3')
+makedepends=('intltool')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('db775a80ec76ea0f8f9277a4b2011471eabaee65')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=2.0 \
+ --disable-python \
+ --enable-locations-compression
+
+ #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 \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=3.0 \
+ --disable-python \
+ --enable-locations-compression
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package_libmateweather() {
+ pkgdesc+=' (GTK2 version)'
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmateweather-gtk3() {
+ pkgdesc+=' (GTK3 version)'
+ conflicts=("${pkgbase}")
+ depends=('gtk3')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmateweather/repos/community-staging-x86_64/PKGBUILD (from rev 190246, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-09-24 12:24:41 UTC (rev 190247)
@@ -0,0 +1,69 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+
+_ver=1.16
+pkgbase=libmateweather
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the Internet."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('gtk2' 'gtk3')
+makedepends=('intltool')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('db775a80ec76ea0f8f9277a4b2011471eabaee65')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=2.0 \
+ --disable-python \
+ --enable-locations-compression
+
+ #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 \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=3.0 \
+ --disable-python \
+ --enable-locations-compression
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package_libmateweather() {
+ pkgdesc+=' (GTK2 version)'
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmateweather-gtk3() {
+ pkgdesc+=' (GTK3 version)'
+ conflicts=("${pkgbase}")
+ depends=('gtk3')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list