diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-11-07 18:05:22 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-11-07 18:05:22 +0000 |
commit | 6ee8788895dda1c56c6b696ccf8895e2df6790c3 (patch) | |
tree | d041acdef2d4bfbcd2c0f1ef842a5b8d92487933 /sys-apps/tuxonice-userui | |
parent | revbump of nss-pam-ldapd-0.8.11.ebuild to r1 for bug 442156 (diff) | |
download | gentoo-2-6ee8788895dda1c56c6b696ccf8895e2df6790c3.tar.gz gentoo-2-6ee8788895dda1c56c6b696ccf8895e2df6790c3.tar.bz2 gentoo-2-6ee8788895dda1c56c6b696ccf8895e2df6790c3.zip |
FBSPLASH support is always compiled by error, bug #440110 by Sergey Popov.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'sys-apps/tuxonice-userui')
-rw-r--r-- | sys-apps/tuxonice-userui/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/tuxonice-userui/ChangeLog b/sys-apps/tuxonice-userui/ChangeLog index 1be63a378abd..c0c69070bd38 100644 --- a/sys-apps/tuxonice-userui/ChangeLog +++ b/sys-apps/tuxonice-userui/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/tuxonice-userui # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog,v 1.27 2012/10/28 12:35:07 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog,v 1.28 2012/11/07 18:05:22 pacho Exp $ + +*tuxonice-userui-1.1-r2 (07 Nov 2012) + + 07 Nov 2012; Pacho Ramos <pacho@gentoo.org> +tuxonice-userui-1.1-r2.ebuild: + FBSPLASH support is always compiled by error, bug #440110 by Sergey Popov. 28 Oct 2012; Pacho Ramos <pacho@gentoo.org> tuxonice-userui-1.1-r1.ebuild: Rephrase elog information to be a bit more general (#439120#c11 by Robert diff --git a/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild b/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild new file mode 100644 index 000000000000..00259d7226cd --- /dev/null +++ b/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.1-r2.ebuild,v 1.1 2012/11/07 18:05:22 pacho Exp $ + +EAPI=4 +inherit toolchain-funcs eutils + +DESCRIPTION="User Interface for TuxOnIce" +HOMEPAGE="http://www.tuxonice.net" +SRC_URI="http://tuxonice.net/files/${P}.tar.gz -> ${P}.tar + mirror://debian/pool/main/t/${PN}/${PN}_${PV}-2~exp1.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="fbsplash" +DEPEND="fbsplash? ( >=media-gfx/splashutils-1.5.2.1 + media-libs/libmng[lcms] + >=media-libs/libpng-1.4.8[static-libs] + media-libs/freetype[static-libs] + || ( <app-arch/bzip2-1.0.6-r3[static] >=app-arch/bzip2-1.0.6-r3[static-libs] ) + media-libs/lcms:0[static-libs] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + local d=${WORKDIR}/debian/patches + EPATCH_SOURCE=${d} epatch $(<"${d}"/series) + sed -i -e 's/make/$(MAKE)/' Makefile || die +} + +src_compile() { + # Package contain binaries + emake clean || die "emake clean failed" + + use fbsplash && export USE_FBSPLASH=1 + emake CC="$(tc-getCC)" tuxoniceui || die "emake tuxoniceui failed" +} + +src_install() { + into / + dosbin tuxoniceui + dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API +} + +pkg_postinst() { + if use fbsplash; then + einfo + elog "You must create a symlink from /etc/splash/tuxonice" + elog "to the theme you want tuxonice to use, e.g.:" + elog + elog " # ln -sfn /etc/splash/emergence /etc/splash/tuxonice" + if [[ ${REPLACING_VERSIONS} < 1.1 ]]; then + einfo + elog "You must refer to '/sbin/tuxoniceui -f' instead of /sbin/tuxoniceui_fbsplash'" + elog "in all places you set it." + fi + fi + einfo + einfo "Please see /usr/share/doc/${PF}/README.* for further" + einfo "instructions." + einfo +} |