commit:     708d3ab5cda83a5d68469c1379f44a06b74529e1
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Thu Dec 17 14:31:42 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Dec 17 14:36:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=708d3ab5

media-video/wlrobs: Version 1.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com>

 media-video/wlrobs/Manifest                                |  1 +
 .../wlrobs/{wlrobs-9999.ebuild => wlrobs-1.0.ebuild}       | 14 +++++++++++---
 media-video/wlrobs/wlrobs-9999.ebuild                      | 14 +++++++++++---
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/media-video/wlrobs/Manifest b/media-video/wlrobs/Manifest
new file mode 100644
index 00000000..bb7a62d9
--- /dev/null
+++ b/media-video/wlrobs/Manifest
@@ -0,0 +1 @@
+DIST v1.0.tar.gz 54998 BLAKE2B 
b4e3975d9bc7b0b8dc5721448b29aa95a2c17284fbab5db738ede9998ae9add2a984fa1f1e1d9fa5fe281cef58edd0dd525a358f12c3271cad9a357a101a7b48
 SHA512 
846f0c0ca780296c2704bfc05c96dd1cb9579bcd29b24abe03567abad4c3d8276712c524e79080c8f0632726ad3b6b1e793d4cea0a81a1aa3e7689595fec01cf

diff --git a/media-video/wlrobs/wlrobs-9999.ebuild 
b/media-video/wlrobs/wlrobs-1.0.ebuild
similarity index 73%
copy from media-video/wlrobs/wlrobs-9999.ebuild
copy to media-video/wlrobs/wlrobs-1.0.ebuild
index ad949f80..ac0accf6 100644
--- a/media-video/wlrobs/wlrobs-9999.ebuild
+++ b/media-video/wlrobs/wlrobs-1.0.ebuild
@@ -3,16 +3,24 @@
 
 EAPI=7
 
-inherit mercurial meson
+inherit meson
+
+if [ "${PV}" == 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wlrobs/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="OBS plugin that allows you to screen capture on wlroots based 
compositors"
 HOMEPAGE="https://hg.sr.ht/~scoopta/wlrobs";
-EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs";
 
 LICENSE="GPL-3"
 
 SLOT="0"
-KEYWORDS=""
 
 IUSE="+dmabuf +scpy"
 

diff --git a/media-video/wlrobs/wlrobs-9999.ebuild 
b/media-video/wlrobs/wlrobs-9999.ebuild
index ad949f80..ac0accf6 100644
--- a/media-video/wlrobs/wlrobs-9999.ebuild
+++ b/media-video/wlrobs/wlrobs-9999.ebuild
@@ -3,16 +3,24 @@
 
 EAPI=7
 
-inherit mercurial meson
+inherit meson
+
+if [ "${PV}" == 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wlrobs/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="OBS plugin that allows you to screen capture on wlroots based 
compositors"
 HOMEPAGE="https://hg.sr.ht/~scoopta/wlrobs";
-EHG_REPO_URI="https://hg.sr.ht/~scoopta/wlrobs";
 
 LICENSE="GPL-3"
 
 SLOT="0"
-KEYWORDS=""
 
 IUSE="+dmabuf +scpy"
 

Reply via email to