[proaudio] Updated jack_mixer ebuild

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

v6 in overlay
v8 attached
- -- 
Raphaël Doursenaud
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvQ6EMACgkQaZKmNAdXaVXWgQCgkvDeEhdSes54Na1rahy4FK/i
9IUAoNBEOTgrNKp+GKG5Xd62DgrnuQds
=x0eD
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils gnome2

IUSE=""
RESTRICT="mirror"

DESCRIPTION="JACK audio mixer using GTK2 interface."
HOMEPAGE="http://home.gna.org/jackmixer/";
SRC_URI="http://download.gna.org/jackmixer/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

# Not sure about the required swig version, report if 1.3.25 doesn't work
DEPEND="media-sound/jack-audio-connection-kit
	dev-python/pygtk
	dev-python/fpconst
	>=dev-python/pyxml-0.8.4
	dev-python/gnome-python
	dev-python/fpconst
	media-libs/pyphat"
	# 1. only needed for non tarballs aka svn checkouts >=dev-lang/swig-1.3.25
RDEPEND="${DEPEND}
	|| ( >=media-sound/lash-0.5.3 >=media-libs/pylash-3_pre )"

pkg_setup() {
	if  ! built_with_use media-sound/lash python ;then
		ewarn no pyhton
		if ! has_version "media-libs/pylash"  ; then
			eerror "please reemerge either lash with python in useflags or"
			eerror "emerge pylash --> witch also provide the needed bindings"
			die "lash python bindings not met"
		fi
	fi

	ewarn "please make sure you're using latest jack-audio-connection-kit svn"
	# 2. don't know if this is still valid refered to 1.
	#if ! built_with_use swig python ; then
	#	eerror "Please re-emerge swig with USE='python'"
	#	die
	#fi
}

src_unpack() {
	unpack ${A}
#	epatch ${FILESDIR}/${P}-destdir.patch
}

src_compile() {
	econf || die
	emake || die
}

src_install() {
	gnome2_src_install
#	make DESTDIR="${D}" install || die
	dosym /usr/bin/jack_mixer.py /usr/bin/jack_mixer
	dodoc AUTHORS CHANGES README

}

pkg_postinst() {
	gnome2_pkg_postinst
}

pkg_postrm() {
	gnome2_pkg_postrm
}


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