[arch-commits] Commit in sound-juicer/trunk (PKGBUILD)
Jan de Groot
jgc at nymeria.archlinux.org
Wed Apr 3 12:01:57 UTC 2013
Date: Wednesday, April 3, 2013 @ 14:01:57
Author: jgc
Revision: 181345
upgpkg: sound-juicer 3.5.0-2
Remove from gnome-extra, fix build with newer autoconf, make sure GStreamer versions are detected correctly
Modified:
sound-juicer/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-03 11:25:02 UTC (rev 181344)
+++ PKGBUILD 2013-04-03 12:01:57 UTC (rev 181345)
@@ -5,25 +5,35 @@
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() {
More information about the arch-commits
mailing list