diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-02-09 21:39:16 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-02-09 21:39:16 +0000 |
commit | 7a915af4dc54c0464cb10e71f2fd113851a86c9b (patch) | |
tree | 2d809777b85b9b48fbaa75a806aee3b831a8d3d4 /sys-apps | |
parent | Added 2.6.20 (diff) | |
download | gentoo-2-7a915af4dc54c0464cb10e71f2fd113851a86c9b.tar.gz gentoo-2-7a915af4dc54c0464cb10e71f2fd113851a86c9b.tar.bz2 gentoo-2-7a915af4dc54c0464cb10e71f2fd113851a86c9b.zip |
Version bump
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/suspend2-userui/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 | 3 | ||||
-rw-r--r-- | sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild | 60 |
3 files changed, 70 insertions, 1 deletions
diff --git a/sys-apps/suspend2-userui/ChangeLog b/sys-apps/suspend2-userui/ChangeLog index 7a7c0a9ba518..52aa67ae88ca 100644 --- a/sys-apps/suspend2-userui/ChangeLog +++ b/sys-apps/suspend2-userui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/suspend2-userui # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.20 2007/01/22 10:46:02 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/ChangeLog,v 1.21 2007/02/09 21:39:16 alonbl Exp $ + +*suspend2-userui-0.7.0 (09 Feb 2007) + + 09 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> + +suspend2-userui-0.7.0.ebuild: + Version bump *suspend2-userui-0.6.4-r2 (22 Jan 2007) diff --git a/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 new file mode 100644 index 000000000000..2adf3c3a5a5b --- /dev/null +++ b/sys-apps/suspend2-userui/files/digest-suspend2-userui-0.7.0 @@ -0,0 +1,3 @@ +MD5 7a41e9195597319825ecee0d1f3aa166 suspend2-userui-0.7.0.tar.gz 91961 +RMD160 fe85fa434273b4a08d6d42d23d1bdab283ba3428 suspend2-userui-0.7.0.tar.gz 91961 +SHA256 a8cc5ed9b5916996e948026ebe3864e31bf62539d3bee79b3637d376be1fa7ca suspend2-userui-0.7.0.tar.gz 91961 diff --git a/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild b/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild new file mode 100644 index 000000000000..54c1b23a0757 --- /dev/null +++ b/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/suspend2-userui/suspend2-userui-0.7.0.ebuild,v 1.1 2007/02/09 21:39:16 alonbl Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="User Interface for Software Suspend 2" +HOMEPAGE="http://www.suspend2.net" +SRC_URI="http://www.suspend2.net/downloads/all/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="fbsplash static" +DEPEND="virtual/libc + fbsplash? ( sys-libs/zlib + media-libs/freetype + media-libs/jpeg + media-libs/lcms + >=media-libs/libmng-1.0.5 + media-libs/libpng )" + +src_compile() { + # allow for static linking for use in initramfs/initrd + use static && LDFLAGS="${LDFLAGS} -static" + + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + suspend2ui_text || die "emake suspend2ui_text failed" + + if use fbsplash; then + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + fbsplash || die "emake fbsplash failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + suspend2ui_fbsplash || die "emake suspend2ui_fbsplash failed" + fi +} + +src_install() { + into / + dosbin suspend2ui_text + use fbsplash && dosbin suspend2ui_fbsplash + + dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API +} + +pkg_postinst() { + if use fbsplash; then + einfo + einfo "You must create a symlink from /etc/splash/suspend2" + einfo "to the theme you want suspend2ui_fbsplash to use, e.g.:" + einfo + einfo " # ln -sfn /etc/splash/emergence /etc/splash/suspend2" + fi + + einfo + einfo "Please see /usr/share/doc/${PF}/README.gz for further" + einfo "instructions." + einfo +} |