You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
619 B
29 lines
619 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit vdr-plugin-2
|
|
|
|
DESCRIPTION="VDR plugin: (Un)Mount removable media via osd"
|
|
HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Mount-plugin"
|
|
SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
SLOT="0"
|
|
LICENSE="GPL-2"
|
|
IUSE=""
|
|
|
|
DEPEND="media-video/vdr"
|
|
|
|
PATCHES=("${FILESDIR}/${P}-makefile-fix.diff")
|
|
|
|
src_prepare() {
|
|
vdr-plugin-2_src_prepare
|
|
|
|
if has_version ">=media-video/vdr-2.1.2"; then
|
|
sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \
|
|
-i MediumItem.C
|
|
fi
|
|
}
|