From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F796138334 for ; Sun, 8 Jul 2018 08:10:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B10BFE07FE; Sun, 8 Jul 2018 08:10:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E73EE07FE for ; Sun, 8 Jul 2018 08:10:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF186335C7A for ; Sun, 8 Jul 2018 08:10:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D81BB358 for ; Sun, 8 Jul 2018 08:10:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1531036352.237dda550d1310aaeafc27f98d48b618460625a8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/bbweather/, x11-misc/bbweather/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/bbweather/bbweather-0.6.3-r2.ebuild x11-misc/bbweather/files/bbweather-asneeded.patch X-VCS-Directories: x11-misc/bbweather/files/ x11-misc/bbweather/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 237dda550d1310aaeafc27f98d48b618460625a8 X-VCS-Branch: master Date: Sun, 8 Jul 2018 08:10:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87657637-85cb-4254-ae8f-930b4d24767f X-Archives-Hash: a82b6c79d146994e4c6fb8cb7f9f9535 commit: 237dda550d1310aaeafc27f98d48b618460625a8 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Jun 22 14:02:06 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 8 07:52:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237dda55 x11-misc/bbweather: EAPI7, improve ebuild x11-misc/bbweather/bbweather-0.6.3-r2.ebuild | 46 +++++++++++++++++++++++ x11-misc/bbweather/files/bbweather-asneeded.patch | 8 ++-- 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild b/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild new file mode 100644 index 00000000000..1de14db362e --- /dev/null +++ b/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="blackbox weather monitor" +HOMEPAGE="https://www.netmeister.org/apps/bbweather/" +SRC_URI="https://www.netmeister.org/apps/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 hppa ppc x86" +IUSE="" + +DEPEND="dev-lang/perl + x11-libs/libX11" +RDEPEND="${DEPEND} + net-misc/wget + x11-apps/xmessage + !<=x11-plugins/gkrellweather-2.0.7-r1" + +PATCHES=( "${FILESDIR}"/${PN}-asneeded.patch ) + +src_prepare() { + default + gunzip doc/*.gz || die + sed -i \ + -e "s:man_DATA:man1_MANS:;s:.gz::g;/^mandir/d" \ + doc/Makefile.am || die + sed -i \ + -e 's|-helvetica-|-*-|g' \ + resource.cpp data/${PN}.{nobb,style} || die + eautoreconf +} + +src_install () { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install + dodoc README AUTHORS ChangeLog NEWS TODO data/README.bbweather + + # since multiple bbtools packages provide this file, install + # it in /usr/share/doc/${PF} + mv "${D}"/usr/share/bbtools/bbtoolsrc.in \ + "${D}"/usr/share/doc/${PF}/bbtoolsrc.example || die +} diff --git a/x11-misc/bbweather/files/bbweather-asneeded.patch b/x11-misc/bbweather/files/bbweather-asneeded.patch index 593e471641c..001ac112720 100644 --- a/x11-misc/bbweather/files/bbweather-asneeded.patch +++ b/x11-misc/bbweather/files/bbweather-asneeded.patch @@ -2,8 +2,8 @@ Fixing build with as-needed https://bugs.gentoo.org/248556 ---- configure.in -+++ configure.in +--- a/configure.in ++++ b/configure.in @@ -56,15 +56,10 @@ AC_PATH_X AC_PATH_XTRA @@ -22,8 +22,8 @@ https://bugs.gentoo.org/248556 dnl Checks for header files. AC_HEADER_STDC ---- Makefile.am -+++ Makefile.am +--- a/Makefile.am ++++ b/Makefile.am @@ -1,5 +1,4 @@ -CPPFLAGS = @CPPFLAGS@ \ - -DDEFAULT_CONF=\"$(datadir)/bbtools/bbweather.conf\" \