Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 7 Mar 2006 15:44:25 +0000 (15:44 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Tue, 7 Mar 2006 15:44:25 +0000 (15:44 +0000)
Package-Manager: portage-2.1_pre5-r4

media-sound/rawrec/ChangeLog
media-sound/rawrec/rawrec-0.9.98.ebuild
media-sound/rcenter/ChangeLog
media-sound/rcenter/files/digest-rcenter-0.6.1 [deleted file]
media-sound/rcenter/files/rcenter-0.6.2-makefile.patch [new file with mode: 0644]
media-sound/rcenter/rcenter-0.6.1.ebuild [deleted file]
media-sound/rcenter/rcenter-0.6.2.ebuild
media-sound/setmixer/Manifest

index f972915b5aa961b4ff692f5801e461ae8733de6b..e7d2515d6220a0a837db958cfdda1bd9a03a26bc 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for media-sound/rawrec
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/ChangeLog,v 1.8 2005/09/15 19:49:03 agriffis Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/ChangeLog,v 1.9 2006/03/07 15:39:32 flameeyes Exp $
+
+  07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> rawrec-0.9.98.ebuild:
+  Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
 
   15 Sep 2005; Aron Griffis <agriffis@gentoo.org> rawrec-0.9.98.ebuild:
   Mark 0.9.98 stable on alpha
index 79a45ded96fae54177235ea26ba621838d93a453..5dcc544d92e2e8ffcac6b59b0fe0a8258b4de383 100644 (file)
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/rawrec-0.9.98.ebuild,v 1.9 2005/09/15 19:49:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rawrec/rawrec-0.9.98.ebuild,v 1.10 2006/03/07 15:39:32 flameeyes Exp $
+
+inherit flag-o-matic toolchain-funcs
 
 IUSE=""
 
@@ -11,12 +13,12 @@ SRC_URI="mirror://sourceforge/rawrec/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~ppc sparc x86"
-DEPEND="virtual/libc"
 
 S=${S}/src
 
 src_compile() {
-       make || die
+       append-ldflags -lm -lpthread
+       emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
 }
 
 src_install() {
index eda92c59e21cda24dab5f330508e0aab94765cee..1ec9859e9cb6955636fa01d5c09f0519b891c61e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-sound/rcenter
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/ChangeLog,v 1.11 2004/11/23 05:59:01 eradicator Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/ChangeLog,v 1.12 2006/03/07 15:44:25 flameeyes Exp $
+
+  07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+  +files/rcenter-0.6.2-makefile.patch, -rcenter-0.6.1.ebuild,
+  rcenter-0.6.2.ebuild:
+  Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
 
   22 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
   rcenter-0.6.2.ebuild:
diff --git a/media-sound/rcenter/files/digest-rcenter-0.6.1 b/media-sound/rcenter/files/digest-rcenter-0.6.1
deleted file mode 100644 (file)
index e29db38..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 642ed4f630cb10ad0cd866d83b53d3a1 rcenter-0.6.1.tgz 14831
diff --git a/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch b/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch
new file mode 100644 (file)
index 0000000..2c5fbd7
--- /dev/null
@@ -0,0 +1,16 @@
+Index: rcenter-0.6.2/Makefile
+===================================================================
+--- rcenter-0.6.2.orig/Makefile
++++ rcenter-0.6.2/Makefile
+@@ -19,9 +19,9 @@ button.o : button.c
+ main.o : main.c
+ rcenter : main.o lowlevel.o handler.o button.o
+-      $(CC) $(CFLAGS) -o rcenter $^ -lpthread
++      $(CC) $(LDFLAGS) -o rcenter $^ -lpthread
+-projname := $(shell awk '/RCENTER_VERSION/ { print $$3 }' version.h )
++projname := $(shell gawk '/RCENTER_VERSION/ { print $$3 }' version.h )
+ install: rcenter
+       install -D rcenter $(PREFIX)/bin/rcenter
diff --git a/media-sound/rcenter/rcenter-0.6.1.ebuild b/media-sound/rcenter/rcenter-0.6.1.ebuild
deleted file mode 100644 (file)
index 2b7c01e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.1.ebuild,v 1.8 2005/07/09 16:29:58 swegener Exp $
-
-DESCRIPTION="Rcenter - A program to control the EMU10K Remote Control"
-HOMEPAGE="http://rooster.stanford.edu/~ben/projects/rcenter.php"
-SRC_URI="http://rooster.stanford.edu/~ben/projects/${P}.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND="virtual/libc"
-
-src_compile() {
-       emake || die
-}
-
-src_install() {
-       chmod 755 rcenter
-       dobin rcenter
-       dodir /usr/share/rcenter
-       cp -R config ${D}/usr/share/rcenter/
-       dodoc HISTORY LICENSE README
-}
-
-pkg_postinst() {
-       einfo "Rcenter Installed  - However You need to setup the scripts"
-       einfo "for making remote control commands actually work"
-       einfo
-       einfo "The Skel scripts can be copied from /usr/share/rcenter/config to <user>/.rcenter"
-       einfo "Where <user> is a person who will use rcenter"
-}
index 2793f38ced10b9b299b587ff394fc627a049bd83..929bc4b9cd5c02e391bde4dae665118a850ef8e1 100644 (file)
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.2.ebuild,v 1.11 2005/07/09 16:29:58 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.2.ebuild,v 1.12 2006/03/07 15:44:25 flameeyes Exp $
+
+inherit eutils toolchain-funcs
 
 IUSE=""
 
@@ -13,10 +15,15 @@ SLOT="0"
 #-sparc: emu10k1 doesn't get recognized on sparc hardware
 KEYWORDS="amd64 -sparc x86"
 
-DEPEND="virtual/libc"
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       epatch "${FILESDIR}/${P}-makefile.patch"
+}
 
 src_compile() {
-       emake || die
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
 }
 
 src_install() {
index fc39306619485da11c46f96d0c6ba7fa6ce5ae63..2c514dcf0b96f56590302f27a4a808a16f014108 100644 (file)
@@ -1,5 +1,15 @@
-MD5 be9a4785a05ac106775a91bdb3f1519e ChangeLog 1031
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 c45635040e6a967dc8a91d576d7a35f3 setmixer-19941227_rc7.ebuild 1008
+MD5 1500f79616433fd5dce65d19dc5f271e ChangeLog 1166
+RMD160 faa6cd75aa2806c979099ec06a7aeb9afabad850 ChangeLog 1166
+SHA256 27ad1ce9a696710548bd2eec0e3a464de0eb69ca2faa9999c3834a9311c62d53 ChangeLog 1166
 MD5 557329c0c6a2f3d3baaa8a571dc47b4b files/digest-setmixer-19941227_rc7 140
+RMD160 d164b236e2ef7c9c86b91849e9297bf2da4f482b files/digest-setmixer-19941227_rc7 140
+SHA256 c9880ada4674cbb4ce47cc8776a224baacb8bb3f888b230cf0a3b6f95f7c7404 files/digest-setmixer-19941227_rc7 140
 MD5 ce3d1fbbcfeae69e615276792f2ac615 files/setmixer.rc 565
+RMD160 c92d97a9f90614c53a4b101788c4f64fb4c9cdb7 files/setmixer.rc 565
+SHA256 2ee3f00b6b5c40a099eac04a6567f7f20343cbf4a55e27f60e51c6c4bc94298b files/setmixer.rc 565
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
+SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
+MD5 92c8b79aad5517992611c518fe5fc605 setmixer-19941227_rc7.ebuild 1018
+RMD160 cc16c1d1f6ac05b6b77f1f6e2eee58911d09fbc1 setmixer-19941227_rc7.ebuild 1018
+SHA256 4e229f946f1c36fdc31838017226795d801bae71869052f0477f2f6ddd9bdecd setmixer-19941227_rc7.ebuild 1018