[arch-commits] Commit in sound-juicer/repos (6 files)

Jan de Groot jgc at archlinux.org
Thu Sep 18 21:37:25 UTC 2014


    Date: Thursday, September 18, 2014 @ 23:37:24
  Author: jgc
Revision: 222074

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

Added:
  sound-juicer/repos/gnome-unstable-i686/
  sound-juicer/repos/gnome-unstable-i686/PKGBUILD
    (from rev 222073, sound-juicer/trunk/PKGBUILD)
  sound-juicer/repos/gnome-unstable-i686/sound-juicer.install
    (from rev 222073, sound-juicer/trunk/sound-juicer.install)
  sound-juicer/repos/gnome-unstable-x86_64/
  sound-juicer/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 222073, sound-juicer/trunk/PKGBUILD)
  sound-juicer/repos/gnome-unstable-x86_64/sound-juicer.install
    (from rev 222073, sound-juicer/trunk/sound-juicer.install)

--------------------------------------------+
 gnome-unstable-i686/PKGBUILD               |   35 +++++++++++++++++++++++++++
 gnome-unstable-i686/sound-juicer.install   |   18 +++++++++++++
 gnome-unstable-x86_64/PKGBUILD             |   35 +++++++++++++++++++++++++++
 gnome-unstable-x86_64/sound-juicer.install |   18 +++++++++++++
 4 files changed, 106 insertions(+)

Copied: sound-juicer/repos/gnome-unstable-i686/PKGBUILD (from rev 222073, sound-juicer/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2014-09-18 21:37:24 UTC (rev 222074)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ben <contrasutra at myrealbox.com>
+
+pkgname=sound-juicer
+pkgver=3.13.92
+pkgrel=1
+pkgdesc="A cd ripper application"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero hicolor-icon-theme iso-codes)
+makedepends=(intltool itstool)
+options=(!emptydirs)
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+install=sound-juicer.install
+sha256sums=('358c5605f664b52a5f046e5c136c42dda5757bdf387d269db1fb00db4a84204c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+  # drop unneeded direct library deps with --as-needed
+  # libtool doesn't make this easy, so we do it the hard way
+  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: sound-juicer/repos/gnome-unstable-i686/sound-juicer.install (from rev 222073, sound-juicer/trunk/sound-juicer.install)
===================================================================
--- gnome-unstable-i686/sound-juicer.install	                        (rev 0)
+++ gnome-unstable-i686/sound-juicer.install	2014-09-18 21:37:24 UTC (rev 222074)
@@ -0,0 +1,18 @@
+post_install() {
+  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() {
+  (( $(vercmp $2 3.12.0) < 0 )) && gconfpkg --uninstall sound-juicer
+  return 0
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: sound-juicer/repos/gnome-unstable-x86_64/PKGBUILD (from rev 222073, sound-juicer/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2014-09-18 21:37:24 UTC (rev 222074)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Ben <contrasutra at myrealbox.com>
+
+pkgname=sound-juicer
+pkgver=3.13.92
+pkgrel=1
+pkgdesc="A cd ripper application"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero hicolor-icon-theme iso-codes)
+makedepends=(intltool itstool)
+options=(!emptydirs)
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+install=sound-juicer.install
+sha256sums=('358c5605f664b52a5f046e5c136c42dda5757bdf387d269db1fb00db4a84204c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+  # drop unneeded direct library deps with --as-needed
+  # libtool doesn't make this easy, so we do it the hard way
+  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: sound-juicer/repos/gnome-unstable-x86_64/sound-juicer.install (from rev 222073, sound-juicer/trunk/sound-juicer.install)
===================================================================
--- gnome-unstable-x86_64/sound-juicer.install	                        (rev 0)
+++ gnome-unstable-x86_64/sound-juicer.install	2014-09-18 21:37:24 UTC (rev 222074)
@@ -0,0 +1,18 @@
+post_install() {
+  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() {
+  (( $(vercmp $2 3.12.0) < 0 )) && gconfpkg --uninstall sound-juicer
+  return 0
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list