Diff vdr-undelete-0.0.7 with a vdr-undelete-0.0.7-r1
/usr/portage/media-plugins/vdr-undelete/vdr-undelete-0.0.7-r1.ebuild 2023-10-09 14:52:31.756368407 +0300 | ||
---|---|---|
13 | 13 | |
14 | 14 |
SLOT="0" |
15 | 15 |
LICENSE="GPL-2" |
16 |
KEYWORDS="~amd64 x86" |
|
16 |
KEYWORDS="amd64 ~arm x86" |
|
17 | 17 |
IUSE="" |
18 | 18 | |
19 | 19 |
DEPEND=">=media-video/vdr-1.5.7" |
20 | 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 | ||
35 |
sed -e "s#RemoveEmptyVideoDirectories#cVideoDirectory::RemoveEmptyVideoDirectories#" \ |
|
36 |
-i undelete.c |
|
37 |
fi |
|
38 |
} |