summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-02-04 11:49:05 +0000
committerSamuli Suominen <drac@gentoo.org>2007-02-04 11:49:05 +0000
commit7ff43005e7fa380cb7242a112c04e3608de17651 (patch)
treefd2014d6a10ccf306fdb490f68bed936be278062 /media-sound
parentDesktop file fix (diff)
downloadgentoo-2-7ff43005e7fa380cb7242a112c04e3608de17651.tar.gz
gentoo-2-7ff43005e7fa380cb7242a112c04e3608de17651.tar.bz2
gentoo-2-7ff43005e7fa380cb7242a112c04e3608de17651.zip
Prevent mmkeys.so from being prestripped.. QA as reported in #gentoo-media
(Portage version: 2.1.2-r7)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/exaile/ChangeLog6
-rw-r--r--media-sound/exaile/exaile-0.2.8.ebuild8
-rw-r--r--media-sound/exaile/files/exaile-0.2.8-strip.patch11
3 files changed, 23 insertions, 2 deletions
diff --git a/media-sound/exaile/ChangeLog b/media-sound/exaile/ChangeLog
index a0921e598e51..f29b93227f74 100644
--- a/media-sound/exaile/ChangeLog
+++ b/media-sound/exaile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/exaile
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.2 2007/02/04 09:42:18 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.3 2007/02/04 11:49:05 drac Exp $
+
+ 04 Feb 2007; Samuli Suominen <drac@gentoo.org>
+ +files/exaile-0.2.8-strip.patch, exaile-0.2.8.ebuild:
+ Add patch to prevent mmkeys.so from being prestripped.
04 Feb 2007; <drac@gentoo.org> exaile-0.2.8.ebuild:
Removed some extra tabs and whitespacing.
diff --git a/media-sound/exaile/exaile-0.2.8.ebuild b/media-sound/exaile/exaile-0.2.8.ebuild
index 3a4dceda1e43..5e517fb24786 100644
--- a/media-sound/exaile/exaile-0.2.8.ebuild
+++ b/media-sound/exaile/exaile-0.2.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/exaile-0.2.8.ebuild,v 1.2 2007/02/04 09:42:18 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/exaile-0.2.8.ebuild,v 1.3 2007/02/04 11:49:05 drac Exp $
inherit eutils toolchain-funcs
@@ -54,6 +54,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ cd "${S}"
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-strip.patch
+}
+
src_compile() {
emake CC="$(tc-getCC)" || die "emake failed"
}
diff --git a/media-sound/exaile/files/exaile-0.2.8-strip.patch b/media-sound/exaile/files/exaile-0.2.8-strip.patch
new file mode 100644
index 000000000000..677da34cf2ad
--- /dev/null
+++ b/media-sound/exaile/files/exaile-0.2.8-strip.patch
@@ -0,0 +1,11 @@
+diff -ur exaile_0.2.8.orig/mmkeys/Makefile exaile_0.2.8/mmkeys/Makefile
+--- exaile_0.2.8.orig/mmkeys/Makefile 2006-11-01 02:11:34.000000000 +0200
++++ exaile_0.2.8/mmkeys/Makefile 2007-02-04 13:40:43.000000000 +0200
+@@ -7,7 +7,6 @@
+
+ mmkeys.so: mmkeyspy.o mmkeys.o mmkeysmodule.o
+ $(CC) $(LDFLAGS) -shared $^ -o $@
+- strip mmkeys.so
+
+ DEFS=`pkg-config --variable=defsdir pygtk-2.0`
+