media-radio/xwxapt: Add missing po-files (Bug #631268)
authorThomas Beierlein <tomjbe@gentoo.org>
Mon, 2 Oct 2017 15:11:30 +0000 (17:11 +0200)
committerThomas Beierlein <tomjbe@gentoo.org>
Mon, 2 Oct 2017 15:12:01 +0000 (17:12 +0200)
Fix po-files missing from POTFILES.in. Now FEATURES=test works as
expected. Thnx Toralf.

Package-Manager: Portage-2.3.10, Repoman-2.3.3

media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch [new file with mode: 0644]
media-radio/xwxapt/xwxapt-2.9.ebuild

diff --git a/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch b/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch
new file mode 100644 (file)
index 0000000..01b80e7
--- /dev/null
@@ -0,0 +1,11 @@
+# add missing po-files bug #631268
+--- po/POTFILES.in.orig        2013-12-02 08:01:31.000000000 +0100
++++ po/POTFILES.in     2017-10-02 16:58:22.048524697 +0200
+@@ -7,4 +7,7 @@
+ src/sound.c
+ src/support.c
+ src/utils.c
++src/aptsignal.c
++src/callback_func.c
++src/rtlsdr.c
+ xwxapt.glade
index 40f26ed1177c37edd6fa220c8eb7f4785b133923..08bb575a0db28cbd2f292c0a84f4d871dcd68c75 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit autotools
+inherit autotools eutils
 
 DESCRIPTION="GTK+ linux weather satellite APT image decoder software"
 HOMEPAGE="http://www.qsl.net/5b4az/pages/apt.html"
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
 src_prepare() {
+       epatch "${FILESDIR}"/xwxapt-2.9_missing_po_files.patch
        # create missing mkinstalldir and prepare package
        glib-gettextize --force --copy || die "gettextize failed"
        eautoreconf