summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-07 07:56:09 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-07 07:56:09 +0000
commitf59cdabc5ea848c838c2c6cb8d7defb3bb6fd1e7 (patch)
tree0b03430acd0937991b62504fe36c46ac85b80139 /media-plugins
parentAdd .signature support re: Bug 51842 (diff)
downloadhistorical-f59cdabc5ea848c838c2c6cb8d7defb3bb6fd1e7.tar.gz
historical-f59cdabc5ea848c838c2c6cb8d7defb3bb6fd1e7.tar.bz2
historical-f59cdabc5ea848c838c2c6cb8d7defb3bb6fd1e7.zip
Added Makefile patch to honor user CFLAGS. Added ~sparc.
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-outpost/ChangeLog6
-rw-r--r--media-plugins/xmms-outpost/Manifest5
-rw-r--r--media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch39
-rw-r--r--media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild15
4 files changed, 58 insertions, 7 deletions
diff --git a/media-plugins/xmms-outpost/ChangeLog b/media-plugins/xmms-outpost/ChangeLog
index 369424ebdf04..d50117b718e7 100644
--- a/media-plugins/xmms-outpost/ChangeLog
+++ b/media-plugins/xmms-outpost/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/xmms-outpost
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/ChangeLog,v 1.6 2004/07/03 22:21:25 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/ChangeLog,v 1.7 2004/07/07 07:56:09 eradicator Exp $
+
+ 07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ xmms-outpost-0.15.ebuild, files/xmms-outpost-0.15-Makefile.patch:
+ Added Makefile patch to honor user CFLAGS. Added ~sparc.
04 Jul 2004; Carsten Lohrke <carlo@gentoo.org> xmms-outpost-0.15.ebuild:
QA: need-kde after R/DEPEND
diff --git a/media-plugins/xmms-outpost/Manifest b/media-plugins/xmms-outpost/Manifest
index 3fee97229635..de20d649c1ad 100644
--- a/media-plugins/xmms-outpost/Manifest
+++ b/media-plugins/xmms-outpost/Manifest
@@ -1,4 +1,5 @@
-MD5 0d2806ee71f9758be157006cd7e3dffa xmms-outpost-0.15.ebuild 690
-MD5 3fc2c8f3a7335e1357b7d627ec6bd11c ChangeLog 887
+MD5 0153b817c92194be2a04e22452e58667 ChangeLog 1078
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 c90b2c0963e5717bc451224d52ad732f xmms-outpost-0.15.ebuild 833
MD5 9280bff3620c411f7c5adfe2e6a0ec8e files/digest-xmms-outpost-0.15 64
+MD5 cece0840a904e47897cb04150a800d48 files/xmms-outpost-0.15-Makefile.patch 1376
diff --git a/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch b/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch
new file mode 100644
index 000000000000..a8d55fb0e8d8
--- /dev/null
+++ b/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch
@@ -0,0 +1,39 @@
+diff -Naur outpost.orig/Makefile outpost/Makefile
+--- outpost.orig/Makefile 2003-09-21 06:39:03.000000000 -0700
++++ outpost/Makefile 2004-07-07 00:42:29.180523430 -0700
+@@ -12,8 +12,8 @@
+ CXX = g++
+ LEX = flex
+ YACC = yacc
+-CFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
+-CXXFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
++MYCFLAGS = -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT $(CFLAGS)
++MYCXXFLAGS = -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT $(CXXFLAGS)
+ LEXFLAGS =
+ YACCFLAGS= -d
+ INCPATH = -I$(QTDIR)/mkspecs/default -I. `xmms-config --cflags` -I$(QTDIR)/include -I/$(KDEDIR)/include
+@@ -72,19 +72,19 @@
+ .SUFFIXES: .c .cpp .cc .cxx .C
+
+ .cpp.o:
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $<
+
+ .cc.o:
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $<
+
+ .cxx.o:
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $<
+
+ .C.o:
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $<
+
+ .c.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CC) -c $(MYCFLAGS) $(INCPATH) -o $@ $<
+
+ ####### Build rules
+
diff --git a/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild b/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild
index b2ecc68d3cf5..3db45acd1fef 100644
--- a/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild
+++ b/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild,v 1.6 2004/07/03 22:21:25 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild,v 1.7 2004/07/07 07:56:09 eradicator Exp $
-inherit kde
+IUSE=""
+
+inherit kde eutils
MY_P=${P/xmms-/}
S=${WORKDIR}/outpost
@@ -14,13 +16,18 @@ HOMEPAGE="http://axj.tuxipuxi.de/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc ~amd64"
-IUSE=""
DEPEND="media-sound/xmms"
need-kde 3
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-Makefile.patch
+}
+
src_compile() {
- make
+ emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die
}
src_install() {