diff options
author | Cédric Krier <cedk@gentoo.org> | 2009-08-08 18:14:30 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2009-08-08 18:14:30 +0000 |
commit | e5d1491a5be3dec60cda23251431243e137b79ac (patch) | |
tree | ede24a22be640827bdfbf35ea1742a7c6a733817 /media-sound/sndpeek | |
parent | Stable for HPPA (bug #280785). (diff) | |
download | historical-e5d1491a5be3dec60cda23251431243e137b79ac.tar.gz historical-e5d1491a5be3dec60cda23251431243e137b79ac.tar.bz2 historical-e5d1491a5be3dec60cda23251431243e137b79ac.zip |
Add multi-backend support for bug #216292 and add default USE flag for bug #254728
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-sound/sndpeek')
-rw-r--r-- | media-sound/sndpeek/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/sndpeek/Manifest | 3 | ||||
-rw-r--r-- | media-sound/sndpeek/sndpeek-1.3-r2.ebuild | 68 |
3 files changed, 77 insertions, 2 deletions
diff --git a/media-sound/sndpeek/ChangeLog b/media-sound/sndpeek/ChangeLog index b5a52dbf17a7..04e08a152228 100644 --- a/media-sound/sndpeek/ChangeLog +++ b/media-sound/sndpeek/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/sndpeek # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sndpeek/ChangeLog,v 1.5 2009/07/13 20:36:07 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/sndpeek/ChangeLog,v 1.6 2009/08/08 18:14:30 cedk Exp $ + +*sndpeek-1.3-r2 (08 Aug 2009) + + 08 Aug 2009; Cédric Krier <cedk@gentoo.org> +sndpeek-1.3-r2.ebuild: + Add multi-backend support for bug #216292 and add default USE flag for bug + #254728 13 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> sndpeek-1.3-r1.ebuild: Missing libsndfile dep wrt #277543, thanks to Dave Curtis for reporting. diff --git a/media-sound/sndpeek/Manifest b/media-sound/sndpeek/Manifest index d3dda32c4953..f37315d79232 100644 --- a/media-sound/sndpeek/Manifest +++ b/media-sound/sndpeek/Manifest @@ -3,5 +3,6 @@ AUX sndpeek-1.3-gcc-4.4.patch 402 RMD160 8924fa1ab9ab44424a07e824e4c865d9ad48b64 AUX sndpeek-1.3-makefile.patch 7578 RMD160 3cb1ccd318fc11710ab34dcaf2dc621f888ed53b SHA1 e82eae70cbe7d677857dab5868446405fa934c6a SHA256 fc7fcb83c2d8063b161dd73f0ba5255e2822250818ca9c3d11a78652ca6958e5 DIST sndpeek-1.3.tgz 298983 RMD160 cec1696a6b5e26551748fc7e6230baa2bd77edc2 SHA1 16291c1cc595068150d4c2a9075982d9bed5416e SHA256 36291830b345338777dd304bacb81b97885d31b33e9e6dba19340f25ac169d08 EBUILD sndpeek-1.3-r1.ebuild 1661 RMD160 1104e810b482bf7f9d3b2f306d98715fee314789 SHA1 789f8f64460f306917e05db17e98c14a24e80404 SHA256 5563c5c5f012e9c82eeac94b045c54b86a54078a221790c80fef15dd2ba17f85 -MISC ChangeLog 1009 RMD160 79ee1a1c9cfdaf146dc1ef551f6baa8e57136a2b SHA1 c4a77ab0d2b26a8aa10874cce0abb4fe65ab8182 SHA256 898a2cdf7e69fb5c57545a195eda28b613d4ada730b80408954bee8cdc9058ab +EBUILD sndpeek-1.3-r2.ebuild 1679 RMD160 512654a385e523effbac1dd67be5e14c17118039 SHA1 4894302e5a87e6a345832175c97f73e659005d15 SHA256 355e5b4a74ab3739f77026bf35f510d629c17ccff4d890022b09d071c2a5a2a0 +MISC ChangeLog 1194 RMD160 c3fe0ffa955514e8d3accee5feafcfae9bb57e78 SHA1 1762511e7d9aa545d1d568a2159a7ab8b9d923fe SHA256 35fe494678b3c0c3fb3ad48c93c39b7c7deabdbebf878a23ffd88b09885dab32 MISC metadata.xml 332 RMD160 9d54bcd4c13aa98a1c6386fff05ef594ab574b57 SHA1 aff7564b9679c5b24ab61495790e448ce32327da SHA256 0254d910565bddb93170d819c52cd043a32eccd1da21851ca962b8878c6d3ce8 diff --git a/media-sound/sndpeek/sndpeek-1.3-r2.ebuild b/media-sound/sndpeek/sndpeek-1.3-r2.ebuild new file mode 100644 index 000000000000..a31af933405b --- /dev/null +++ b/media-sound/sndpeek/sndpeek-1.3-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sndpeek/sndpeek-1.3-r2.ebuild,v 1.1 2009/08/08 18:14:30 cedk Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="real-time audio visualization" +HOMEPAGE="http://soundlab.cs.princeton.edu/software/sndpeek/" +SRC_URI="http://soundlab.cs.princeton.edu/software/${PN}/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa jack oss" + +RDEPEND="virtual/glut + virtual/opengl + virtual/glu + x11-libs/libXmu + x11-libs/libX11 + x11-libs/libXext + media-libs/libsndfile + jack? ( media-sound/jack-audio-connection-kit ) + alsa? ( media-libs/alsa-lib ) + app-admin/eselect-sndpeek" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-gcc-4.3.patch \ + "${FILESDIR}"/${P}-gcc-4.4.patch +} + +pkg_setup() { + if ! use alsa && ! use jack && ! use oss; then + eerror "One of the following USE flags is needed: jack, alsa or oss" + die "Please set one audio engine type" + fi +} + +compile_backend() { + backend=$1 + cd "${S}/src/sndpeek" + einfo "Compiling against ${backend}" + emake -f "makefile.${backend}" CC=$(tc-getCC) \ + CXX=$(tc-getCXX) || die "emake failed" + mv sndpeek{,-${backend}} + emake clean + cd - +} + +src_compile() { + use alsa && compile_backend alsa + use jack && compile_backend jack + use oss && compile_backend oss +} + +src_install() { + use alsa && dobin src/sndpeek/sndpeek-alsa + use jack && dobin src/sndpeek/sndpeek-jack + use oss && dobin src/sndpeek/sndpeek-oss + dodoc AUTHORS README THANKS TODO VERSIONS +} + +pkg_postinst() { + eselect sndpeek update --if-unset +} |