forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k9copy-2.3.8-r1.ebuild
49 lines (41 loc) · 1.2 KB
/
k9copy-2.3.8-r1.ebuild
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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_DOC_DIRS="doc"
KDE_HANDBOOK="optional"
KDE_LINGUAS="ca cs da de el es es_AR fr it ja nl pl pt_BR ru sr sr@Latn tr uk zh_TW"
KDE_LINGUAS_LIVE_OVERRIDE="true"
MY_P=${P}-Source
KDE_SCM="svn"
inherit kde4-base
ESVN_REPO_URI="https://k9copy.svn.sourceforge.net/svnroot/k9copy/kde4"
ESVN_PROJECT="k9copy"
DESCRIPTION="k9copy is a DVD backup utility which allows the copy of one or more titles from a DVD9 to a DVD5"
HOMEPAGE="http://k9copy.sourceforge.net/"
[[ ${PV} != *9999* ]] && SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="debug mplayer"
DEPEND="
media-libs/libdvdread
media-libs/libmpeg2
media-libs/xine-lib
media-video/ffmpeg
"
RDEPEND="${DEPEND}
media-video/dvdauthor
mplayer? ( media-video/mplayer )
"
DOCS=( README )
S=${WORKDIR}/${MY_P}
PATCHES=(
"${FILESDIR}/${P}-ffmpeg-0.11.patch"
"${FILESDIR}/${P}-includepaths.patch"
"${FILESDIR}/${P}-ffmpeg-2.1.patch"
)
pkg_postinst() {
kde4-base_pkg_postinst
has_version '>=app-cdr/k3b-1.50' || elog "If you want K3b burning support in ${P}, please install app-cdr/k3b separately."
}