blob: 69544d8c0e3082fec4415dadfdc8ee1812b5afca (
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
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop qmake-utils xdg-utils
MY_PN=MP3Diags-unstable
MY_P=${MY_PN}-${PV}
DESCRIPTION="Qt-based MP3 diagnosis and repair tool"
HOMEPAGE="http://mp3diags.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-3 GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-libs/boost:=[threads(+)]
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
sys-libs/zlib
"
RDEPEND="${DEPEND}
dev-qt/qtsvg:5
"
S=${WORKDIR}/${MY_P}
src_prepare() {
# unused dependency - bug #711086
sed -i -e "/^network/d" src/src.pro || die
default
}
src_configure() {
eqmake5 ${PN}.pro
}
src_install() {
dobin bin/${MY_PN}
dodoc changelog.txt
local size
for size in 16 22 24 32 36 40 48; do
insinto /usr/share/icons/hicolor/${size}x${size}/apps
newins desktop/${MY_PN}${size}.png ${MY_PN}.png
done
domenu desktop/${MY_PN}.desktop
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}
|