summaryrefslogtreecommitdiff
path: root/extra/sound-juicer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sound-juicer/PKGBUILD')
-rw-r--r--extra/sound-juicer/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/extra/sound-juicer/PKGBUILD b/extra/sound-juicer/PKGBUILD
index 80c2007e6..33230d96f 100644
--- a/extra/sound-juicer/PKGBUILD
+++ b/extra/sound-juicer/PKGBUILD
@@ -1,29 +1,39 @@
-# $Id: PKGBUILD 171308 2012-11-17 04:45:56Z heftig $
+# $Id: PKGBUILD 183458 2013-04-21 22:12:09Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>
pkgname=sound-juicer
pkgver=3.5.0
-pkgrel=1
+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 gconf)
-makedepends=(intltool gnome-doc-utils)
+depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero hicolor-icon-theme gconf)
+makedepends=(intltool gnome-doc-utils gnome-common)
options=(!emptydirs)
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-groups=(gnome-extra)
install=sound-juicer.install
sha256sums=('ea76703e08e67590af7b8ce5206c343eb01d77cd5023c0bc958a0c2f5a98d2e9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -e "s/AM_GST_ELEMENT_CHECK/GST_ELEMENT_CHECK/" \
+ -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in
+ autoreconf -f
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-scrollkeeper
- make
+
+ # 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
+ # Remove RPATH
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+ export tagname=CC
+ make AM_CFLAGS=-export-dynamic
}
package() {