commit:     2bc95ab7bff8ccf6bf40efec1b4c0105649201da
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 18:54:29 2018 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 18:54:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc95ab7

media-radio/xwxapt: Version bump

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 media-radio/xwxapt/Manifest                       |  1 +
 media-radio/xwxapt/files/xwxapt-3.3-install.patch | 22 ++++++++++
 media-radio/xwxapt/xwxapt-3.3.ebuild              | 52 +++++++++++++++++++++++
 3 files changed, 75 insertions(+)

diff --git a/media-radio/xwxapt/Manifest b/media-radio/xwxapt/Manifest
index 456da5f4926..5ec99d04154 100644
--- a/media-radio/xwxapt/Manifest
+++ b/media-radio/xwxapt/Manifest
@@ -1,2 +1,3 @@
 DIST xwxapt-3.1.tar.bz2 258794 BLAKE2B 
9a78f66a03095da209575096206e440149f329cce7be0e887704da9ef95c593e07c20107703744cfeae801e1afda94e42e312f3be788af6455d44b65c15bccb5
 SHA512 
68e332ddd50567181d0d8e36d1466adf7baab85670d94a92cbda478c7e61bc1bac547062b8c4ec34cbf2e832919ad76002423360c7c804525a1436ce7acb7ba9
 DIST xwxapt-3.2.tar.bz2 258901 BLAKE2B 
4e82c8c21d43f9407c38699b275c690cce80555e5a738b0d22f20e32cf6586f078ba84563c4b92ebdfcc8714b24128e3f142b432e38b62cdb619976234b024fc
 SHA512 
46adcbabaf46d0a91b5284d8171d94777846dabce62cdf36df785d9e6f94fa3df987e3b7cce636d96aed6b3cffb9b5e295dc4d46b7bc3bd209acf896c8c45858
+DIST xwxapt-3.3.tar.bz2 260010 BLAKE2B 
b26c8a6a05c879f1aa6f3a844f72383fdce1ce3f6efeb36305723fb3aba7f01f05cd4fd244f574e2cd8b759b499f95a5aa54db244ebefc8fb3d91d8179ce0ea5
 SHA512 
ea9ecc8bc5948005a09ff15e9909387980a873e9770f28efbd828a8475a0161329bd4b00e4dde9c7c50e9e4ffbfd288e25ad09224bec66250acf8eeeba23ced6

diff --git a/media-radio/xwxapt/files/xwxapt-3.3-install.patch 
b/media-radio/xwxapt/files/xwxapt-3.3-install.patch
new file mode 100644
index 00000000000..eed2464d370
--- /dev/null
+++ b/media-radio/xwxapt/files/xwxapt-3.3-install.patch
@@ -0,0 +1,22 @@
+--- Makefile.am.orig   2018-01-22 19:40:47.638751354 +0100
++++ Makefile.am        2018-01-22 19:41:28.830090441 +0100
+@@ -48,18 +48,5 @@
+       if test -d files/; then \
+         cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/; \
+         cp files/$(PACKAGE).png $(DESTDIR)/usr/share/pixmaps/; \
+-      fi; \
+-      if !(test -d $(DESTDIR)/usr/share/doc/$(PACKAGE)); then \
+-        mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
+-      fi; \
+-      if test -d doc/; then \
+-        cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
+-        cp -r doc/$(PACKAGE).1.gz $(DESTDIR)/usr/share/man/man1/; \
+-      fi; \
+-      if !(test -d /home/`logname`/$(PACKAGE)); then \
+-        cp -r $(PACKAGE) /home/`logname`/; \
+-      else \
+-        cp $(PACKAGE)/$(PACKAGE).glade /home/`logname`/$(PACKAGE); \
+-      fi; \
+-      chown -R `logname`:`logname` /home/`logname`/$(PACKAGE);
++      fi; 
+ 

diff --git a/media-radio/xwxapt/xwxapt-3.3.ebuild 
b/media-radio/xwxapt/xwxapt-3.3.ebuild
new file mode 100644
index 00000000000..9e68a17be3d
--- /dev/null
+++ b/media-radio/xwxapt/xwxapt-3.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="GTK+ linux weather satellite APT image decoder software"
+HOMEPAGE="http://www.qsl.net/5b4az/pages/apt.html";
+SRC_URI="http://www.qsl.net/5b4az/pkg/apt/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       net-wireless/rtl-sdr
+       media-libs/alsa-lib
+       dev-libs/glib:2
+       x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+HTML_DOCS="doc/xwxapt.html"
+
+src_prepare() {
+       eapply_user
+       eapply -p0 "${FILESDIR}"/${P}-install.patch
+       # suppress -Weverything flag
+       sed -i -e "s/= -Weverything/= /" src/Makefile.am || die
+       # create missing mkinstalldir and prepare package
+       glib-gettextize --force --copy || die "gettextize failed"
+       eautoreconf
+}
+
+src_install() {
+       default
+       insinto /usr/share/${PN}
+       doins xwxapt/xwxaptrc
+       doins xwxapt/xwxapt.glade
+       dodir /usr/share/${PN}/images /usr/share/${PN}/records
+}
+
+pkg_postinst() {
+       einfo "You must copy the /usr/share/xwxapt directory into your home 
directory"
+       einfo "and configure the contained xwxaptrc file before starting the 
program"
+       ewarn
+       ewarn "If you just upgraded from <=xwxapt-3 do not miss to check"
+       ewarn "for changes there"
+}

Reply via email to