From ecc0e4f402c349707a7e59cf3a33240104efd623 Mon Sep 17 00:00:00 2001 From: XGQT Date: Sun, 12 Apr 2020 20:45:42 +0200 Subject: [PATCH] x11-misc/pscircle: add version 1.3.1 and prepare for non-git builds Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- x11-misc/pscircle/Manifest | 1 + x11-misc/pscircle/pscircle-1.3.1.ebuild | 33 +++++++++++++++++++++++++ x11-misc/pscircle/pscircle-9999.ebuild | 26 +++++++++++++------ 3 files changed, 53 insertions(+), 7 deletions(-) create mode 100644 x11-misc/pscircle/Manifest create mode 100644 x11-misc/pscircle/pscircle-1.3.1.ebuild diff --git a/x11-misc/pscircle/Manifest b/x11-misc/pscircle/Manifest new file mode 100644 index 0000000..e06b667 --- /dev/null +++ b/x11-misc/pscircle/Manifest @@ -0,0 +1 @@ +DIST pscircle-1.3.1.tar.gz 6376531 BLAKE2B 27ab445eaacf5811bdb3eecb5ac24434f60a2e92acc5e267e0b4c19b0518276ba1c220d02bba0304b85b0426a7bf044145029c992092944481e73de6937e7e3d SHA512 cfb0345b6402c14d5a49913c9e7078dc75bd5fedd203d7d1228b0ac523addffbc8ccae670dcb724f6b9e9c7ffdd8cf84b795f74fe4a6885cb0b084432b910608 diff --git a/x11-misc/pscircle/pscircle-1.3.1.ebuild b/x11-misc/pscircle/pscircle-1.3.1.ebuild new file mode 100644 index 0000000..73bf3a0 --- /dev/null +++ b/x11-misc/pscircle/pscircle-1.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Visualizes Linux processes in a radial tree" +HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +RESTRICT="mirror" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + x11-libs/cairo +" +RDEPEND=" + ${DEPEND} + media-libs/libpng + x11-libs/libX11 +" diff --git a/x11-misc/pscircle/pscircle-9999.ebuild b/x11-misc/pscircle/pscircle-9999.ebuild index 549a54f..73bf3a0 100644 --- a/x11-misc/pscircle/pscircle-9999.ebuild +++ b/x11-misc/pscircle/pscircle-9999.ebuild @@ -1,21 +1,33 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 meson +inherit meson -DESCRIPTION="pscircle visualizes Linux processes in a form of radial tree" +DESCRIPTION="Visualizes Linux processes in a radial tree" HOMEPAGE="https://gitlab.com/mildlyparallel/pscircle" -EGIT_REPO_URI="${HOMEPAGE}.git" +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/mildlyparallel/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://gitlab.com/mildlyparallel/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="" -DEPEND="x11-libs/cairo" -RDEPEND="${DEPEND} +DEPEND=" + x11-libs/cairo +" +RDEPEND=" + ${DEPEND} media-libs/libpng x11-libs/libX11 "