[arch-commits] Commit in gnome-color-manager/repos (6 files)

Jan Steffens heftig at archlinux.org
Thu Jan 26 09:42:51 UTC 2012


    Date: Thursday, January 26, 2012 @ 04:42:51
  Author: heftig
Revision: 147672

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  gnome-color-manager/repos/staging-i686/
  gnome-color-manager/repos/staging-i686/PKGBUILD
    (from rev 147671, gnome-color-manager/trunk/PKGBUILD)
  gnome-color-manager/repos/staging-i686/gnome-color-manager.install
    (from rev 147671, gnome-color-manager/trunk/gnome-color-manager.install)
  gnome-color-manager/repos/staging-x86_64/
  gnome-color-manager/repos/staging-x86_64/PKGBUILD
    (from rev 147671, gnome-color-manager/trunk/PKGBUILD)
  gnome-color-manager/repos/staging-x86_64/gnome-color-manager.install
    (from rev 147671, gnome-color-manager/trunk/gnome-color-manager.install)

--------------------------------------------+
 staging-i686/PKGBUILD                      |   36 +++++++++++++++++++++++++++
 staging-i686/gnome-color-manager.install   |   19 ++++++++++++++
 staging-x86_64/PKGBUILD                    |   36 +++++++++++++++++++++++++++
 staging-x86_64/gnome-color-manager.install |   19 ++++++++++++++
 4 files changed, 110 insertions(+)

Copied: gnome-color-manager/repos/staging-i686/PKGBUILD (from rev 147671, gnome-color-manager/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-01-26 09:42:51 UTC (rev 147672)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-color-manager
+pkgver=3.2.2
+pkgrel=2
+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' 'hicolor-icon-theme' 'desktop-file-utils' 'clutter-gtk' 'mash' 'shared-color-profiles' 'shared-color-targets')
+makedepends=('intltool' 'gtk-doc')
+install=gnome-color-manager.install
+options=('!libtool' '!emptydirs')
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4898fe8c29761d8dc0859c4a3a1bf725d3b80d552caab1225202f6030a118d9a')
+
+build(){
+  cd "$srcdir/$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 "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gnome-color-manager/repos/staging-i686/gnome-color-manager.install (from rev 147671, gnome-color-manager/trunk/gnome-color-manager.install)
===================================================================
--- staging-i686/gnome-color-manager.install	                        (rev 0)
+++ staging-i686/gnome-color-manager.install	2012-01-26 09:42:51 UTC (rev 147672)
@@ -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/staging-x86_64/PKGBUILD (from rev 147671, gnome-color-manager/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-01-26 09:42:51 UTC (rev 147672)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-color-manager
+pkgver=3.2.2
+pkgrel=2
+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' 'hicolor-icon-theme' 'desktop-file-utils' 'clutter-gtk' 'mash' 'shared-color-profiles' 'shared-color-targets')
+makedepends=('intltool' 'gtk-doc')
+install=gnome-color-manager.install
+options=('!libtool' '!emptydirs')
+groups=('gnome-extra')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('4898fe8c29761d8dc0859c4a3a1bf725d3b80d552caab1225202f6030a118d9a')
+
+build(){
+  cd "$srcdir/$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 "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: gnome-color-manager/repos/staging-x86_64/gnome-color-manager.install (from rev 147671, gnome-color-manager/trunk/gnome-color-manager.install)
===================================================================
--- staging-x86_64/gnome-color-manager.install	                        (rev 0)
+++ staging-x86_64/gnome-color-manager.install	2012-01-26 09:42:51 UTC (rev 147672)
@@ -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