[proaudio] [1139] bump jackdmp, replace regular jack and use package.provided instead

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


Revision: 1139
Author:   gimpel
Date:     2008-01-26 15:27:22 +0000 (Sat, 26 Jan 2008)

Log Message:
-----------
bump jackdmp, replace regular jack and use package.provided instead

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/jackdmp/ChangeLog
    trunk/overlays/proaudio/media-sound/jackdmp/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.61.ebuild


Modified: trunk/overlays/proaudio/media-sound/jackdmp/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/ChangeLog	2008-01-24 15:14:29 UTC (rev 1138)
+++ trunk/overlays/proaudio/media-sound/jackdmp/ChangeLog	2008-01-26 15:27:22 UTC (rev 1139)
@@ -1,7 +1,11 @@
 # ChangeLog for media-sound/jackdmp
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jan 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> ++,
+  -jackdmp-0.61.ebuild:
+  version bump
+
   17 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> ChangeLog:
   added a changelog
 

Modified: trunk/overlays/proaudio/media-sound/jackdmp/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/Manifest	2008-01-24 15:14:29 UTC (rev 1138)
+++ trunk/overlays/proaudio/media-sound/jackdmp/Manifest	2008-01-26 15:27:22 UTC (rev 1139)
@@ -1,5 +1,5 @@
-DIST jackdmp_0.61.zip 6075357 RMD160 845c54e605f6fd36ef1f096112fc52edecf05a96 SHA1 ae2cd2c57e1de4e0d8e62353420fb9a9cb0863b6 SHA256 8c837f200bb6551fe2aeffbde0042de7ab3ff49af7f4f8faa89855ef1e242efc
-EBUILD jackdmp-0.61.ebuild 3371 RMD160 13f37e889c11fa175f24d108ff8ccfd4f51a1aa9 SHA1 459c1102aea2c7bc7025ff5521648360f48d5652 SHA256 bb86d72686ae51f329474da2804b1c4223cc91fc0560070f26dad004e1c3fa25
+DIST jackdmp_0.68.zip 5072616 RMD160 ab9ab5b17bc6ae88331361b85468b2936b8eebf1 SHA1 ea38f253d3c01d95162840686fa077655e87c815 SHA256 e4af76053226098e08f01057dd1681440e8fc6524ce92617bf7788b7cbd97e12
+EBUILD jackdmp-0.68.ebuild 2071 RMD160 8d1f8bcd61f990ecea90b7bd43a0085d595b6bc8 SHA1 23af790acfef8ae5b450f0ce5326d12784308a33 SHA256 686a9808475e17495fc79fbf2073dde1c714dfea5dce4529d80c4ee11b1145ed
 EBUILD jackdmp-9999.ebuild 3396 RMD160 5013781cfaa4282ec099ee6574e518dcda238a82 SHA1 b44080c927c279ddd7fd80704a5fc6b458a1db9b SHA256 e2376acbe84cfddb31e018cec707048780c2073810a1ce819bd9e48fc5454de6
-MISC ChangeLog 207 RMD160 bf62ed81931a7c5de1feb2e0206f60c83a11a130 SHA1 a45b57d15f904cf62a841f987bc0def288d3b65f SHA256 dc22853aa5505ce7dfa1defc319fa625b33b9683eecc72d128cef6208a317fcf
+MISC ChangeLog 306 RMD160 645b7add172168ab7f1ff38b0690484ea61cc445 SHA1 586e262052005dbda7e4ab29798f9b3df8b202f3 SHA256 b37829197bbeaf1120e07a1e4895cfbc9a6e4c7c888780cfb7b5cad76458edc6
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Deleted: trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.61.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.61.ebuild	2008-01-24 15:14:29 UTC (rev 1138)
+++ trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.61.ebuild	2008-01-26 15:27:22 UTC (rev 1139)
@@ -1,108 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-IUSE="doc"
-RESTRICT="nomirror"
-inherit unpacker fetch-tools
-
-MY_P=${P/-/_}
-DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
-HOMEPAGE="http://www.grame.fr/~letz/jackdmp.html";
-SRC_URI="http://www.grame.fr/~letz/${MY_P}.zip";
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-*"
-
-RDEPEND="dev-util/pkgconfig
-	>=media-libs/alsa-lib-0.9.1"
-
-DEPEND="${RDEPEND}
-	app-arch/unzip
-	doc? ( app-doc/doxygen )"
-
-#S="${WORKDIR}/${PN}_${PV}/src/linux"
-S=${WORKDIR}/${MY_P}/src
-src_unpack() {
-	unpack ${A}
-	cd ${S}/linux/
-	# set DESTDIR and remove libjack replacing as we
-	# use pkg_post* to accomplish that
-	sed -i -e "s@^prefix.*@prefix := \$(DESTDIR)/usr@" \
-		-e "s@.*ldconfig.*@@g" -e "s@.*libjack.so.*@@g" Makefile
-	# fix ADDON_DIR
-	sed -i -e 's@#define ADDON_DIR.*@#define ADDON_DIR \"/usr/lib/jackmp\"@' \
-	../common/JackDriverLoader.cpp
-}
-
-src_compile() {
-	cd linux/
-	emake || die
-}
-
-src_install() {
-	cd linux/
-	dodir /usr/bin /usr/lib/jackmp
-	make DESTDIR=${D} datadir=/usr/share/doc install || die
-	cd ${S}
-	use doc && einfo "generating dox" && doxygen doxyfile &>/dev/null
-	use doc && dohtml html/*
-	dodoc AUTHORS BUGS ChangeLog NEWS ../README THANKS TODO Todo
-}
-
-pkg_postinst() {
-	# replace libjack with libjackmp and set symlinks
-	cd ${ROOT}/usr/lib
-	# fetch libjack filename
-	local jacklib="$(find -name 'libjack.so*' -type f -printf "%f\n")"
-	# rm stale sym
-	[ -L "${jacklib}" ] && rm -f "${jacklib}"
-	# mv libjack to tmp_jacklib and set symlinks to libjackmp
-	[ -f "${jacklib}" ] && mv -f "${jacklib}" "tmp_${jacklib}" \
-	&& einfo "Jacklib found, replacing it..." || einfo "Jacklib not found, continue..."
-	rm -f libjack.so*
-	ln -s libjackmp.so  libjack.so
-	ln -s libjackmp.so  libjack.so.0
-
-	# replace jackd with jackdmp and set symlinks
-	cd ${ROOT}/usr/bin
-	local jackd="jackd"
-	# rm stale sym
-	[ -L "${jackd}" ] && rm -f "${jackd}"
-	# mv jackd to tmp_jackd and set symlink to jackdmp
-	[ -f "${jackd}" ] && mv -f ${jackd} tmp_${jackd} \
-	&& einfo "jackd found, replacing it..." || einfo "jackd not found, continue..."
-	rm -f ${jackd}
-	ln -s jackdmp ${jackd}
-	ewarn "WARNING: Some application may not work with jackdmp"
-}
-
-pkg_postrm() {
-	# remove old symlinks and restore libjack
-	cd ${ROOT}/usr/lib
-	local jacklib="$(find -name 'libjack.so*' -type f -printf "%f\n")"
-	if [ ! -f "${jacklib}" ];then
-		rm -f libjack.so*
-		local tjacklib="$(find -name 'tmp_libjack.so*' -type f -printf "%f\n")"
-		[ -f "${tjacklib}" ] && mv -f "${tjacklib}" "${tjacklib/tmp_/}" \
-		&& ln -s "${tjacklib/tmp_/}" libjack.so && ln -s ${tjacklib/tmp_/} libjack.so.0 \
-		&& einfo "Jacklib restored" || einfo "Jacklib not restored"
-	else
-		# case that jack-audio-connection was updated/installed
-		# after jackdmp was installed
-		einfo "new Jacklib detected, no restoring"
-		local tjacklib="$(find -name 'tmp_libjack.so*' -type f -printf "%f\n")"
-		[ -f "${tjacklib}" ] && rm -f "${tjacklib}"
-	fi
-
-	cd ${ROOT}/usr/bin
-	# remove old symlinks and restore jackd
-	local jackd="jackd"
-
-	has_version "media-sound/jack-audio-connection-kit" \
-	&& [ -f "tmp_${jackd}" ] && [ -L "${jackd}" ] \
-	&& mv -f "tmp_${jackd}" "${jackd}" \
-	&& einfo "jackd restored" || einfo "jackd not restored"
-	[ -L "${jackd}" ] && rm -f "${jackd}"
-	[ -f "tmp_${jackd}" ] && rm -f "tmp_${jackd}"
-}

Copied: trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild (from rev 1138, trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.61.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild	2008-01-26 15:27:22 UTC (rev 1139)
@@ -0,0 +1,76 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+IUSE="doc semaphores"
+RESTRICT="nomirror ccache"
+inherit unpacker fetch-tools
+
+MY_P=${P/-/_}
+DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
+HOMEPAGE="http://www.grame.fr/~letz/jackdmp.html";
+SRC_URI="http://www.grame.fr/~letz/${MY_P}.zip";
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+RDEPEND="dev-util/pkgconfig
+	>=media-libs/alsa-lib-0.9.1
+	!media-sound/jack-audio-connection-kit"
+
+DEPEND="${RDEPEND}
+	app-arch/unzip
+	doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_P}/src
+src_unpack() {
+	unpack ${A}
+	cd ${S}/linux/
+	# set DESTDIR and remove libjack replacing as we
+	# use pkg_post* to accomplish that
+	sed -i -e "s@^prefix.*@prefix := \$(DESTDIR)/usr@" \
+		-e "s@.*ldconfig.*@@g" -e "s@.*libjack.so.*@@g" Makefile
+	# fix ADDON_DIR
+	sed -i -e 's@#define ADDON_DIR.*@#define ADDON_DIR \"/usr/lib/jackmp\"@' \
+	../common/JackDriverLoader.cpp
+}
+
+src_compile() {
+	cd linux/
+	local myconf=""
+	use semaphores && myconf="SOCKET_RPC_POSIX_SEMA"
+	emake || die
+}
+
+src_install() {
+	cd linux/
+	dodir /usr/bin /usr/lib/jackmp
+	make DESTDIR="${D}" datadir=/usr/share/doc install || die
+	cd ${S}
+	use doc && einfo "generating dox" && doxygen doxyfile &>/dev/null
+	use doc && dohtml html/*
+	dodoc ../README
+
+	dosym /usr/lib/libjackmp.so /usr/lib/libjack.so
+	dosym /usr/lib/libjackmp.so /usr/lib/libjack.so.0
+}
+
+pkg_postinst() {
+	elog "Adding media-sound/jack-audio-connection-kit to"
+	elog "/etc/portage/profile/package.provided ..."
+	elog "Note that a lot of things might not compile correctly"
+	elog "against jackdmp's jack headers!"
+
+	test -d ${ROOT}/etc/portage/profile \
+		|| dodir /etc/portage/profile
+	echo "media-sound/jack-audio-connection-kit-0.109.0" >> \
+		${ROOT}/etc/portage/profile/package.provided
+}
+
+pkg_postrm() {
+	elog "Removing media-sound/jack-audio-connection-kit from"
+	elog "/etc/portage/profile/package.provided ..."
+
+	sed '/media-sound\/jack-audio-connection-kit-0.109.0/d' \
+		-i ${ROOT}/etc/portage/profile/package.provided
+}


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