summaryrefslogtreecommitdiff
blob: 6ce77de03faac5ebc94ec098a9851b8f3b4836f9 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/baghira/baghira-0.6e-r1.ebuild,v 1.7 2005/10/02 19:25:23 agriffis Exp $

inherit kde

DESCRIPTION="Baghira - an OS-X like style for KDE"
HOMEPAGE="http://baghira.sourceforge.net/"
SRC_URI="mirror://sourceforge/baghira/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ppc sparc x86"
IUSE=""

DEPEND="|| ( kde-base/kwin >=kde-base/kdebase-3.3 )"

need-kde 3.3

src_unpack() {
	kde_src_unpack
	if [	`kde-config --version | 		\
			grep KDE | awk '{print $2}' | 	\
			awk -F. '{ print $1$2 }'` 		\
		-lt 34 ]; then
		cd ${S}/deco && epatch ${FILESDIR}/${P}-drop_resize_handle.patch
	fi
}