Date: Friday, November 21, 2014 @ 14:11:55 Author: andrea Revision: 226785
archrelease: copy trunk to staging-i686, staging-x86_64 Added: sound-juicer/repos/staging-i686/ sound-juicer/repos/staging-i686/PKGBUILD (from rev 226784, sound-juicer/trunk/PKGBUILD) sound-juicer/repos/staging-i686/sound-juicer.install (from rev 226784, sound-juicer/trunk/sound-juicer.install) sound-juicer/repos/staging-x86_64/ sound-juicer/repos/staging-x86_64/PKGBUILD (from rev 226784, sound-juicer/trunk/PKGBUILD) sound-juicer/repos/staging-x86_64/sound-juicer.install (from rev 226784, sound-juicer/trunk/sound-juicer.install) -------------------------------------+ staging-i686/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++ staging-i686/sound-juicer.install | 18 +++++++++++++++++ staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++ staging-x86_64/sound-juicer.install | 18 +++++++++++++++++ 4 files changed, 106 insertions(+) Copied: sound-juicer/repos/staging-i686/PKGBUILD (from rev 226784, sound-juicer/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-11-21 13:11:55 UTC (rev 226785) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Ben <contrasu...@myrealbox.com> + +pkgname=sound-juicer +pkgver=3.14.0 +pkgrel=2 +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=('bb21107d57025d39feb499666a4f12152cbbe25a3c6170c330a5d2d8f9bcf54d') + +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/staging-i686/sound-juicer.install (from rev 226784, sound-juicer/trunk/sound-juicer.install) =================================================================== --- staging-i686/sound-juicer.install (rev 0) +++ staging-i686/sound-juicer.install 2014-11-21 13:11:55 UTC (rev 226785) @@ -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/staging-x86_64/PKGBUILD (from rev 226784, sound-juicer/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2014-11-21 13:11:55 UTC (rev 226785) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Ben <contrasu...@myrealbox.com> + +pkgname=sound-juicer +pkgver=3.14.0 +pkgrel=2 +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=('bb21107d57025d39feb499666a4f12152cbbe25a3c6170c330a5d2d8f9bcf54d') + +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/staging-x86_64/sound-juicer.install (from rev 226784, sound-juicer/trunk/sound-juicer.install) =================================================================== --- staging-x86_64/sound-juicer.install (rev 0) +++ staging-x86_64/sound-juicer.install 2014-11-21 13:11:55 UTC (rev 226785) @@ -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 +}