Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/sndpeek: metadata.xml ChangeLog sndpeek-1.3.ebuild Manifest
Date: Sun, 30 Mar 2008 00:30:09
Message-Id: E1JflR0-00033R-CU@stork.gentoo.org
1 cedk 08/03/30 00:30:06
2
3 Added: metadata.xml ChangeLog sndpeek-1.3.ebuild Manifest
4 Log:
5 New ebuild for bug #142079
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 media-sound/sndpeek/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>no-herd</herd>
20 <maintainer>
21 <email>cedk@g.o</email>
22 <name>Cédric Krier</name>
23 </maintainer>
24 <longdescription lang="en">
25 real-time audio visualization
26 </longdescription>
27 </pkgmetadata>
28
29
30
31
32 1.1 media-sound/sndpeek/ChangeLog
33
34 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/ChangeLog?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/ChangeLog?rev=1.1&content-type=text/plain
36
37 Index: ChangeLog
38 ===================================================================
39 # ChangeLog for media-sound/sndpeek
40 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
41 # $Header: /var/cvsroot/gentoo-x86/media-sound/sndpeek/ChangeLog,v 1.1 2008/03/30 00:30:05 cedk Exp $
42
43 *sndpeek-1.3 (30 Mar 2008)
44
45 30 Mar 2008; Cédric Krier <cedk@g.o>
46 +files/sndpeek-1.3-makefile.patch, +metadata.xml, +sndpeek-1.3.ebuild:
47 New ebuild for bug #142079
48
49
50
51
52 1.1 media-sound/sndpeek/sndpeek-1.3.ebuild
53
54 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/sndpeek-1.3.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/sndpeek-1.3.ebuild?rev=1.1&content-type=text/plain
56
57 Index: sndpeek-1.3.ebuild
58 ===================================================================
59 # Copyright 1999-2008 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/media-sound/sndpeek/sndpeek-1.3.ebuild,v 1.1 2008/03/30 00:30:05 cedk Exp $
62
63 inherit eutils toolchain-funcs
64
65 DESCRIPTION="real-time audio visualization"
66 HOMEPAGE="http://soundlab.cs.princeton.edu/software/sndpeek/"
67 SRC_URI="http://soundlab.cs.princeton.edu/software/${PN}/files/${P}.tgz"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~x86"
72 IUSE="oss jack alsa"
73
74 DEPEND="virtual/glut
75 virtual/opengl
76 virtual/glu
77 x11-libs/libXmu
78 x11-libs/libX11
79 x11-libs/libXext
80 jack? ( media-sound/jack-audio-connection-kit )
81 alsa? ( media-libs/alsa-lib )"
82 RDEPEND="${DEPEND}"
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87 epatch "${FILESDIR}/${P}-makefile.patch"
88 }
89
90 pkg_setup() {
91 local cnt=0
92 use jack && cnt="$((${cnt} + 1))"
93 use alsa && cnt="$((${cnt} + 1))"
94 use oss && cnt="$((${cnt} + 1))"
95 if [[ "${cnt}" -eq 0 ]]; then
96 eerror "One of the following USE flags is needed: jack, alsa or oss"
97 die "Please set one audio engine type"
98 elif [[ "${cnt}" -ne 1 ]]; then
99 ewarn "You have set ${P} to use multiple audio engine."
100 fi
101 }
102
103 src_compile() {
104 cd "${S}/src/sndpeek"
105
106 local backend
107 if use jack; then
108 backend="jack"
109 elif use alsa; then
110 backend="alsa"
111 elif use oss; then
112 backend="oss"
113 fi
114 einfo "Compiling against ${backend}"
115 emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
116 }
117
118 src_install() {
119 dobin src/sndpeek/sndpeek
120
121 dodoc AUTHORS README THANKS TODO VERSIONS
122 }
123
124
125
126 1.1 media-sound/sndpeek/Manifest
127
128 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/Manifest?rev=1.1&view=markup
129 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/sndpeek/Manifest?rev=1.1&content-type=text/plain
130
131 Index: Manifest
132 ===================================================================
133 AUX sndpeek-1.3-makefile.patch 7578 RMD160 1559c7b9e2aeb24d929379ea5b0aa5d69c5608d5 SHA1 851b0ddeaedfaf04f480ec44a8c5046a50472b42 SHA256 80fefd8c3a1e1fadf1a5342389e553e18b53d0623f15b115a281d2304d9ed797
134 DIST sndpeek-1.3.tgz 298983 RMD160 cec1696a6b5e26551748fc7e6230baa2bd77edc2 SHA1 16291c1cc595068150d4c2a9075982d9bed5416e SHA256 36291830b345338777dd304bacb81b97885d31b33e9e6dba19340f25ac169d08
135 EBUILD sndpeek-1.3.ebuild 1441 RMD160 aa4668d53713766a78ca6053eca7ae78aaf456e7 SHA1 f5bbc77f0bfe3acd421f8e14402e291e2b42705d SHA256 e0bf4c010f45ace6d5c04ee481bb7beb7347ebd237bc50b555b0ecef11012e3f
136 MISC ChangeLog 298 RMD160 428c7f577a6b9740327b97a6f07b9c07fb059779 SHA1 d69b7a474c715ea4ed3719834ad14db1b1bc320b SHA256 e8083929defdf11b64c885ff6f02d43d66881204560095cea4b936eeb0663858
137 MISC metadata.xml 334 RMD160 0d5ac0f00b7f4fbdaab75bf8702a37276d53f1f0 SHA1 a66c874258738edb7dfa0050fa5233b1cd1b2c61 SHA256 ab94c9c3418d1cc5778593b4c3a3c703c7ee4ce652985bdc3c681ff8a3fcc9f1
138
139
140
141 --
142 gentoo-commits@l.g.o mailing list