commit:     8c3a2a93d6d7a245cbb8445d33065d9115947784
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Tue Nov 21 08:43:02 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Tue Nov 21 08:43:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c3a2a93

media-video/mediaelch: fullfil GURU regulations

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/mediaelch-2.10.4.ebuild | 21 ++++++++++++---------
 media-video/mediaelch/mediaelch-9999.ebuild   | 21 ++++++++++++---------
 2 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild 
b/media-video/mediaelch/mediaelch-2.10.4.ebuild
index 1ecc1e1c10..602f874c17 100644
--- a/media-video/mediaelch/mediaelch-2.10.4.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.4.ebuild
@@ -1,28 +1,31 @@
-EAPI=7
-inherit cmake
+# Copyright 2021-223 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
 
-MY_PN=MediaElch
-S=$WORKDIR/$MY_PN-$PV
+EAPI=8
+
+inherit cmake
 
 DESCRIPTION="Video metadata scraper"
 HOMEPAGE="https://www.mediaelch.de/";
 
-IUSE="debug"
+MY_PN=MediaElch
 
 if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/Komet/MediaElch";
+       EGIT_REPO_URI="https://github.com/Komet/$MY_PN";
        EGIT_BRANCH="master"
        EGIT_SUBMODULES=()
        inherit git-r3
-       S="${WORKDIR}/mediaelch-9999"
+       S="${WORKDIR}/${PN}-9999"
 else
        RESTRICT="mirror"
        SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="amd64"
+       KEYWORDS="~amd64"
+       S=$WORKDIR/${MY_PN}-${PV}
 fi
 
-SLOT="0"
 LICENSE="LGPL-3"
+SLOT="0"
+IUSE="debug"
 
 DEPEND="dev-libs/quazip
        dev-qt/qtconcurrent:5

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild 
b/media-video/mediaelch/mediaelch-9999.ebuild
index 1ecc1e1c10..602f874c17 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -1,28 +1,31 @@
-EAPI=7
-inherit cmake
+# Copyright 2021-223 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
 
-MY_PN=MediaElch
-S=$WORKDIR/$MY_PN-$PV
+EAPI=8
+
+inherit cmake
 
 DESCRIPTION="Video metadata scraper"
 HOMEPAGE="https://www.mediaelch.de/";
 
-IUSE="debug"
+MY_PN=MediaElch
 
 if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/Komet/MediaElch";
+       EGIT_REPO_URI="https://github.com/Komet/$MY_PN";
        EGIT_BRANCH="master"
        EGIT_SUBMODULES=()
        inherit git-r3
-       S="${WORKDIR}/mediaelch-9999"
+       S="${WORKDIR}/${PN}-9999"
 else
        RESTRICT="mirror"
        SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="amd64"
+       KEYWORDS="~amd64"
+       S=$WORKDIR/${MY_PN}-${PV}
 fi
 
-SLOT="0"
 LICENSE="LGPL-3"
+SLOT="0"
+IUSE="debug"
 
 DEPEND="dev-libs/quazip
        dev-qt/qtconcurrent:5

Reply via email to