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 7577F138334 for ; Sun, 11 Nov 2018 15:09:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC46E0BA1; Sun, 11 Nov 2018 15:09: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 86E95E0BA1 for ; Sun, 11 Nov 2018 15:09:44 +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 28E27335CD2 for ; Sun, 11 Nov 2018 15:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5838244D for ; Sun, 11 Nov 2018 15:09:41 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1541948970.f9e3aebba785f595c12cb62db62985b609160b28.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/suspend/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/suspend/suspend-1.0_p20150810-r1.ebuild X-VCS-Directories: sys-power/suspend/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: f9e3aebba785f595c12cb62db62985b609160b28 X-VCS-Branch: master Date: Sun, 11 Nov 2018 15:09:41 +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: 2be9d068-9b6c-4b45-a11a-d83403066cbd X-Archives-Hash: cb1485573a1194298aa99d7aba164756 commit: f9e3aebba785f595c12cb62db62985b609160b28 Author: Andrew Savchenko gentoo org> AuthorDate: Sun Nov 11 15:08:42 2018 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Sun Nov 11 15:09:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e3aebb sys-power/suspend: remove fbsplash support - Drop USE=fbsplash due to media-gfx/splashutils tree cleaning. - Update to EAPI 7. Closes: https://bugs.gentoo.org/650084 Signed-off-by: Andrew Savchenko gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-power/suspend/suspend-1.0_p20150810-r1.ebuild | 59 +++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/sys-power/suspend/suspend-1.0_p20150810-r1.ebuild b/sys-power/suspend/suspend-1.0_p20150810-r1.ebuild new file mode 100644 index 00000000000..eedae70926c --- /dev/null +++ b/sys-power/suspend/suspend-1.0_p20150810-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +BASE_PV="1.0_p20120915" + +DESCRIPTION="Userspace Software Suspend and S2Ram" +HOMEPAGE="http://suspend.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${PN}-${BASE_PV}.tar.xz + https://dev.gentoo.org/~bircoph/patches/${P}.patch.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crypt +lzo threads" + +RDEPEND=" + dev-libs/libx86 + >=sys-apps/pciutils-2.2.4 + crypt? ( + >=dev-libs/libgcrypt-1.6.3:0[static-libs] + dev-libs/libgpg-error[static-libs] ) + lzo? ( >=dev-libs/lzo-2[static-libs] ) " +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-lang/perl-5.10 + virtual/pkgconfig" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${WORKDIR}/${P}.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --docdir="/usr/share/doc/${PF}" \ + --disable-fbsplash \ + $(use_enable crypt encrypt) \ + $(use_enable lzo compress) \ + $(use_enable threads) +} + +src_install() { + dodir etc + emake DESTDIR="${D}" install + rm "${D}/usr/share/doc/${PF}"/COPYING* || die +} + +pkg_postinst() { + elog "In order to make this package work with genkernel see:" + elog "https://bugs.gentoo.org/show_bug.cgi?id=156445" +}