/[gentoo-x86]/media-sound/picard/picard-1.2.ebuild
Gentoo

Contents of /media-sound/picard/picard-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 3 09:56:29 2013 UTC (7 years, 1 month ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Make sure to use chromaprint version that actually works; bug #489920

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-1.2.ebuild,v 1.1 2013/05/20 15:26:44 aballier Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.5"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4 2.6 3.*"
10
11 inherit eutils distutils
12
13 MY_P="${P/_/}"
14 DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt"
15 HOMEPAGE="http://musicbrainz.org/doc/PicardQt"
16 SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${MY_P}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~ppc ~x86"
21 IUSE="+acoustid +cdda nls"
22
23 DEPEND="dev-python/PyQt4[X]
24 media-libs/mutagen
25 acoustid? ( media-libs/chromaprint[tools] )
26 cdda? ( >=media-libs/libdiscid-0.1.1 )
27 "
28 RDEPEND="${DEPEND}"
29
30 # doesn't work with ebuilds
31 RESTRICT="test"
32
33 S="${WORKDIR}/${MY_P}"
34
35 DOCS="AUTHORS.txt NEWS.txt"
36
37 src_compile() {
38 distutils_src_compile $(use nls || echo "--disable-locales")
39 }
40
41 src_install() {
42 distutils_src_install --disable-autoupdate --skip-build \
43 $(use nls || echo "--disable-locales")
44
45 doicon picard.ico
46 domenu picard.desktop
47 }
48
49 pkg_postinst() {
50 distutils_pkg_postinst
51 echo
52 ewarn "If you are upgrading Picard and it does not start"
53 ewarn "try removing Picard's settings:"
54 ewarn " rm ~/.config/MusicBrainz/Picard.conf"
55 elog
56 elog "You should set the environment variable BROWSER to something like"
57 elog "\"firefox '%s' &\" to let python know which browser to use."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20