commit:     689ca28651c95005dbc623169c286c8c7832be52
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 12:36:08 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 12:36:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689ca286

x11-misc/tint2: version bump 16.1

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 x11-misc/tint2/Manifest          |  1 +
 x11-misc/tint2/tint2-16.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest
index eedb41e0b34..e76a47b67ef 100644
--- a/x11-misc/tint2/Manifest
+++ b/x11-misc/tint2/Manifest
@@ -1,3 +1,4 @@
 DIST tint2-0.12.12.tar.gz 469724 BLAKE2B 
cfb9eb702680e23f7f9c9b98c8853d1e059a4d189347496eaa9e667bb91852b66dfc451d310d0194971b03c8a68ba60a596b380cae046e3d34a75a65523f2bf6
 SHA512 
10a1f42df6a66f6e092d69cd0ea3d900dcef57b06391206d950a1d7f576a880829bb44d00828a030d3172184db238a22f205169c12cc32cf42c6321d61929a8c
 DIST tint2-0.14.6.tar.gz 466533 BLAKE2B 
c7308771e8a5a7d49410d99779ee54fd19b7d5b71d6c04eb3835100f74df5c12d692b50ce57a2a31f4956c09e404acd8cfd2bd1ef87e6fc55f21f583f5a13977
 SHA512 
eb1505bef932aa0cd0291dc762d3c9cbe760e3fea0684fc604aa3cae3f5ddf63e5b791db745eb29384e4732e6de09a01084f3ce2a92931b431cdf69a59b1f6da
 DIST tint2-15.3.tar.gz 500301 BLAKE2B 
b8b405f1c56c3de41f672dc02acef893b0650fadca9a4823c7b249661e8675e01c92c9c1588d32c2836596f34c4dbc1e5d2608cff3c75590d7eeac9e925eb874
 SHA512 
41ae8f8e3aac6fe55539c531889ec2883534072ad398f0693e4bfd39c80dd4c64d635a36e063f741fe89fd461f66f92adf6acdde553e0f8b169992d94dc0e344
+DIST tint2-16.1.tar.gz 534354 BLAKE2B 
540287bd952ba8b54372d45055efe216dc4d9d192e33d6f83f2c734e97b9e350c7be0cb3e19d414f4e11c0bb7b505307899dea9c10ac382737a2507f7df4fdcc
 SHA512 
c6319d5692d53e56c150906c32c794ee4237e06455efb68527b379b4ae00c48d996c63ea02ee6aefc70266335eb4cb08b4731556075c46d435b7861de6eefd3c

diff --git a/x11-misc/tint2/tint2-16.1.ebuild b/x11-misc/tint2/tint2-16.1.ebuild
new file mode 100644
index 00000000000..f7cbd25ca6f
--- /dev/null
+++ b/x11-misc/tint2/tint2-16.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 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
+}

Reply via email to