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 "