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 EECDB138334 for ; Thu, 19 Jul 2018 13:24:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73E38E09F6; Thu, 19 Jul 2018 13:24:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 498A6E09F6 for ; Thu, 19 Jul 2018 13:24:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C4DCE335CD5 for ; Thu, 19 Jul 2018 13:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34D7B375 for ; Thu, 19 Jul 2018 13:24:47 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1532006680.9645a029fbe1dc361f86bd011f2b843fecbcb7e8.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmSpaceWeather/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r1.ebuild X-VCS-Directories: x11-plugins/wmSpaceWeather/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 9645a029fbe1dc361f86bd011f2b843fecbcb7e8 X-VCS-Branch: master Date: Thu, 19 Jul 2018 13:24: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: 08531c26-43df-468e-9769-f0fe207da311 X-Archives-Hash: 4696c45d2da1abca0f528d933b4d34f6 commit: 9645a029fbe1dc361f86bd011f2b843fecbcb7e8 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun Jul 8 11:45:24 2018 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Jul 19 13:24:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9645a029 x11-plugins/wmSpaceWeather: EAPI6, improve ebuild .../wmSpaceWeather-1.04_p19-r1.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r1.ebuild b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r1.ebuild new file mode 100644 index 00000000000..cb3cc31c6e8 --- /dev/null +++ b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +MY_PN="wmspaceweather" +MY_PV_ORIG="${PV/_p*}" +MY_PV_PATCH="${PV/_p/-}" +MY_P_ORIG="${MY_PN}_${MY_PV_ORIG}.orig" +MY_P_PATCH="${MY_PN}_${MY_PV_PATCH}.diff" + +DESCRIPTION="dockapp showing weather at geosynchronous orbit" +HOMEPAGE="https://www.dockapps.net/wmspaceweather" +SRC_URI="mirror://debian/pool/main/w/${MY_PN}/${MY_P_ORIG}.tar.gz + mirror://debian/pool/main/w/${MY_PN}/${MY_P_PATCH}.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" + +DOCS=( ../{BUGS,CHANGES,HINTS,README} ) + +CDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${CDEPEND} + x11-base/xorg-proto" +RDEPEND="${CDEPEND} + net-misc/curl + dev-lang/perl" + +S="${WORKDIR}/${MY_P_ORIG/_/-}/${PN}" + +src_unpack() { + unpack ${MY_P_ORIG}.tar.gz + epatch "${DISTDIR}"/${MY_P_PATCH}.gz + + # need to apply patches from Debian first, do NOT change the order + cd "${S}" || die + mv ../debian/patches "${WORKDIR}"/patch || die + EPATCH_SUFFIX="dpatch" EPATCH_FORCE="yes" \ + EPATCH_MULTI_MSG="Applying Debian patches ..." epatch + eapply "${FILESDIR}"/${P}-gentoo.patch + eapply "${FILESDIR}"/${P}-getkp.patch +} + +src_compile() { + emake clean + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" +} + +pkg_postinst() { + elog "You need to emerge www-client/firefox or www-client/firefox-bin" + elog "to use the -url functionality - see man ${PN} for more info." + elog + elog "This version uses curl instead of wget. You may edit /usr/share/wmspaceweather/GetKp" + elog "if you don't like it." +}