blob: 1a096aa3435856b18e5ad6cebf643c9580685eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vdr-plugin-2
VERSION="2193" #every bump, new version
DESCRIPTION="VDR Plugin: Output Device for Raspberry Pi"
HOMEPAGE="https://projects.vdr-developer.org/projects/plg-rpihddevice"
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
KEYWORDS="~arm"
SLOT="0"
LICENSE="GPL-2"
DEPEND="media-libs/raspberrypi-userland
media-video/vdr
virtual/ffmpeg"
src_prepare() {
sed -i "${S}"/Makefile -e '/LDFLAGS.*VCLIBDIR/s/$/ -Wl,--no-as-needed/' || die "sed failed"
# media-libs/raspberrypi-userland to old on gentoo...
sed -e "s:-lbrcmGLESv2:-lGLESv2:" \
-e "s:-lbrcmEGL:-lEGL:" \
-i "${S}"/Makefile || die "sed failed"
vdr-plugin-2_src_prepare
}
|