diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-09-07 15:49:39 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-09-07 15:49:39 +0000 |
commit | ca047c2e42899c1335b104435ac643211bb9e5b8 (patch) | |
tree | 824279186a3f67682c88f33321df3a0913b838c7 /media-gfx/splashutils | |
parent | Version bump + RDEPEND/DEPEND fix. (Manifest recommit) (diff) | |
download | gentoo-2-ca047c2e42899c1335b104435ac643211bb9e5b8.tar.gz gentoo-2-ca047c2e42899c1335b104435ac643211bb9e5b8.tar.bz2 gentoo-2-ca047c2e42899c1335b104435ac643211bb9e5b8.zip |
Version bump.
Diffstat (limited to 'media-gfx/splashutils')
-rw-r--r-- | media-gfx/splashutils/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/splashutils/files/digest-splashutils-0.9_pre09 | 5 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-0.9_pre09.ebuild | 101 |
3 files changed, 115 insertions, 1 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog index 442ee73956c9..3cd1c9e1e2de 100644 --- a/media-gfx/splashutils/ChangeLog +++ b/media-gfx/splashutils/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/splashutils # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.4 2004/09/05 09:47:10 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.5 2004/09/07 15:49:39 spock Exp $ + +*splashutils-0.9_pre09 (07 Sep 2004) + + 07 Sep 2004; Michal Januszewski <spock@gentoo.org> + +splashutils-0.9_pre09.ebuild: + Splashutils update, includes fixes for amd64 and dithering for 15/16bpp modes. + Special thanks to Christian Roessner for his help with making it work on + amd64. *splashutils-0.9_pre08 (05 Sep 2004) diff --git a/media-gfx/splashutils/files/digest-splashutils-0.9_pre09 b/media-gfx/splashutils/files/digest-splashutils-0.9_pre09 new file mode 100644 index 000000000000..d6548677fe54 --- /dev/null +++ b/media-gfx/splashutils/files/digest-splashutils-0.9_pre09 @@ -0,0 +1,5 @@ +MD5 53dd4d6dab28ab2b2362d2859be6c43d splashutils-0.9-pre09.tar.bz2 1930574 +MD5 71f85c661c144665ff5d4a8bbef1936e miscsplashutils-0.1.2.tar.bz2 91301 +MD5 87dae255b315fc4eb60197d9ac1387f4 splashutils-gentoo-0.1.1.tar.bz2 3677 +MD5 c6afab93416bc4c8fe8bc328d4e432a0 fbsplash-theme-emergence-r1.tar.bz2 4842542 +MD5 ea206196d3cee32007ae1e8eab5a0b10 fbsplash-theme-gentoo.tar.bz2 5878006 diff --git a/media-gfx/splashutils/splashutils-0.9_pre09.ebuild b/media-gfx/splashutils/splashutils-0.9_pre09.ebuild new file mode 100644 index 000000000000..5dc5e0adaf92 --- /dev/null +++ b/media-gfx/splashutils/splashutils-0.9_pre09.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-0.9_pre09.ebuild,v 1.1 2004/09/07 15:49:39 spock Exp $ + +MISCSPLASH="miscsplashutils-0.1.2" +GENTOOSPLASH="splashutils-gentoo-0.1.1" + +DESCRIPTION="Framebuffer splash utilities." +HOMEPAGE="http://dev.gentoo.org/~spock/" +SRC_URI="mirror://gentoo/${P/_/-}.tar.bz2 + mirror://gentoo/${MISCSPLASH}.tar.bz2 + mirror://gentoo/${GENTOOSPLASH}.tar.bz2 + mirror://gentoo/fbsplash-theme-emergence-r1.tar.bz2 + mirror://gentoo/fbsplash-theme-gentoo.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=media-libs/freetype-2 + media-libs/libpng + media-libs/jpeg + >=sys-apps/baselayout-1.10.4 + !media-gfx/bootsplash" + +S="${WORKDIR}/${P/_/-}" +SM="${WORKDIR}/${MISCSPLASH}" +SG="${WORKDIR}/${GENTOOSPLASH}" + +src_unpack() { + unpack ${A} + ln -s /usr/src/linux ${S}/linux + if [ ! -e /usr/src/linux/include/linux/console_splash.h ]; then + eerror "Your kernel in /usr/src/linux has not been patched with a compatible version" + eerror "of fbsplash. Please download the latest patch from http://dev.gentoo.org/~spock/" + eerror "and patch your kernel." + die "Fbsplash not found" + fi + + if [ ! -e /usr/src/linux/include/asm ]; then + + t=$(readlink /usr/src/linux) + t=${t#/usr/src/} + + if [ -z "${KBUILD_OUTPUT_PREFIX}" ] || + [ ! -e "${KBUILD_OUTPUT_PREFIX}/${t/linux-}/include/asm" ]; then + eerror "It appears that your kernel has not been configured. Please run at least" + eerror "\`make prepare\` before merging splashutils." + die "Kernel not configured" + else + t2=$(readlink ${KBUILD_OUTPUT_PREFIX}/${t/linux-}/include/asm) + ln -s /usr/src/linux/include/${t2} ${T}/asm + sed -e "s@#CHANGEME#@${T}/@" -i ${S}/libs/klibc-0.159/klibc/makeerrlist.pl + fi + fi +} + +src_compile() { + + local miscincs + + if [ -n "${KBUILD_OUTPUT_PREFIX}" ]; then + t=$(readlink /usr/src/linux) + t=${t#/usr/src/} + miscincs="-I${T} -I${KBUILD_OUTPUT_PREFIX}/${t/linux-}/include" + fi + + emake -j1 MISCINCS="${miscincs}" + + cd ${SM} + emake +} + +src_install() { + cd ${SM} + make DESTDIR=${D} install || die + + cd ${S} + make DESTDIR=${D} install || die + + exeinto /sbin + doexe ${SG}/splash + + exeinto /etc/init.d + newexe ${SG}/init-splash splash + + insinto /sbin + doins ${SG}/splash-functions.sh + + insinto /etc/conf.d + newins ${SG}/splash.conf splash + + dodir /etc/splash/{emergence,gentoo} + cp -pR ${WORKDIR}/{emergence,gentoo} ${D}/etc/splash + ln -s emergence ${D}/etc/splash/default + dodoc docs/* README AUTHORS + + if [ ! -e ${ROOT}/etc/splash/default ]; then + dosym /etc/splash/emergence /etc/splash/default + fi +} |