mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-plugins/vdr-streamdev: drop 0.6.1_p20170930
fix pkgcheck issues Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
e5cd21e580
commit
a76655a7e8
@@ -1,2 +1 @@
|
||||
DIST vdr-plugin-streamdev-e2a9b979d3fb92967c7a6a8221e674eb7e55c813.tar.bz2 163403 BLAKE2B 4cacadc091ab8d28ccd4318eaf18aaef8f45e6caab86ef461d1b1047039ec921984ebad091d29420779982b5b37606defe5aa6c6828e8f28788886ba9839efea SHA512 e1eb69f62785178c06fa6700bd1b94ac12f2c58b1a7b8067312613279b59c5ef8157474e27863e8b2d0e47700f67fca7a61595c49809512e9e1efdb27c85eac8
|
||||
DIST vdr-streamdev-0.6.3.tar.gz 196906 BLAKE2B 300c24aac6f0c59fc438eafa9a300e0b68dbfb43064cf887ab9d1fbdc1b22a8ec5349a38fa5c2188ef78dbc1ac7f238e88abe0ed9d1cbcd01e4a1afde7b890cf SHA512 2c949f08f399f2570a54da67809235b6882d594fc5583b27df96b3e87951bcfc62f96c9aef715130540620cbe54f028106598941fe8cbdb80b3d0943009c039f
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit vdr-plugin-2
|
||||
|
||||
GIT_VERSION="e2a9b979d3fb92967c7a6a8221e674eb7e55c813"
|
||||
|
||||
DESCRIPTION="VDR Plugin: Client/Server and http streaming plugin"
|
||||
HOMEPAGE="https://projects.vdr-developer.org/projects/plg-streamdev"
|
||||
SRC_URI="https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git/snapshot/vdr-plugin-streamdev-${GIT_VERSION}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE="client server"
|
||||
REQUIRED_USE="|| ( client server )"
|
||||
|
||||
DEPEND=">=media-video/vdr-2.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/vdr/plugins/libvdr-streamdev-.*
|
||||
usr/lib64/vdr/plugins/libvdr-streamdev-.*"
|
||||
S="${WORKDIR}/vdr-plugin-streamdev-${GIT_VERSION}"
|
||||
|
||||
# vdr-plugin-2.eclass changes
|
||||
PO_SUBDIR="client server"
|
||||
|
||||
src_prepare() {
|
||||
# make detection in vdr-plugin-2.eclass for new Makefile handling happy
|
||||
echo "# SOFILE" >> Makefile || die "modify Makefile failed"
|
||||
|
||||
# rm unneeded entry
|
||||
sed -i Makefile -e "s:-I\$(VDRDIR)/include::" || die "modify Makefile failed"
|
||||
|
||||
vdr-plugin-2_src_prepare
|
||||
|
||||
for flag in client server; do
|
||||
if ! use ${flag}; then
|
||||
sed -i Makefile \
|
||||
-e '/^.PHONY:/s/'${flag}'//' \
|
||||
-e '/^.PHONY:/s/'install-${flag}'//' \
|
||||
-e '/^all:/s/'${flag}'//' \
|
||||
-e '/^install:/s/'install-${flag}'//' || die "modify Makefile failed"
|
||||
fi
|
||||
done
|
||||
|
||||
fix_vdr_libsi_include server/livestreamer.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vdr-plugin-2_src_install
|
||||
|
||||
if use server; then
|
||||
insinto /usr/share/vdr/streamdev
|
||||
doins streamdev-server/externremux.sh
|
||||
|
||||
insinto /usr/share/vdr/rcscript
|
||||
newins "${FILESDIR}"/rc-addon-0.6.0.sh plugin-streamdev-server.sh
|
||||
|
||||
newconfd "${FILESDIR}"/confd-0.6.0 vdr.streamdev-server
|
||||
|
||||
insinto /etc/vdr/plugins/streamdev-server
|
||||
newins streamdev-server/streamdevhosts.conf streamdevhosts.conf
|
||||
fowners vdr:vdr /etc/vdr -R
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vdr-plugin-2_pkg_postinst
|
||||
|
||||
if [[ -e "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf ]]; then
|
||||
einfo "move config file to new config DIR ${EROOT}/etc/vdr/plugins/streamdev-server/"
|
||||
mv "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf "${EROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf
|
||||
fi
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -18,7 +18,6 @@ REQUIRED_USE="|| ( client server )"
|
||||
|
||||
DEPEND="acct-user/vdr
|
||||
>=media-video/vdr-2.3"
|
||||
BDEPEND="${DEPEND}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
@@ -79,6 +78,7 @@ pkg_postinst() {
|
||||
|
||||
if [[ -e "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf ]]; then
|
||||
einfo "move config file to new config DIR ${EROOT}/etc/vdr/plugins/streamdev-server/"
|
||||
mv "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf "${EROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf || die
|
||||
mv "${EROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf \
|
||||
"${EROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf || die
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user