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 36092138334 for ; Thu, 14 Jun 2018 09:02:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94E4FE0995; Thu, 14 Jun 2018 09:02:44 +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 07C25E09A1 for ; Thu, 14 Jun 2018 09:02:43 +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 AEF3A335C7F for ; Thu, 14 Jun 2018 09:02:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C37342E1 for ; Thu, 14 Jun 2018 09:02:38 +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: <1528966869.5dbb5e012c755db482d15cfd044044871ad2af99.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmfortune/, x11-plugins/wmfortune/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch x11-plugins/wmfortune/wmfortune-0.241-r1.ebuild X-VCS-Directories: x11-plugins/wmfortune/ x11-plugins/wmfortune/files/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 5dbb5e012c755db482d15cfd044044871ad2af99 X-VCS-Branch: master Date: Thu, 14 Jun 2018 09:02:38 +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: bd6e193f-7e2a-4a92-a706-ef0d571e4c60 X-Archives-Hash: e520145e22f7d50302952e6658a7f0ec commit: 5dbb5e012c755db482d15cfd044044871ad2af99 Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Jun 11 20:19:09 2018 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Jun 14 09:01:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbb5e01 x11-plugins/wmfortune: EAPI7, use HTTPS, improve ebuild .../wmfortune/files/wmfortune-0.241-stringh.patch | 6 ++-- x11-plugins/wmfortune/wmfortune-0.241-r1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch index a8e9f9ff6ed..35db475df30 100644 --- a/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch +++ b/x11-plugins/wmfortune/files/wmfortune-0.241-stringh.patch @@ -1,6 +1,6 @@ -diff -ur wmfortune-0.241.orig/wmfortune.c wmfortune-0.241/wmfortune.c ---- wmfortune-0.241.orig/wmfortune.c 2001-09-01 03:25:39.000000000 +0300 -+++ wmfortune-0.241/wmfortune.c 2008-01-15 10:21:17.000000000 +0200 +diff -ur a/wmfortune.c b/wmfortune.c +--- a/wmfortune.c 2001-09-01 03:25:39.000000000 +0300 ++++ b/wmfortune.c 2008-01-15 10:21:17.000000000 +0200 @@ -25,6 +25,7 @@ #include diff --git a/x11-plugins/wmfortune/wmfortune-0.241-r1.ebuild b/x11-plugins/wmfortune/wmfortune-0.241-r1.ebuild new file mode 100644 index 00000000000..f67de2f9282 --- /dev/null +++ b/x11-plugins/wmfortune/wmfortune-0.241-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="a dockapp showing fortune-mod messages" +HOMEPAGE="https://www.dockapps.net/wmfortune" +SRC_URI="https://www.dockapps.net/download/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="games-misc/fortune-mod + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( "${FILESDIR}"/${P}-stringh.patch ) + +src_prepare() { + # Honour Gentoo LDFLAGS. Closes bug #336446. + sed -i 's/-o $(DEST)/$(LDFLAGS) -o $(DEST)/' Makefile || die + default +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" \ + XLIBDIR="/usr/$(get_libdir)" +} + +src_install() { + dobin ${PN} + einstalldocs +}