summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2022-12-14 12:34:50 +0100
committerAmy Liffey <amynka@gentoo.org>2022-12-14 12:57:42 +0100
commitfa48f080467639fc11ac7f8feb2ddee3dadbf901 (patch)
treeb83f3e1a5665ac7c6183e70d1bdadd45d8b8a44e /x11-misc
parentapp-admin/apache-tools: restore 2.4.52-r2 (diff)
downloadgentoo-fa48f080467639fc11ac7f8feb2ddee3dadbf901.tar.gz
gentoo-fa48f080467639fc11ac7f8feb2ddee3dadbf901.tar.bz2
gentoo-fa48f080467639fc11ac7f8feb2ddee3dadbf901.zip
x11-misc/tint2: version bump 17.1.3
- Change upstream Bug: https://bugs.gentoo.org/833135 Submitted-by: Nikita Zlobin <nick87720z@gmail.com> Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/tint2/Manifest1
-rw-r--r--x11-misc/tint2/metadata.xml1
-rw-r--r--x11-misc/tint2/tint2-17.1.3.ebuild68
3 files changed, 70 insertions, 0 deletions
diff --git a/x11-misc/tint2/Manifest b/x11-misc/tint2/Manifest
index 39e0ea97036b..557c765b4404 100644
--- a/x11-misc/tint2/Manifest
+++ b/x11-misc/tint2/Manifest
@@ -1,3 +1,4 @@
DIST tint2-v16.7.tar.gz 551197 BLAKE2B ef1c5b3dea255e12f6dcea80a29f016e32e48f729f4be3e1fd7421c6fbdbbacde70f42f3052547dca8421b8343d4b41fbf2ea52b07aa4471974f9f0cc6eea7a7 SHA512 a9bb0b55536e09f70b1d14a5748635f5c5ec1b7b22517453a963b240ab593aae43c56e5cbc7b79d5f19103f0e13200faceb2d25afd66c3d941580424ae6d9d31
DIST tint2-v17.0.1.tar.gz 553523 BLAKE2B 112186c95561af22d67707a0d4d17462c3d32bd4c97165066a1c491c628359eabba3563b271a46e980dd65abaf42a4b59dc36c42ee3cdb2b6d6cde616e0acfe5 SHA512 cc887d1d9eb8b69135ec6f1e591c38b374605f36fa7609fc580de6a81f33ec98c74af0ba2ab326f1ae25d52b75d2056a48cc2a76d78da1fd27dfdf7818fe429b
DIST tint2-v17.0.2.tar.gz 553734 BLAKE2B 73cd89757963f1a3c3460a2e8e61891e77eb12b9809590dbbbc00df00d03e82d33d6175c7e3ff4623a3390e35fe1530263915b4574dedfd46d9401fbc90d769f SHA512 9bfdf9ba33183ed60b95f73e58d9c1c22af83e9973a0e07ff2825d66d19c7103364426753a07eaecd4dbca278dfc6e22737bc6ce38d9b577b65f672f146e7aa2
+DIST tint2-v17.1.3.tar.gz 573472 BLAKE2B 459833b0bde126bd99f7aa016df81ca81866d641ff8b55c54d397c7eef7f80b2bcb219d56dfdb42e10d21f09856d2d97fafe712c1b9f6002f6f0350c4dbc3685 SHA512 dfdfd011d35130955f243bf390f014fcc691448f284d635a9238616595155a3cd815aa229fd570ae58e94c58b439ae1545f7e13090e174117c50ca48679d0135
diff --git a/x11-misc/tint2/metadata.xml b/x11-misc/tint2/metadata.xml
index ac98df0a3697..ede6d14f0e56 100644
--- a/x11-misc/tint2/metadata.xml
+++ b/x11-misc/tint2/metadata.xml
@@ -7,6 +7,7 @@
<use>
<flag name="battery">Enable battery status plugin</flag>
<flag name="tint2conf">Build/Install tint2conf as well</flag>
+ <flag name="sanitize">Enable ASAN</flag>
</use>
<longdescription lang="en">tint2 is a simple panel/taskbar intentionally made for
<pkg>x11-wm/openbox</pkg>3, but should also work with other window managers.
diff --git a/x11-misc/tint2/tint2-17.1.3.ebuild b/x11-misc/tint2/tint2-17.1.3.ebuild
new file mode 100644
index 000000000000..0c3ec79c99a1
--- /dev/null
+++ b/x11-misc/tint2/tint2-17.1.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Lightweight panel/taskbar for Linux"
+HOMEPAGE="https://gitlab.com/nick87720z/tint2"
+SRC_URI="https://gitlab.com/nick87720z/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
+S=${WORKDIR}/${PN}-v${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
+IUSE="battery debug startup-notification sanitize svg 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+:3 )
+ 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 )
+ debug? (
+ sys-libs/libunwind
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+ xdg_environment_reset
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
+ -DENABLE_ASAN=$(usex sanitize)
+ -DENABLE_BATTERY=$(usex battery)
+ -DENABLE_TINT2CONF=$(usex tint2conf)
+ -DENABLE_SN=$(usex startup-notification)
+ -DENABLE_RSVG=$(usex svg)
+ -DENABLE_BACKTRACE=$(usex debug)
+ -DENABLE_BACKTRACE_ON_SIGNAL=$(usex debug)
+ -DENABLE_TRACING=$(usex debug)
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ xdg_icon_cache_update
+}