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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 2 05:24:47 2015 UTC (5 years, 11 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old

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

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

  ViewVC Help
Powered by ViewVC 1.1.20