commit:     1e1c0d83035ef7e86bd30ca54737ef2a0e017957
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Thu Jan 30 08:22:27 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 16:17:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1c0d83

media-sound/easytag: fix dep and tests

appstream-glib is required even without test enabled
fix appdata.xml for testing

Closes: https://bugs.gentoo.org/949060
Closes: https://bugs.gentoo.org/708466
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/40378
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/easytag/easytag-2.4.3-r7.ebuild               |  3 ++-
 media-sound/easytag/files/easytag-2.4.3-fix-appdata.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-sound/easytag/easytag-2.4.3-r7.ebuild 
b/media-sound/easytag/easytag-2.4.3-r7.ebuild
index 3d22bac4869f..4b8b3470b368 100644
--- a/media-sound/easytag/easytag-2.4.3-r7.ebuild
+++ b/media-sound/easytag/easytag-2.4.3-r7.ebuild
@@ -48,13 +48,13 @@ BDEPEND="
        app-text/docbook-xml-dtd:4.4
        app-text/yelp-tools
        dev-util/glib-utils
+       dev-libs/appstream-glib
        dev-libs/libxml2
        dev-libs/libxslt
        >=dev-util/intltool-0.50
        >=sys-devel/gettext-0.18.3.2
        virtual/pkgconfig
        test? (
-               dev-libs/appstream-glib
                >=dev-util/desktop-file-utils-0.22
        )"
 
@@ -62,6 +62,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-ogg-corruption.patch
        "${FILESDIR}"/${P}-fix-build-taglib2.patch
        "${FILESDIR}"/${P}-fix-check-id3.patch
+       "${FILESDIR}"/${P}-fix-appdata.patch
 )
 
 src_configure() {

diff --git a/media-sound/easytag/files/easytag-2.4.3-fix-appdata.patch 
b/media-sound/easytag/files/easytag-2.4.3-fix-appdata.patch
new file mode 100644
index 000000000000..e0fb19211cad
--- /dev/null
+++ b/media-sound/easytag/files/easytag-2.4.3-fix-appdata.patch
@@ -0,0 +1,11 @@
+--- a/data/easytag.appdata.xml.in
++++ b/data/easytag.appdata.xml.in
+@@ -30,4 +30,8 @@
+     </kudos>
+     <update_contact>[email protected]</update_contact>
+     <translation type="gettext">easytag</translation>
++    <content_rating type="oars-1.1" />
++    <releases>
++      <release version="2.4.3" date="2016-12-05"/>
++    </releases>
+ </component>

Reply via email to