blob: 1778a47f43c2779a2ba843dbfdb1f91fc2702804 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
XORG_MULTILIB=yes
XORG_EAUTORECONF=yes
inherit xorg-2
DESCRIPTION="Open Source implementation of the OpenMAX Integration Layer"
HOMEPAGE="http://omxil.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN:3:5}/${P}.tar.gz mirror://ubuntu/pool/universe/${PN:0:4}/${PN}/${PN}_${PV}-1ubuntu2.debian.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+audioeffects +clocksrc debug doc +videoscheduler"
RDEPEND=""
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
"
src_prepare() {
PATCHES=(
"${WORKDIR}"/debian/patches/*.patch
"${FILESDIR}"/${P}-dynamicloader-linking.patch
"${FILESDIR}"/${P}-parallel-build.patch
"${FILESDIR}"/${P}-version.patch
"${FILESDIR}"/${P}-gcc5.patch
)
xorg-2_src_prepare
}
src_configure() {
XORG_CONFIGURE_OPTIONS="
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
$(use_enable audioeffects) \
$(use_enable clocksrc) \
$(use_enable debug) \
$(use_enable doc) \
$(use_enable videoscheduler)
"
xorg-2_src_configure
}
|