3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
MY_PN=${PN}3
|
|
6 |
MY_PN=${PN}2
|
7 |
7 |
MY_P=${MY_PN}-${PV}
|
8 |
8 |
inherit cmake-multilib
|
9 |
9 |
|
10 |
|
DESCRIPTION="Official GTK+:3 port of KDE's Oxygen widget style"
|
|
10 |
DESCRIPTION="Official GTK+:2 port of KDE's Oxygen widget style"
|
11 |
11 |
HOMEPAGE="https://store.kde.org/p/1005553/"
|
12 |
12 |
SRC_URI="mirror://kde/stable/${MY_PN}/${PV}/src/${MY_P}.tar.bz2"
|
13 |
13 |
S="${WORKDIR}/${MY_P}"
|
14 |
14 |
|
15 |
15 |
LICENSE="LGPL-2.1"
|
16 |
|
SLOT="3"
|
|
16 |
SLOT="2"
|
17 |
17 |
KEYWORDS="amd64 ~ppc x86"
|
18 |
18 |
|
19 |
19 |
DEPEND="
|
... | ... | |
21 |
21 |
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
22 |
22 |
x11-libs/cairo[${MULTILIB_USEDEP}]
|
23 |
23 |
x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
|
24 |
|
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
|
24 |
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
25 |
25 |
x11-libs/libX11[${MULTILIB_USEDEP}]
|
26 |
26 |
x11-libs/pango[${MULTILIB_USEDEP}]
|
27 |
27 |
"
|
... | ... | |
31 |
31 |
BDEPEND="virtual/pkgconfig"
|
32 |
32 |
|
33 |
33 |
PATCHES=(
|
34 |
|
"${FILESDIR}/${P}-gtk-3.14.patch"
|
35 |
|
"${FILESDIR}/${PN}-1.4.6-demo-optional.patch"
|
36 |
|
"${FILESDIR}/${PN}-1.4.6-tabstyle.patch"
|
|
34 |
"${FILESDIR}/${P}-xul.patch"
|
|
35 |
"${FILESDIR}/${P}-eclipse.patch"
|
|
36 |
"${FILESDIR}/${P}-qtpaths.patch"
|
|
37 |
"${FILESDIR}/${P}-warning.patch"
|
|
38 |
"${FILESDIR}/${P}-demo-optional.patch"
|
|
39 |
"${FILESDIR}/${P}-tabstyle.patch"
|
37 |
40 |
)
|
38 |
41 |
|
39 |
42 |
multilib_src_configure() {
|
... | ... | |
48 |
51 |
src_install() {
|
49 |
52 |
cmake-multilib_src_install
|
50 |
53 |
|
51 |
|
cat <<-EOF > 99oxygen-gtk3
|
52 |
|
CONFIG_PROTECT="${EPREFIX}/usr/share/themes/oxygen-gtk/gtk-3.0"
|
|
54 |
cat <<-EOF > 99oxygen-gtk2
|
|
55 |
CONFIG_PROTECT="${EPREFIX}/usr/share/themes/oxygen-gtk/gtk-2.0"
|
53 |
56 |
EOF
|
54 |
|
doenvd 99oxygen-gtk3
|
|
57 |
doenvd 99oxygen-gtk2
|
55 |
58 |
}
|