[proaudio] [1071] removed old and sync with portage

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1071
Author:   evermind
Date:     2007-12-22 16:02:46 +0000 (Sat, 22 Dec 2007)

Log Message:
-----------
removed old and sync with portage

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/vkeybd/ChangeLog
    trunk/overlays/proaudio/media-sound/vkeybd/Manifest
    trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17a.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild


Modified: trunk/overlays/proaudio/media-sound/vkeybd/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/vkeybd/ChangeLog	2007-12-22 15:26:17 UTC (rev 1070)
+++ trunk/overlays/proaudio/media-sound/vkeybd/ChangeLog	2007-12-22 16:02:46 UTC (rev 1071)
@@ -3,6 +3,9 @@
 # $Header: $
 
   22 Dec 2007; Frieder Buerzele <evermind@xxxxxxxxxxxxx> ChangeLog:
+  removed old vkeybd-0.1.17-r1 and sync vkeybd-0.1.17a ebuild with portage
+
+  22 Dec 2007; Frieder Buerzele <evermind@xxxxxxxxxxxxx> ChangeLog:
   make myconf scope non-local
 
   17 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> ChangeLog:

Modified: trunk/overlays/proaudio/media-sound/vkeybd/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/vkeybd/Manifest	2007-12-22 15:26:17 UTC (rev 1070)
+++ trunk/overlays/proaudio/media-sound/vkeybd/Manifest	2007-12-22 16:02:46 UTC (rev 1071)
@@ -1,9 +1,5 @@
 AUX lash-enabled-default.patch 491 RMD160 c174215e6780417fc8d7d956dbc396fddc7e2c15 SHA1 e272f810a822b1ec8c674d34f969ee0c4a705491 SHA256 307f5620b2079b4ec095f2bad59b2bb3353a109682e88b146c8bd363a7d72f2f
-DIST vkeybd-0.1.17.tar.gz 32838 RMD160 3dcec5b994ed5a438218d725974ed9718f7166ff SHA1 7b7e6a1dcbe9f9d68d928b9c078285400c13dd6a SHA256 07519dc023433a4ce1b3af2b80a18501a804c6ab80f8939fe3aa1f8842e08022
 DIST vkeybd-0.1.17a.tar.bz2 32135 RMD160 baa89b7a7d95e7ab964831e8d1e41d1b0e46a0fc SHA1 364750ea51d8af8324a8a9395431f3aa370ea3ed SHA256 7247495ae336e1e34ca6474e6e8cf4bc0fb589f29698ff924ceb4dc683422a7e
-EBUILD vkeybd-0.1.17-r1.ebuild 1677 RMD160 9b6aea21b85fc2df2a63f5b81f623e0f9e4bdeb2 SHA1 748375abde768ce2315d52fac0f69ee6d0ee3473 SHA256 d20f524fb4714f72c55a9519af41feffb60b478bfe93eb8d08dcd456fd1fd518
-EBUILD vkeybd-0.1.17a.ebuild 1876 RMD160 27ea46e51ea91319bdf534c19679911ab18b42db SHA1 5bb39a366100d2e2bba81801fbaeb174664576dd SHA256 cd7dc2215994bb3dcc7acc102193e2a6627e780f5a9479a78d2ce62348b200e9
-MISC .swack.swp 12288 RMD160 3824048f56dfabc1d98f3ba9fe94146366550455 SHA1 e2db989cace4659a7d154a3c66e2d6dc4ad99c86 SHA256 93f9bb7a97c193898377dcbfcff021525887c330a5796ab6e25dfd5cc809492e
-MISC ChangeLog 305 RMD160 6d7b0d604116bb72be087f7f50793005d07dba46 SHA1 3342c854ff5772889f9a517be9d023ab6733c8bd SHA256 5f334eacc6ecd8eacbaa1aaf7fa1f2343745a1255481562f9f1dbfe9aaf6b111
+EBUILD vkeybd-0.1.17a.ebuild 1678 RMD160 1d11496a52a90d3b1943b2c4d3ea172590fdbdaf SHA1 9eff9fa9a6cd221da616adeb2f9cf0c7c3d62d07 SHA256 edd3f787524a529f3c6919c38f53f1d87a25eef85c1df39ba4cea0954e6722ca
+MISC ChangeLog 449 RMD160 fb3d8199d30c23c9be47b7c7f917dada7b93f087 SHA1 efc5c35bfd54690fdb0644b088dbe8e8f2f604ed SHA256 80b8f596da792dd4c9588c80ecf7a86ab95351708c28cbe95a889dfb0c400712
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
-MISC swack 2799 RMD160 9ab0da81cb040fa04c524c9322e30bcafc140942 SHA1 08774d74309a45593874b716bb4951387eac5dc4 SHA256 b394ce6831d78f1736a044102d06944a4d9b060e9af2f72b5153f999701aab90

Deleted: trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild	2007-12-22 15:26:17 UTC (rev 1070)
+++ trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild	2007-12-22 16:02:46 UTC (rev 1071)
@@ -1,63 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /cvsroot/jacklab/gentoo/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild,v 1.1 2006/04/10 18:03:32 gimpel Exp $
-
-IUSE="alsa oss lash"
-
-inherit lash eutils
-DESCRIPTION="A virtual MIDI keyboard for X"
-HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html";
-SRC_URI="http://www.alsa-project.org/~iwai/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-
-RDEPEND="alsa? ( >=media-libs/alsa-lib-0.5.0 )
-	>=dev-lang/tk-8.3
-	lash? ( >=media-sound/lash-0.3.1 )
-	|| ( x11-libs/libX11 virtual/x11 )"
-
-DEPEND="${RDEPEND}
-	|| ( ( x11-proto/xf86bigfontproto
-			x11-proto/bigreqsproto
-			x11-proto/xextproto
-			x11-proto/xcmiscproto )
-		virtual/x11 )"
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	ladcca_to_lash
-	cd ${S}
-	use lash && epatch "${FILESDIR}/lash-enabled-default.patch"
-}
-
-src_compile() {
-	TCL_VERSION=`echo 'puts [info tclversion]' | tclsh`
-
-	local myconf="PREFIX=/usr"
-
-	#vkeybd requires at least one of its USE_ variable to be set
-	if use alsa ; then
-		myconf="${myconf} USE_ALSA=1"
-		use oss || myconf="${myconf} USE_AWE=0 USE_MIDI=0"
-	else
-		myconf="${myconf} USE_ALSA=0 USE_AWE=1 USE_MIDI=1"
-	fi
-
-	if use lash ; then
-		myconf="${myconf} USE_LASH=1"
-		sed -i "s/USE_LASH *=.*$/USE_LASH = 1/" ${S}/Makefile || \
-			die "Error altering Makefile"
-	fi
-
-	make ${myconf} TCL_VERSION=$TCL_VERSION || die "Make failed."
-}
-
-src_install() {
-	make DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install || \
-		die "Installation Failed"
-	make DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install-man || \
-		die "Man-Page Installation Failed"
-	dodoc README
-}

Modified: trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17a.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17a.ebuild	2007-12-22 15:26:17 UTC (rev 1070)
+++ trunk/overlays/proaudio/media-sound/vkeybd/vkeybd-0.1.17a.ebuild	2007-12-22 16:02:46 UTC (rev 1071)
@@ -1,10 +1,11 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /cvsroot/jacklab/gentoo/media-sound/vkeybd/vkeybd-0.1.17-r1.ebuild,v 1.1 2006/04/10 18:03:32 gimpel Exp $
+# $Header: $
 
+inherit toolchain-funcs exteutils lash
+
 IUSE="alsa oss lash"
 
-inherit lash eutils
 DESCRIPTION="A virtual MIDI keyboard for X"
 HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html";
 SRC_URI="http://www.alsa-project.org/~iwai/${P}.tar.bz2";
@@ -15,30 +16,17 @@
 
 RDEPEND="alsa? ( >=media-libs/alsa-lib-0.5.0 )
 	>=dev-lang/tk-8.3
-	>=dev-lang/tcl-8.3
-	|| ( x11-libs/libX11 virtual/x11 )
-	lash? ( >=media-sound/lash-0.3.1 )"
-
+	lash? ( >=media-sound/lash-0.3.1 )
+	x11-libs/libX11"
 DEPEND="${RDEPEND}
-	|| ( ( x11-proto/xf86bigfontproto
-			x11-proto/bigreqsproto
-			x11-proto/xextproto
-			x11-proto/xcmiscproto )
-		virtual/x11 )"
+	x11-proto/xf86bigfontproto
+	x11-proto/bigreqsproto
+	x11-proto/xextproto
+	x11-proto/xcmiscproto"
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}"/${PN}
 
-src_unpack() {
-	unpack ${A}
-	ladcca_to_lash
-	cd ${S}
-	use lash && epatch "${FILESDIR}/lash-enabled-default.patch"
-		# add our CFLAGS
-	sed  -i "s@\(^CFLAGS\).*\(-Wall\).*\(-O\)@\1 += \2 @g" Makefile
-
-}
-
-src_compile() {
+pkg_setup() {
 	TCL_VERSION=`echo 'puts [info tclversion]' | tclsh`
 
 	myconf="PREFIX=/usr"
@@ -53,19 +41,31 @@
 
 	if use lash ; then
 		myconf="${myconf} USE_LASH=1"
-		sed -i "s/USE_LASH *=.*$/USE_LASH = 1/" ${S}/Makefile || \
-			die "Error altering Makefile"
 	fi
 
-	einfo "${myconf} TCL_VERSION=$TCL_VERSION"
-	make ${myconf} TCL_VERSION=$TCL_VERSION || die "Make failed."
+	myconf="${myconf} TCL_VERSION=${TCL_VERSION}"
+	myconf="${myconf} CC=$(tc-getCC)"
 }
 
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	if use lash ; then
+		ladcca_to_lash
+		esed_check -i -e "s/USE_LASH *=.*$/USE_LASH = 1/" Makefile 
+		epatch "${FILESDIR}/lash-enabled-default.patch"
+	fi
+
+	# add our CFLAGS and LDFLAGS
+	esed_check -i -e  "s@\(^CFLAGS\)\ *\=@\1 =  \$(EXTRACFLAGS)@g" \
+		-e "s@\(\$(CC)\)@\1 \$(LDFLAGS)@g" Makefile
+}
+
+src_compile() {
+	emake ${myconf} EXTRACFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed."
+}
+
 src_install() {
-	eerror " ${myconf} "
-	make ${myconf} DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install || \
-		die "Installation Failed"
-	make ${myconf} DESTDIR=${D} TCL_VERSION=$TCL_VERSION PREFIX=/usr install-man || \
-		die "Man-Page Installation Failed"
-	dodoc README
+	emake ${myconf} DESTDIR="${D}" install-all || die "emake install failed."
+	dodoc README ChangeLog
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/