blob: 631f6958c41a3917bd60029078033cab41307628 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils qmake-utils
DESCRIPTION="Application to edit and synchronize lyrics with karaoke songs in various formats"
HOMEPAGE="http://www.ulduzsoft.com/linux/karaoke-lyrics-editor/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libav qt5"
RDEPEND="
dev-libs/openssl:0
media-libs/libsdl[sound]
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
!qt5? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
libav? ( media-video/libav:= )
!libav? ( media-video/ffmpeg:= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${PN}-1.11-libav.patch"
"${FILESDIR}/${PN}-2.1-ffmpeg3.patch"
"${FILESDIR}/${PN}-2.1-qt55.patch"
)
src_configure() {
if use qt5; then
eqmake5 "${PN}.pro"
else
eqmake4 "${PN}.pro"
fi
}
src_install() {
dodoc Changelog
dobin bin/${PN}
doicon packages/${PN}.png
make_desktop_entry ${PN} 'Karaoke Lyrics Editor'
}
|