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

Jan Steffens heftig at archlinux.org
Fri Mar 30 15:08:53 EDT 2012


    Date: Friday, March 30, 2012 @ 15:08:52
  Author: heftig
Revision: 154822

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gnome-media/repos/gnome-unstable-i686/
  gnome-media/repos/gnome-unstable-i686/PKGBUILD
    (from rev 154821, gnome-media/trunk/PKGBUILD)
  gnome-media/repos/gnome-unstable-i686/gnome-media.install
    (from rev 154821, gnome-media/trunk/gnome-media.install)
  gnome-media/repos/gnome-unstable-x86_64/
  gnome-media/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 154821, gnome-media/trunk/PKGBUILD)
  gnome-media/repos/gnome-unstable-x86_64/gnome-media.install
    (from rev 154821, gnome-media/trunk/gnome-media.install)

-------------------------------------------+
 gnome-unstable-i686/PKGBUILD              |   38 ++++++++++++++++++++++++++++
 gnome-unstable-i686/gnome-media.install   |   22 ++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD            |   38 ++++++++++++++++++++++++++++
 gnome-unstable-x86_64/gnome-media.install |   22 ++++++++++++++++
 4 files changed, 120 insertions(+)

Copied: gnome-media/repos/gnome-unstable-i686/PKGBUILD (from rev 154821, gnome-media/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2012-03-30 19:08:52 UTC (rev 154822)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-media
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="GNOME Media Tools"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnome-media-profiles' 'libcanberra' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils')
+url="http://www.gnome.org"
+groups=('gnome-extra')
+options=('!libtool' '!emptydirs')
+install=gnome-media.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('a76fac286f24d3836137ddbaab66f05e19eb5fb83cca6e375dbef040765a1d1f')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/gnome-media \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+  
+  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgbase}.schemas" --domain gnome-media-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+
+  rm -rf "${pkgdir}/usr/share/sounds/"
+}

Copied: gnome-media/repos/gnome-unstable-i686/gnome-media.install (from rev 154821, gnome-media/trunk/gnome-media.install)
===================================================================
--- gnome-unstable-i686/gnome-media.install	                        (rev 0)
+++ gnome-unstable-i686/gnome-media.install	2012-03-30 19:08:52 UTC (rev 154822)
@@ -0,0 +1,22 @@
+pkgname=gnome-media
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}

Copied: gnome-media/repos/gnome-unstable-x86_64/PKGBUILD (from rev 154821, gnome-media/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2012-03-30 19:08:52 UTC (rev 154822)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-media
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="GNOME Media Tools"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnome-media-profiles' 'libcanberra' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils')
+url="http://www.gnome.org"
+groups=('gnome-extra')
+options=('!libtool' '!emptydirs')
+install=gnome-media.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('a76fac286f24d3836137ddbaab66f05e19eb5fb83cca6e375dbef040765a1d1f')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/gnome-media \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+  
+  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgbase}.schemas" --domain gnome-media-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+
+  rm -rf "${pkgdir}/usr/share/sounds/"
+}

Copied: gnome-media/repos/gnome-unstable-x86_64/gnome-media.install (from rev 154821, gnome-media/trunk/gnome-media.install)
===================================================================
--- gnome-unstable-x86_64/gnome-media.install	                        (rev 0)
+++ gnome-unstable-x86_64/gnome-media.install	2012-03-30 19:08:52 UTC (rev 154822)
@@ -0,0 +1,22 @@
+pkgname=gnome-media
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}



More information about the arch-commits mailing list