diff options
author | Chris Mayo <aklhfex@gmail.com> | 2017-06-24 19:50:04 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2017-07-21 10:45:49 +0200 |
commit | d1948f68d578ce79bde7f7e1d0194929266adc84 (patch) | |
tree | 63ed5c861e851c2404f7332457e43797c63d5d85 /x11-misc/tint2/tint2-0.14.6.ebuild | |
parent | x11-drivers/xf86-input-wacom: version bump to 0.35.0 (diff) | |
download | gentoo-d1948f68d578ce79bde7f7e1d0194929266adc84.tar.gz gentoo-d1948f68d578ce79bde7f7e1d0194929266adc84.tar.bz2 gentoo-d1948f68d578ce79bde7f7e1d0194929266adc84.zip |
x11-misc/tint2: Version bump 0.14.6
Closes:#4982
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'x11-misc/tint2/tint2-0.14.6.ebuild')
-rw-r--r-- | x11-misc/tint2/tint2-0.14.6.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/tint2/tint2-0.14.6.ebuild b/x11-misc/tint2/tint2-0.14.6.ebuild new file mode 100644 index 000000000000..c34f97885496 --- /dev/null +++ b/x11-misc/tint2/tint2-0.14.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils vcs-snapshot + +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 svg startup-notification tint2conf" + +DEPEND=" + dev-libs/glib:2 + svg? ( gnome-base/librsvg:2 ) + >=media-libs/imlib2-1.4.2[X,png] + x11-libs/cairo[X] + x11-libs/pango + 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}" + +src_configure() { + local mycmakeargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -DENABLE_BATTERY="$(usex battery)" + -DENABLE_TINT2CONF="$(usex tint2conf)" + -DENABLE_SN="$(usex startup-notification)" + -DENABLE_RSVG="$(usex svg)" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |