commit:     7766ab31f653214dc842ee61058fd137eee45eba
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 15:11:30 2017 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 15:12:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7766ab31

media-radio/xwxapt: Add missing po-files (Bug #631268)

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 | 11 +++++++++++
 media-radio/xwxapt/xwxapt-2.9.ebuild                       |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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
index 00000000000..01b80e7baac
--- /dev/null
+++ b/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch
@@ -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

diff --git a/media-radio/xwxapt/xwxapt-2.9.ebuild 
b/media-radio/xwxapt/xwxapt-2.9.ebuild
index 40f26ed1177..08bb575a0db 100644
--- a/media-radio/xwxapt/xwxapt-2.9.ebuild
+++ b/media-radio/xwxapt/xwxapt-2.9.ebuild
@@ -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

Reply via email to