diff options
author | Amy Winston <amynka@gentoo.org> | 2015-12-27 20:58:19 +0100 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2015-12-27 20:58:19 +0100 |
commit | ca2302350f8bbe7675f907ace7b7ec398f1435d2 (patch) | |
tree | 50bf9fabd79a54470b32756379f909069e938c49 /x11-misc/tint2/tint2-0.12.3.ebuild | |
parent | app-emulation/docker-swarm: version bump to 1.0.1 (diff) | |
download | gentoo-ca2302350f8bbe7675f907ace7b7ec398f1435d2.tar.gz gentoo-ca2302350f8bbe7675f907ace7b7ec398f1435d2.tar.bz2 gentoo-ca2302350f8bbe7675f907ace7b7ec398f1435d2.zip |
x11-misc/tint2: version bump 0.12.3 bug #565876.Thanks Anthony Parsons.
Package-Manager: portage-2.2.24
Diffstat (limited to 'x11-misc/tint2/tint2-0.12.3.ebuild')
-rw-r--r-- | x11-misc/tint2/tint2-0.12.3.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/x11-misc/tint2/tint2-0.12.3.ebuild b/x11-misc/tint2/tint2-0.12.3.ebuild new file mode 100644 index 000000000000..c2415d390047 --- /dev/null +++ b/x11-misc/tint2/tint2-0.12.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="tint2 is a lightweight panel/taskbar for Linux." +HOMEPAGE="https://gitlab.com/o9000/tint2" +SRC_URI="https://gitlab.com/o9000/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="battery examples svg startup-notification tint2conf" + +DEPEND=" + dev-libs/glib:2 + svg? ( gnome-base/librsvg:2 ) + >=media-libs/imlib2-1.4.2[X] + x11-libs/cairo + x11-libs/pango[X] + tint2conf? ( x11-libs/gtk+:2 ) + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXinerama + >=x11-libs/libXrandr-1.3 + x11-libs/libXrender + startup-notification? ( x11-libs/startup-notification ) + " +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-v${PV}" + +PATCHES=( "${FILESDIR}/${PV}-no-hardcode-update-icon-cache.patch" ) + +src_unpack() { + default + # Chop off the SHA1 gitlab's automated tarballs inject + mv "${PN}-v${PV}-"* "${PN}-v${PV}" +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable battery BATTERY) + $(cmake-utils_use_enable examples EXAMPLES) + $(cmake-utils_use_enable tint2conf TINT2CONF) + $(cmake-utils_use_enable startup-notification SN) + $(cmake-utils_use_enable svg RSVG) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |