2015-02-12 12:41:22 +00:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2013-01-06 21:43:57 +00:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-02-12 12:41:22 +00:00
|
|
|
# $Header: x11-misc/tint2/tint2-9999.ebuild,v 1.6 2014/10/31 17:38:41 -tclover Exp $
|
2013-01-06 21:43:57 +00:00
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
EAPI=5
|
2013-01-06 21:43:57 +00:00
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
inherit eutils cmake-utils subversion
|
2013-01-06 21:43:57 +00:00
|
|
|
|
|
|
|
DESCRIPTION="A lightweight panel/taskbar"
|
|
|
|
HOMEPAGE="http://code.google.com/p/tint2/"
|
2015-02-12 12:41:22 +00:00
|
|
|
ESVN_REPO_URI="http://tint2.googlecode.com/svn/trunk/"
|
|
|
|
SRC_URI="https://dl.dropbox.com/s/gmko5d6sy8qjpao/tint2patchfiles.tar.gz"
|
2013-01-06 21:43:57 +00:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2015-02-12 12:41:22 +00:00
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
IUSE="battery examples tint2conf"
|
2013-01-06 21:43:57 +00:00
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
DEPEND="dev-libs/glib:2
|
2013-01-06 21:43:57 +00:00
|
|
|
x11-libs/cairo
|
|
|
|
x11-libs/pango[X]
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXinerama
|
|
|
|
x11-libs/libXdamage
|
|
|
|
x11-libs/libXcomposite
|
|
|
|
x11-libs/libXrender
|
|
|
|
x11-libs/libXrandr
|
2015-02-12 12:41:22 +00:00
|
|
|
media-libs/imlib2[X]
|
2013-01-06 21:43:57 +00:00
|
|
|
virtual/pkgconfig
|
|
|
|
x11-proto/xineramaproto"
|
2015-02-12 12:41:22 +00:00
|
|
|
|
2013-01-06 21:43:57 +00:00
|
|
|
RDEPEND="${COMMON_DEPEND}
|
|
|
|
tint2conf? ( x11-misc/tintwizard )"
|
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
PATCHES=(
|
|
|
|
"${WORKDIR}"/freespace.patch
|
|
|
|
"${WORKDIR}"/launcher_apps_dir-v2.patch
|
|
|
|
"${WORKDIR}"/src-task-align.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
src_unpack()
|
|
|
|
{
|
|
|
|
subversion_src_unpack
|
|
|
|
unpack "${A}"
|
2013-01-06 21:43:57 +00:00
|
|
|
}
|
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
src_prepare()
|
|
|
|
{
|
|
|
|
subversion_src_prepare
|
|
|
|
cmake-utils_src_prepare
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure()
|
|
|
|
{
|
|
|
|
local mycmakeargs=(
|
|
|
|
$(cmake-utils_use_enable battery BATTERY)
|
2013-01-06 21:43:57 +00:00
|
|
|
$(cmake-utils_use_enable examples EXAMPLES)
|
|
|
|
$(cmake-utils_use_enable tint2conf TINT2CONF)
|
|
|
|
|
|
|
|
# bug 296890
|
|
|
|
"-DDOCDIR=/usr/share/doc/${PF}"
|
|
|
|
)
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|
|
|
|
|
2015-02-12 12:41:22 +00:00
|
|
|
src_install()
|
|
|
|
{
|
2013-01-06 21:43:57 +00:00
|
|
|
cmake-utils_src_install
|
|
|
|
rm -f "${D}/usr/bin/tintwizard.py"
|
2015-02-12 12:41:22 +00:00
|
|
|
dodoc
|
2013-01-06 21:43:57 +00:00
|
|
|
}
|
2015-02-12 12:41:22 +00:00
|
|
|
|