|
Line
Link Here
|
| 0 |
-- /usr/portage/x11-misc/tint2/tint2-0.11-r2.ebuild 2015-04-04 20:15:21.000000000 +0400 |
0 |
++ tint2-0.12.1.ebuild 2015-08-07 02:18:19.545775613 +0400 |
|
Lines 1-16
Link Here
|
| 1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/tint2/tint2-0.11-r2.ebuild,v 1.1 2015/04/04 16:15:21 kensington Exp $ |
3 |
# $Header: |
| 4 |
|
4 |
|
| 5 |
EAPI="5" |
5 |
EAPI="5" |
| 6 |
|
6 |
|
| 7 |
inherit cmake-utils |
7 |
inherit cmake-utils git-r3 |
| 8 |
|
8 |
|
| 9 |
MY_P="${PN}-${PV/_/-}" |
9 |
MY_P="${PN}-${PV/_/-}" |
| 10 |
|
10 |
|
| 11 |
DESCRIPTION="A lightweight panel/taskbar" |
11 |
DESCRIPTION="A lightweight panel/taskbar" |
| 12 |
HOMEPAGE="http://code.google.com/p/tint2/" |
12 |
HOMEPAGE="https://gitlab.com/o9000/tint2" |
| 13 |
SRC_URI="http://tint2.googlecode.com/files/${MY_P}.tar.bz2" |
13 |
EGIT_REPO_URI="https://gitlab.com/o9000/tint2.git" |
| 14 |
|
14 |
|
| 15 |
LICENSE="GPL-2" |
15 |
LICENSE="GPL-2" |
| 16 |
SLOT="0" |
16 |
SLOT="0" |
|
Lines 18-32
Link Here
|
| 18 |
IUSE="battery examples tint2conf" |
18 |
IUSE="battery examples tint2conf" |
| 19 |
|
19 |
|
| 20 |
COMMON_DEPEND="dev-libs/glib:2 |
20 |
COMMON_DEPEND="dev-libs/glib:2 |
|
|
21 |
gnome-base/librsvg:2 |
| 22 |
media-libs/imlib2[X] |
| 21 |
x11-libs/cairo |
23 |
x11-libs/cairo |
| 22 |
x11-libs/pango[X] |
|
|
| 23 |
x11-libs/libX11 |
24 |
x11-libs/libX11 |
| 24 |
x11-libs/libXinerama |
|
|
| 25 |
x11-libs/libXdamage |
| 26 |
x11-libs/libXcomposite |
25 |
x11-libs/libXcomposite |
| 27 |
x11-libs/libXrender |
26 |
x11-libs/libXdamage |
|
|
27 |
x11-libs/libXinerama |
| 28 |
x11-libs/libXrandr |
28 |
x11-libs/libXrandr |
| 29 |
media-libs/imlib2[X]" |
29 |
x11-libs/libXrender |
|
|
30 |
x11-libs/pango[X] |
| 31 |
x11-libs/startup-notification" |
| 30 |
DEPEND="${COMMON_DEPEND} |
32 |
DEPEND="${COMMON_DEPEND} |
| 31 |
virtual/pkgconfig |
33 |
virtual/pkgconfig |
| 32 |
x11-proto/xineramaproto" |
34 |
x11-proto/xineramaproto" |
|
Lines 35-41
Link Here
|
| 35 |
|
37 |
|
| 36 |
S="${WORKDIR}/${MY_P}" |
38 |
S="${WORKDIR}/${MY_P}" |
| 37 |
|
39 |
|
| 38 |
PATCHES=( "${FILESDIR}/battery_segfault.patch" ) # bug 343963 |
40 |
src_prepare() { |
|
|
41 |
epatch "${FILESDIR}/${PN}-0.12-cmake.patch" |
| 42 |
} |
| 39 |
|
43 |
|
| 40 |
src_configure() { |
44 |
src_configure() { |
| 41 |
local mycmakeargs=( |
45 |
local mycmakeargs=( |
|
Lines 54-56
Link Here
|
| 54 |
cmake-utils_src_install |
58 |
cmake-utils_src_install |
| 55 |
rm -f "${D}/usr/bin/tintwizard.py" |
59 |
rm -f "${D}/usr/bin/tintwizard.py" |
| 56 |
} |
60 |
} |
|
|
61 |
|
| 62 |
pkg_postinst() { |
| 63 |
gtk-update-icon-cache -f -t "${ROOT}"/icons/hicolor |
| 64 |
} |