summaryrefslogtreecommitdiff
path: root/kde-misc/chromi/chromi-0.2.ebuild
blob: 0ac4041ffb9e1c6d88c7d63f00e67130f57272b5 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3
inherit kde4-base

RESTRICT="$RESTRICT mirror"

DESCRIPTION="Titlebar-less decoration, inspired by Google Chrome, and Nitrogen minimal mod"
HOMEPAGE="http://kde-look.org/content/show.php/Chromi?content=119069"
SRC_URI="https://download.github.com/jinliu-kwin-deco-chromi-v0.2-0-g4390e63.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~x86"
IUSE=""

S="${WORKDIR}/jinliu-kwin-deco-chromi-4390e63"

DEPEND=">kde-base/kwin-4.4.1"
RDEPEND="${DEPEND}"

src_prepare() {
	kde4-base_src_prepare

	# Prevent a gentoo-specific linking error.
	sed -e 's/${KDE4WORKSPACE_KDECORATIONS_LIBS}/kdecorations/g' \
		-i "${S}"/src/CMakeLists.txt || die "Patching failed!"
}