summaryrefslogtreecommitdiff
blob: 8e21306db615c15434bdb3b380f2a10918e28bfe (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.8 2005/11/26 14:47:50 metalgod 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
}