aboutsummaryrefslogtreecommitdiff
blob: 408093fb5354e2b6811b01081e40bbe0655f8237 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils

DESCRIPTION="Cross-platform C++ binding for the OpenGL API"
HOMEPAGE="https://github.com/cginternals/glbinding"
SRC_URI="https://github.com/cginternals/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="
	>=media-libs/glfw-3.1.1
	"
DEPEND="${RDEPEND}
	>=dev-util/cmake-3.2.2
	"

PATCHES=(
	"${FILESDIR}/${P}"-CMakeLists.patch
)

src_configure() {
	local mycmakeargs=(
	   -DOPTION_BUILD_TESTS=OFF
	   -DOPTION_BUILD_GPU_TESTS=OFF
	   -DOPTION_BUILD_DOCS=OFF
	   -DOPTION_BUILD_EXAMPLES=OFF
	)
	cmake-utils_src_configure
}