blob: 30cfbd9acb38867a5a9335bc397335853ce5ab1e (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="QtGain"
inherit desktop qmake-utils
DESCRIPTION="Simple frontend to mp3gain, vorbisgain and metaflac"
HOMEPAGE="https://www.linux-apps.com/content/show.php/QtGain?content=56842"
SRC_URI="https://dl.opendesktop.org/api/files/download/id/1466640864/56842-${MY_PN}_${PV}.zip"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flac mp3 mp4 vorbis"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}
app-arch/unzip
"
S="${WORKDIR}/${PN}"
src_configure() {
eqmake5 ${MY_PN}.pro
}
src_install() {
dobin bin/${PN}
newicon Icons/lsongs.png ${PN}.png
make_desktop_entry ${PN} ${MY_PN}
}
pkg_postinst() {
elog "Additional features can be enabled by installing optional packages:"
elog ""
elog "media-libs/flac - flac support"
elog "media-sound/aacgain - aac support"
elog "media-sound/mp3gain - mp3 support"
elog "media-sound/vorbisgain - vorbis support"
elog "media-sound/id3v2 - mass renamer and cover downloader"
}
|