diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2020-09-25 12:34:40 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2020-09-25 12:41:52 +0300 |
commit | 8c9b73bcb18805465de9e9888f190c25db5783a9 (patch) | |
tree | 3df1e4a1f4b122e8f64e4a2e35df9f05cd7b183d /sys-power/suspend/suspend-1.0_p20200924.ebuild | |
parent | media-libs/libavif: Library for encoding and decoding .avif files (diff) | |
download | gentoo-8c9b73bcb18805465de9e9888f190c25db5783a9.tar.gz gentoo-8c9b73bcb18805465de9e9888f190c25db5783a9.tar.bz2 gentoo-8c9b73bcb18805465de9e9888f190c25db5783a9.zip |
sys-power/suspend: patchlevel bump
Fixes:
- build with -fcommon / gcc-10
- size_t format warnings
Closes: https://bugs.gentoo.org/721972
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'sys-power/suspend/suspend-1.0_p20200924.ebuild')
-rw-r--r-- | sys-power/suspend/suspend-1.0_p20200924.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/sys-power/suspend/suspend-1.0_p20200924.ebuild b/sys-power/suspend/suspend-1.0_p20200924.ebuild new file mode 100644 index 000000000000..e40e3e8d371b --- /dev/null +++ b/sys-power/suspend/suspend-1.0_p20200924.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 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 +https://github.com/bircoph/suspend" +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 \ + --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" +} |