blob: cd9d6c047012f7e1dd6050a70a99c544917620af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python3_5 )
DISTUTILS_SINGLE_IMPL=1
DISABLE_AUTOFORMATTING=true
inherit eutils distutils-r1 readme.gentoo git-r3
DESCRIPTION="A cross-platform music tagger"
HOMEPAGE="http://picard.musicbrainz.org/"
SRC_URI=""
EGIT_REPO_URI="git://github.com/metabrainz/picard"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+acoustid +cdda nls"
DEPEND="dev-python/PyQt5[${PYTHON_USEDEP},widgets]
dev-qt/qtgui:4[accessibility]
media-libs/mutagen[${PYTHON_USEDEP}]
acoustid? ( >=media-libs/chromaprint-1.0[tools] )
cdda? ( dev-python/python-discid )"
RDEPEND="${DEPEND}"
RESTRICT="test" # doesn't work with ebuilds
#S=${WORKDIR}/${PN}-release-${PV}
DOCS="AUTHORS.txt NEWS.txt"
DOC_CONTENTS="If you are upgrading Picard and it does not start,
try removing Picard's settings:
rm ~/.config/MusicBrainz/Picard.conf
You should set the environment variable BROWSER to something like
firefox '%s' &
to let python know which browser to use."
src_compile() {
distutils-r1_src_compile $(use nls || echo "--disable-locales")
}
src_install() {
distutils-r1_src_install --disable-autoupdate --skip-build \
$(use nls || echo "--disable-locales")
doicon picard.ico
domenu picard.desktop
readme.gentoo_create_doc
}
|