[proaudio] [1212] make jackdmp PDEPEND on jack-audio-connection-kit-9999 pseudo-virtual ebuild |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1212
Author: gimpel
Date: 2008-05-03 11:59:44 +0200 (Sat, 03 May 2008)
Log Message:
-----------
make jackdmp PDEPEND on jack-audio-connection-kit-9999 pseudo-virtual ebuild
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/jackdmp/Manifest
trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999-r1.ebuild
Removed Paths:
-------------
trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999.ebuild
Modified: trunk/overlays/proaudio/media-sound/jackdmp/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/Manifest 2008-05-03 09:50:09 UTC (rev 1211)
+++ trunk/overlays/proaudio/media-sound/jackdmp/Manifest 2008-05-03 09:59:44 UTC (rev 1212)
@@ -2,7 +2,6 @@
DIST jackdmp_0.69.zip 5136069 RMD160 738029dcc370a488054e4aedce85c295594a6848 SHA1 c1da0ae8c0e0e9fd5861e65718d89598770e1b7b SHA256 9cbaf0fea295a29680ede459537e9423f8abf70512d5cda989a52f52abd92700
EBUILD jackdmp-0.68.ebuild 2475 RMD160 66c9fba58fae30e38b49566aef528fd8e52de95c SHA1 0d7828ab8f42d4319ed0faeffdf4d76d169aa3a0 SHA256 ec6c3a4c6772adeb16e7ae59626a76a06cd0417f858e1bbc2c028029c600c879
EBUILD jackdmp-0.69.ebuild 2475 RMD160 66c9fba58fae30e38b49566aef528fd8e52de95c SHA1 0d7828ab8f42d4319ed0faeffdf4d76d169aa3a0 SHA256 ec6c3a4c6772adeb16e7ae59626a76a06cd0417f858e1bbc2c028029c600c879
-EBUILD jackdmp-9999-r1.ebuild 1055 RMD160 4f09519f0ef0ac2adc63813de72b6c8be4cb54d2 SHA1 58d797f172112053928f88f1f1a2b6e10eb179e1 SHA256 8a1885dcca973459ecbc79af1939090712c47f3b86d8fb2532b4af958bd76c37
-EBUILD jackdmp-9999.ebuild 3396 RMD160 5013781cfaa4282ec099ee6574e518dcda238a82 SHA1 b44080c927c279ddd7fd80704a5fc6b458a1db9b SHA256 e2376acbe84cfddb31e018cec707048780c2073810a1ce819bd9e48fc5454de6
+EBUILD jackdmp-9999-r1.ebuild 1063 RMD160 1585c8b95ef431a59b9b45c259a470ce2e99c633 SHA1 1544c3f153947d0e002a3ee2a74d3a7f76d58383 SHA256 49d7b2b023d0c8b504e96e4477d253969c3c9d31d71c7691037135c60b7a0e21
MISC ChangeLog 399 RMD160 ff69dfe73496a55d87ee6804011511a773deb8dd SHA1 e683eeee9136b7a0dd72d87d1082b1b9bb1b1cb1 SHA256 8d548cb3ab28decf1c450501e3d9a87eef9ebd321b1b2ba1e495cc7b3760c120
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Modified: trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999-r1.ebuild 2008-05-03 09:50:09 UTC (rev 1211)
+++ trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999-r1.ebuild 2008-05-03 09:59:44 UTC (rev 1212)
@@ -17,13 +17,12 @@
RDEPEND="dev-util/pkgconfig
>=media-libs/alsa-lib-0.9.1
- freebob? ( sys-libs/libfreebob )
- !<media-sound/jack-audio-connection-kit-9999"
-
+ freebob? ( sys-libs/libfreebob )"
DEPEND="${RDEPEND}
app-arch/unzip
dev-util/scons
doc? ( app-doc/doxygen )"
+PDEPEND=">=media-sound/jack-audio-connection-kit-9999"
src_compile() {
local myconf="PREFIX=/usr"
Deleted: trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999.ebuild 2008-05-03 09:50:09 UTC (rev 1211)
+++ trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-9999.ebuild 2008-05-03 09:59:44 UTC (rev 1212)
@@ -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 subversion
-
-MY_P=${P/-/_}
-DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
-HOMEPAGE="http://www.grame.fr/~letz/jackdmp.html"
-SRC_URI=""
-ESVN_REPO_URI="http://subversion.jackaudio.org/jackmp/trunk/jackmp"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-
-RDEPEND="dev-util/pkgconfig
- >=media-libs/alsa-lib-0.9.1"
-
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
-
-#S="${WORKDIR}/${PN}_${PV}/src/linux"
-S=${WORKDIR}/linux
-src_unpack() {
- subversion_src_unpack
- 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}"
-}