commit:     eba80632a52cf39068ce27b2544f3a745cdf6aef
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 17:08:47 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 17:09:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba80632

app-pda/gtkpod: EAPI 8, fix dependencies

Some DEPENDs should have been BDEPENDs.

Closes: https://bugs.gentoo.org/918111
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../{gtkpod-2.1.5-r4.ebuild => gtkpod-2.1.5-r5.ebuild} | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/app-pda/gtkpod/gtkpod-2.1.5-r4.ebuild 
b/app-pda/gtkpod/gtkpod-2.1.5-r5.ebuild
similarity index 93%
rename from app-pda/gtkpod/gtkpod-2.1.5-r4.ebuild
rename to app-pda/gtkpod/gtkpod-2.1.5-r5.ebuild
index 334dc29901ad..47da5b3bfd6f 100644
--- a/app-pda/gtkpod/gtkpod-2.1.5-r4.ebuild
+++ b/app-pda/gtkpod/gtkpod-2.1.5-r5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 # Not all modules needed by py script are packaged in Gentoo
 #PYTHON_COMPAT=( python3_{6..9} )
@@ -56,18 +56,22 @@ RDEPEND="${COMMON_DEPEND}
 # eautoreconf, bug #659748
 DEPEND="${COMMON_DEPEND}
        media-libs/gstreamer:1.0
+"
+
+BDEPEND="
        dev-util/intltool
        sys-devel/flex
        sys-devel/gettext
-       virtual/os-headers
        virtual/pkgconfig
 "
 
-src_prepare() {
-       xdg_src_prepare
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.1.3-gold.patch
+       "${FILESDIR}"/${PN}-2.1.5-m4a.patch
+)
 
-       eapply "${FILESDIR}"/${PN}-2.1.3-gold.patch
-       eapply "${FILESDIR}"/${PN}-2.1.5-m4a.patch
+src_prepare() {
+       default
 
 #      python_fix_shebang scripts/
 #      2to3 --no-diffs -w scripts/sync-palm-jppy.py || die

Reply via email to