/[gentoo-x86]/media-sound/baudline/baudline-1.08-r1.ebuild
Gentoo

Contents of /media-sound/baudline/baudline-1.08-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Mar 10 16:07:28 2015 UTC (4 years, 10 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +6 -5 lines
Drop RESTRICT=binchecks (bug 542214) and fix .desktop file errors

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/baudline/baudline-1.08-r1.ebuild,v 1.4 2014/11/15 21:00:50 zerochaos Exp $
4
5 EAPI=3
6
7 inherit eutils
8
9 DESCRIPTION="A time-frequency browser designed for scientific visualization of the spectral domain"
10 HOMEPAGE="http://www.baudline.com/"
11 SRC_URI="amd64? ( http://www.baudline.com/${PN}_${PV}_linux_x86_64.tar.gz )
12 ppc? ( http://www.baudline.com/${PN}_${PV}_linux_ppc.tar.gz )
13 s390? ( http://www.baudline.com/${PN}_${PV}_linux_s390.tar.gz )
14 x86? ( http://www.baudline.com/baudline_1.08_linux_i686.tar.gz )"
15
16 LICENSE="${PN}"
17 SLOT="0"
18 KEYWORDS="amd64 ~x86"
19 IUSE="jack"
20
21 RESTRICT="mirror bindist"
22 QA_PREBUILT="/opt/baudline/baudline"
23
24 RDEPEND="media-fonts/font-adobe-75dpi
25 media-fonts/font-misc-misc
26 x11-libs/libX11
27 x11-libs/libXext
28 x11-libs/libXmu
29 x11-libs/libXt
30 x11-libs/libXxf86vm"
31
32 src_unpack() {
33 unpack ${A}
34 # strip arch names from S
35 mv -v baudline_* ${P} || die
36 }
37
38 src_install() {
39 insinto /opt/${PN}
40 doins -r icons palettes || die
41
42 newicon icons/spectro512.png ${PN}.png || die
43
44 exeinto /opt/${PN}
45 doexe ${PN} || die
46 dosym /opt/${PN}/${PN} /usr/bin/${PN} || die
47 make_desktop_entry /usr/bin/${PN} Baudline ${PN} "AudioVideo;Player;" \
48 "MimeType=audio/x-aiff;audio/basic;audio/x-mp3;audio/x-flac;audio/vorbis;audio/x-wav;" \
49 "audio/x-vorbis;audio/mpeg;audio/x-gsm;audio/x-voc;application/x-ogg;"
50
51 if use jack ; then
52 doexe ${PN}_jack || die
53 dosym /opt/${PN}/${PN}_jack /usr/bin/${PN}_jack || die
54 make_desktop_entry /usr/bin/${PN}_jack "Baudline (jack support)" ${PN} "AudioVideo;Player;" \
55 "MimeType=audio/x-aiff;audio/basic;audio/x-mp3;audio/x-flac;audio/vorbis;audio/x-wav;" \
56 "audio/x-vorbis;audio/mpeg;audio/x-gsm;audio/x-voc;application/x-ogg;"
57 fi
58
59 dodoc README_unix.txt || die
60 }

  ViewVC Help
Powered by ViewVC 1.1.20