diff options
author | 2019-11-07 19:59:16 +0100 | |
---|---|---|
committer | 2019-11-07 20:00:12 +0100 | |
commit | a1808739511245240a6ac3344ca2b43548db4879 (patch) | |
tree | 8efa5db5111c80b15370325450a52f562f5338f9 /x11-misc/tint2/tint2-16.7.ebuild | |
parent | app-vim/vim-tmux: arm64 stable (bug #695252) (diff) | |
download | gentoo-a1808739511245240a6ac3344ca2b43548db4879.tar.gz gentoo-a1808739511245240a6ac3344ca2b43548db4879.tar.bz2 gentoo-a1808739511245240a6ac3344ca2b43548db4879.zip |
x11-misc/tint2: version bump 16.7
Closes: https://bugs.gentoo.org/699542
Submitted-by: Aaron W. Swenson <titanofold@gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'x11-misc/tint2/tint2-16.7.ebuild')
-rw-r--r-- | x11-misc/tint2/tint2-16.7.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/x11-misc/tint2/tint2-16.7.ebuild b/x11-misc/tint2/tint2-16.7.ebuild new file mode 100644 index 000000000000..40278f4826fa --- /dev/null +++ b/x11-misc/tint2/tint2-16.7.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils vcs-snapshot xdg + +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 ~ppc ~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_prepare() { + xdg_src_prepare + cmake-utils_src_prepare +} + +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() { + xdg_pkg_preinst +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +} |