aboutsummaryrefslogtreecommitdiff
path: root/recipes/xaos/xaos_3.2.3.bb
blob: 8214b293086dd45497334c448906168b1a24fedb (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
32
DESCRIPTION = "GNU XaoS, a realtime fractal generator zoomer"
HOMEPAGE = "http://wmi.math.u-szeged.hu/xaos/doku.php"
SECTION = "graphics"
LICENSE = "GPLv2"
DEPENDS = "aalib libx11 zlib libpng"
RDEPENDS_${PN} += "libxxf86dga"
PR = "r1"

SRC_URI = "http://easynews.dl.sourceforge.net/sourceforge/xaos/XaoS-3.2.3.tar.gz \
           file://fix-build.patch \
           file://fix-aalib-configure.patch"

S = "${WORKDIR}/XaoS-${PV}"

inherit autotools

EXTRA_OECONF = "--disable-nls"
#--with-x --with-ncurses=${STAGING_INCDIR} --with-dga-driver=no --with-x11-driver=no --with-aa-driver=yes

do_configure_prepend() {
    sed -i 's~/usr/include~${STAGING_INCDIR}~' ${S}/configure.in
    sed -i 's~/usr/local/include~${STAGING_INCDIR}~' ${S}/configure.in
    sed -i 's~/usr/lib~${STAGING_LIBDIR}~' ${S}/configure.in
    sed -i 's~/usr/local/lib~${STAGING_LIBDIR}~' ${S}/configure.in
}

FILES_${PN} = "${bindir} ${datadir}/XaoS/catalogs"

CFLAGS = "-L${STAGING_LIBDIR}"

SRC_URI[md5sum] = "f1d9a9f3d2097906754b8824ba925e64"
SRC_URI[sha256sum] = "b15420bcfafeca09eb29e5961cedbbe0572d0fc7912f6c545458a346188516c1"