Сравнение vdr-avards-0.2.4 с vdr-avards-0.2.6
/usr/portage/media-plugins/vdr-avards/vdr-avards-0.2.6.ebuild 2023-10-09 14:52:31.744368407 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
12 | 12 |
LICENSE="GPL-2+" |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="amd64 x86" |
15 |
IUSE="" |
|
16 | 15 | |
17 |
DEPEND=">=media-video/vdr-1.6.0" |
|
18 |
RDEPEND="${DEPEND}" |
|
16 |
DEPEND="media-video/vdr" |
|
19 | 17 | |
20 | 18 |
src_prepare() { |
21 | 19 |
vdr-plugin-2_src_prepare |
22 | 20 | |
23 |
sed -i "s:i18n.c:i18n.h:g" Makefile |
|
24 | ||
25 |
if ! has_version ">=media-video/vdr-1.7.13"; then |
|
26 |
sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile |
|
27 |
fi |
|
28 | ||
29 |
# fix deprecated i18n handling >=vdr-1.7.27 |
|
30 |
sed -i "s:i18n.o::" Makefile || die "sed makefile faild" |
|
31 |
sed -i "s:extern://extern:" i18n.h || die "sed i18n.h failed" |
|
21 |
# revert wrong implementation of vdr-2.4. feature |
|
22 |
sed -i Makefile \ |
|
23 |
-e "s:\$(INCLUDES) -o \$@ \$<:\$(INCLUDES) -o \$<:" || die |
|
32 | 24 |
} |