summaryrefslogtreecommitdiff
path: root/recipes/bootsplash/bootsplash_3.0.7.bb
blob: 9f531a1c81fe24d74c06ffcfec2211911a6c5c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# bootsplash OE build file
# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION="Bootsplash shows pretty pictures during boot"
HOMEPAGE="http://www.bootsplash.org"
SECTION = "media-gfx"
LICENSE = "GPL"
SRC_URI="ftp://ftp.openbios.org/pub/bootsplash/rpm-sources/bootsplash/bootsplash-${PV}.tar.bz2 \
         file://freetype2.patch;patch=1 \
	 file://gcc-issues.patch;patch=1"

DEPENDS="freetype libmng"
PR = "r1"

EXTRA_OEMAKE += "-C Utilities \
		CFLAGS='${CFLAGS} -I${STAGING_INCDIR}/freetype2/ -I${STAGING_INCDIR}' \
		LDFLAGS='${LDFLAGS} -L${STAGING_LIBDIR} -ljpeg'"

do_compile() {
	oe_runmake
}

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 ${S}/Utilities/fbtruetype ${D}${bindir}
	install -m 0755 ${S}/Utilities/splash ${D}${bindir}
}

SRC_URI[md5sum] = "d7c7cdab692fb2edc5cf5ebb554f20a1"
SRC_URI[sha256sum] = "9b20c37f2ae2247354b580e080bf0c3b650d3e63bf39c3d5573ef3b9c75fe0f0"