Diff vdr-undelete-0.0.7-r1 with a vdr-undelete-2.3.1_pre1
/usr/portage/media-plugins/vdr-undelete/vdr-undelete-2.3.1_pre1.ebuild 2023-10-09 14:52:31.756368407 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2018 Gentoo Foundation |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 | 6 |
inherit vdr-plugin-2 |
7 | 7 | |
8 |
VERSION="1060" # every bump, new version! |
|
9 | ||
10 | 8 |
DESCRIPTION="VDR Plugin: Recover deleted recordings of VDR" |
11 |
HOMEPAGE="https://projects.vdr-developer.org/projects/plg-undelete" |
|
12 |
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" |
|
9 |
HOMEPAGE="http://phivdr.dyndns.org/vdr/" |
|
10 |
SRC_URI="http://phivdr.dyndns.org/vdr/vdr-undelete/vdr-undelete-${PV/_pre/-pre}.tgz -> ${P}.tgz" |
|
11 |
S="${WORKDIR}"/${PN/vdr-}-${PV/_pre/-pre} |
|
13 | 12 | |
14 | 13 |
SLOT="0" |
15 | 14 |
LICENSE="GPL-2" |
16 | 15 |
KEYWORDS="amd64 ~arm x86" |
17 |
IUSE="" |
|
18 | ||
19 |
DEPEND=">=media-video/vdr-1.5.7" |
|
20 |
RDEPEND="${DEPEND}" |
|
21 | ||
22 |
src_prepare() { |
|
23 |
vdr-plugin-2_src_prepare |
|
24 | ||
25 |
if has_version ">=media-video/vdr-2.1.2"; then |
|
26 |
sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ |
|
27 |
-i menuundelete.c |
|
28 | ||
29 |
sed -e "s#RemoveVideoFile#cVideoDirectory::RemoveVideoFile#" \ |
|
30 |
-i undelete.c menuundelete.c |
|
31 | ||
32 |
sed -e "s#RenameVideoFile#cVideoDirectory::RenameVideoFile#" \ |
|
33 |
-i undelete.c menuundelete.c |
|
34 | 16 | |
35 |
sed -e "s#RemoveEmptyVideoDirectories#cVideoDirectory::RemoveEmptyVideoDirectories#" \ |
|
36 |
-i undelete.c |
|
37 |
fi |
|
38 |
} |
|
17 |
DEPEND="media-video/vdr" |