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 06F5B138334 for ; Thu, 26 Jul 2018 03:58:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D998E085B; Thu, 26 Jul 2018 03:58:34 +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 24E5BE085B for ; Thu, 26 Jul 2018 03:58:33 +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 3A47A335CC7 for ; Thu, 26 Jul 2018 03:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0036238C for ; Thu, 26 Jul 2018 03:58:30 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1532576621.fbd6c026d243011773658707cf802f72d7b29d64.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmxres/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmxres/wmxres-1.2-r1.ebuild X-VCS-Directories: x11-plugins/wmxres/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: fbd6c026d243011773658707cf802f72d7b29d64 X-VCS-Branch: master Date: Thu, 26 Jul 2018 03:58:30 +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: 0e7c6427-e9ec-4442-a7e1-c84c2ae61c48 X-Archives-Hash: 43f9ef01f60592a9bf30219c41676dd4 commit: fbd6c026d243011773658707cf802f72d7b29d64 Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Jul 24 18:46:29 2018 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Jul 26 03:43:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbd6c026 x11-plugins/wmxres: EAPI7, improve ebuild x11-plugins/wmxres/wmxres-1.2-r1.ebuild | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/x11-plugins/wmxres/wmxres-1.2-r1.ebuild b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild new file mode 100644 index 00000000000..a21121f7f82 --- /dev/null +++ b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Dock application to select your display mode among those possible" +HOMEPAGE="http://yalla.free.fr/wn" +SRC_URI="http://yalla.free.fr/wn/${PN}-1.1-0.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/libXxf86dga" + +S="${WORKDIR}/${PN}.app" + +PATCHES=( "${FILESDIR}"/${PN}-debian-1.1-1.2.patch ) + +src_prepare() { + default + sed -e "s:-g -c -O2:${CFLAGS} -c:" \ + -e "s:\tcc :\t $(tc-getCC) \$(LDFLAGS) :g" \ + -i Makefile || die "sed failed" +} + +src_compile() { + emake INCDIR="-I${EPREFIX}/usr/include" LIBDIR="-L${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + dobin ${PN}/${PN} + doman ${PN}.1 +}