blob: 8cb638cadef1f1ad97e08f320a3af3c6330f22ce (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r2.ebuild,v 1.1 2008/08/09 22:18:48 wormo Exp $
ARTS_REQUIRED="never"
inherit kde
MY_PN="gtk-qt-engine"
DESCRIPTION="GTK+2 Qt 3 Theme Engine"
HOMEPAGE="http://gtk-qt.ecs.soton.ac.uk"
SRC_URI="http://gtk-qt.ecs.soton.ac.uk/files/${PV}/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
LANGS="bg de es fr it nn ru sv tr"
for X in ${LANGS}; do IUSE="${IUSE} linguas_${X}"; done
DEPEND=">=x11-libs/gtk+-2.2
dev-util/cmake"
# the little gnome_apps.png...
RDEPEND="|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* )
>=x11-libs/gtk+-2.2"
need-kde 3.5
# Set slot after the need-kde. Fixes bug #78455.
SLOT="2"
S="${WORKDIR}/${MY_PN}"
PATCHES="${FILESDIR}/gtk-engines-qt-0.8-konq-flash.patch"
src_install() {
kde_src_install
mv "${D}"/usr/local/share/applications "${D}"/usr/share/ || die
# only install requested translations (bug #205940)
strip-linguas ${LANGS}
dodir /usr/share/locale
for lang in ${LINGUAS}; do
mv "${D}"/usr/local/share/locale/$lang "${D}"/usr/share/locale || die
done
rm -rf "${D}"/usr/local/share
}
|