[arch-commits] Commit in gnome-color-manager/repos (6 files)
Jan de Groot
jgc at archlinux.org
Thu Sep 24 10:48:42 UTC 2015
Date: Thursday, September 24, 2015 @ 12:48:42
Author: jgc
Revision: 247238
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gnome-color-manager/repos/gnome-unstable-i686/
gnome-color-manager/repos/gnome-unstable-i686/PKGBUILD
(from rev 247237, gnome-color-manager/trunk/PKGBUILD)
gnome-color-manager/repos/gnome-unstable-i686/gnome-color-manager.install
(from rev 247237, gnome-color-manager/trunk/gnome-color-manager.install)
gnome-color-manager/repos/gnome-unstable-x86_64/
gnome-color-manager/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 247237, gnome-color-manager/trunk/PKGBUILD)
gnome-color-manager/repos/gnome-unstable-x86_64/gnome-color-manager.install
(from rev 247237, gnome-color-manager/trunk/gnome-color-manager.install)
---------------------------------------------------+
gnome-unstable-i686/PKGBUILD | 35 ++++++++++++++++++++
gnome-unstable-i686/gnome-color-manager.install | 19 ++++++++++
gnome-unstable-x86_64/PKGBUILD | 35 ++++++++++++++++++++
gnome-unstable-x86_64/gnome-color-manager.install | 19 ++++++++++
4 files changed, 108 insertions(+)
Copied: gnome-color-manager/repos/gnome-unstable-i686/PKGBUILD (from rev 247237, gnome-color-manager/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2015-09-24 10:48:42 UTC (rev 247238)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-color-manager
+pkgver=3.18.0
+pkgrel=1
+pkgdesc="Color profile manager for the GNOME desktop"
+arch=(i686 x86_64)
+url="http://projects.gnome.org/gnome-color-manager/"
+license=(GPL2)
+depends=(libcanberra vte3 exiv2 desktop-file-utils shared-color-targets colord-gtk libexif)
+makedepends=(intltool yelp-tools)
+optdepends=('argyllcms: color calibration')
+install=gnome-color-manager.install
+options=('!emptydirs')
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('83d06f3b76b89b6c56bd6e4f792e15c67b561682fa9d59b60cbf716f6130a435')
+
+build(){
+ cd $pkgname-$pkgver
+
+ # man pages need docbook-sgml, which we don't have
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/gnome-color-manager --disable-static --disable-man-pages
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnome-color-manager/repos/gnome-unstable-i686/gnome-color-manager.install (from rev 247237, gnome-color-manager/trunk/gnome-color-manager.install)
===================================================================
--- gnome-unstable-i686/gnome-color-manager.install (rev 0)
+++ gnome-unstable-i686/gnome-color-manager.install 2015-09-24 10:48:42 UTC (rev 247238)
@@ -0,0 +1,19 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.90.0) < 0 )); then
+ usr/sbin/gconfpkg --uninstall gnome-color-manager
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: gnome-color-manager/repos/gnome-unstable-x86_64/PKGBUILD (from rev 247237, gnome-color-manager/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2015-09-24 10:48:42 UTC (rev 247238)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-color-manager
+pkgver=3.18.0
+pkgrel=1
+pkgdesc="Color profile manager for the GNOME desktop"
+arch=(i686 x86_64)
+url="http://projects.gnome.org/gnome-color-manager/"
+license=(GPL2)
+depends=(libcanberra vte3 exiv2 desktop-file-utils shared-color-targets colord-gtk libexif)
+makedepends=(intltool yelp-tools)
+optdepends=('argyllcms: color calibration')
+install=gnome-color-manager.install
+options=('!emptydirs')
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('83d06f3b76b89b6c56bd6e4f792e15c67b561682fa9d59b60cbf716f6130a435')
+
+build(){
+ cd $pkgname-$pkgver
+
+ # man pages need docbook-sgml, which we don't have
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/gnome-color-manager --disable-static --disable-man-pages
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnome-color-manager/repos/gnome-unstable-x86_64/gnome-color-manager.install (from rev 247237, gnome-color-manager/trunk/gnome-color-manager.install)
===================================================================
--- gnome-unstable-x86_64/gnome-color-manager.install (rev 0)
+++ gnome-unstable-x86_64/gnome-color-manager.install 2015-09-24 10:48:42 UTC (rev 247238)
@@ -0,0 +1,19 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.90.0) < 0 )); then
+ usr/sbin/gconfpkg --uninstall gnome-color-manager
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list