summaryrefslogtreecommitdiff
path: root/kde-misc/bekwinfx/bekwinfx-9999.ebuild
blob: d45c701dadd8ff17aedcd1a914cba30a88a50c75 (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
46
47
48
49
50
51
52
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

if [ ${PV} != "9999" ]; then
	GIT_REV="8a4ec9bae5880fcc5177c7846b50698f6e6a5c7b"
	SRC_URI="http://sourceforge.net/code-snapshots/git/b/be/${PN}/code.git/${PN}-code-${GIT_REV}.zip
			-> ${P}.zip"
	KEYWORDS="~amd64 ~x86"
fi

KDE_MINIMAL="4.10"
OPENGL_REQUIRED=always

inherit kde4-base

if [ ${PV} == "9999" ]; then
	EGIT_REPO_URI="http://git.code.sf.net/p/bekwinfx/code"
	KEYWORDS=""
fi

DESCRIPTION="BE::KWinFW Several 3rd party plugins for the KDE KWin compositor."
HOMEPAGE="http://sourceforge.net/projects/bekwinfx/"

DEPEND="
	$(add_kdebase_dep kwin)
	xrandr? ( kde-base/kephal )
	gles? ( kde-base/kwin[gles] )"
RDEPEND="
	${DEPEND}"
LICENSE="GPL-2"
SLOT="4"
IUSE="+beclock +beanimated +befaded bereflected bedistorted debug gles +xrandr"

S="${WORKDIR}/${PN}-code-${GIT_REV}"

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_build beclock CLOCK)
		$(cmake-utils_use_build beanimated ANIMATED)
		$(cmake-utils_use_build befaded FADED)
		$(cmake-utils_use_build bereflected REFLECTED)
		$(cmake-utils_use_build bedistorted DISTORTED)
	)
	kde4-base_src_configure
}

pkg_postinst() {
	elog "You need active desktop effects to use this effects."
}