blob: 14e2819c4301486b2d8a9ffdc193d56e9985123e (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils
DESCRIPTION="Phonon QuickTime7 backend"
HOMEPAGE="https://projects.kde.org/projects/kdesupport/phonon/phonon-quicktime"
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
LICENSE="LGPL-2.1"
KEYWORDS="~ppc-macos ~x64-macos"
SLOT="0"
IUSE="debug"
RDEPEND=">=media-libs/phonon-4.5"
DEPEND="${RDEPEND}
>=dev-util/automoc-0.9.87
media-libs/opengl-apple
sys-devel/gcc-apple[objc]
virtual/pkgconfig
"
# needs OpenGL, how do I specify this properly?
# I just depended on opengl-apple, hope this is what you meant -- grobian
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}/${PN}-noshow.patch"
"${FILESDIR}"/${P}-QWidget-cast-dynamic.patch
"${FILESDIR}"/${P}-darwin11.patch
)
src_prepare() {
cmake-utils_src_prepare # for PATCHES
sed -i -e "/^include_directories/s:): ${EPREFIX}/usr/include):" \
CMakeLists.txt || die
}
|