/[gentoo-x86]/media-sound/easytag/easytag-2.1.7-r2.ebuild
Gentoo

Contents of /media-sound/easytag/easytag-2.1.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Jul 29 17:36:56 2012 UTC (23 months, 3 weeks ago) by armin76
Branch: MAIN
Changes since 1.9: +2 -2 lines
alpha/sparc stable wrt #376391

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/easytag-2.1.7-r2.ebuild,v 1.9 2012/06/03 02:27:46 xmw Exp $
4
5 EAPI=4
6 inherit eutils fdo-mime
7
8 DESCRIPTION="GTK+ utility for editing MP2, MP3, MP4, FLAC, Ogg and other media tags"
9 HOMEPAGE="http://easytag.sourceforge.net"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
15 IUSE="flac mp3 mp4 speex vorbis wavpack"
16
17 RDEPEND=">=x11-libs/gtk+-2.12:2
18 mp3? (
19 >=media-libs/id3lib-3.8.3-r7
20 media-libs/libid3tag
21 )
22 flac? (
23 media-libs/flac
24 media-libs/libvorbis
25 )
26 mp4? ( >=media-libs/libmp4v2-1.9.1:0 )
27 vorbis? ( media-libs/libvorbis )
28 wavpack? ( media-sound/wavpack )
29 speex? (
30 media-libs/speex
31 media-libs/libvorbis
32 )"
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig
35 sys-devel/gettext"
36
37 DOCS=( ChangeLog README THANKS TODO USERS-GUIDE )
38
39 src_prepare() {
40 epatch \
41 "${FILESDIR}"/${PN}-2.1.7-gold.patch \
42 "${FILESDIR}"/${PN}-2.1.6-load-from-txt.patch
43
44 has_version '>=media-libs/libmp4v2-1.9.1_p479' && \
45 epatch "${FILESDIR}"/${PN}-2.1.7-new_libmp4v2.patch
46 }
47
48 src_configure() {
49 econf \
50 $(use_enable mp3) \
51 $(use_enable mp3 id3v23) \
52 $(use_enable vorbis ogg) \
53 $(use_enable flac) \
54 $(use_enable mp4) \
55 $(use_enable wavpack) \
56 $(use_enable speex)
57 }
58
59 pkg_postinst() { fdo-mime_desktop_database_update; }
60 pkg_postrm() { fdo-mime_desktop_database_update; }

  ViewVC Help
Powered by ViewVC 1.1.20