27 lines
969 B
BlitzBasic
27 lines
969 B
BlitzBasic
DESCRIPTION = "Allegro4 is cross-platform, open source, game programming library"
|
|
HOMEPAGE = "https://liballeg.org/"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "Allegro4"
|
|
LIC_FILES_CHKSUM = "file://docs/txt/license.txt;md5=55ec083de776f786d0da79bbbb887c50"
|
|
|
|
DEPENDS = "virtual/libgl libglu libx11 libxcursor physfs openal-soft jpeg"
|
|
|
|
# This uses uploaded asset from github.com, not one automatically regenerated
|
|
# from time to time
|
|
SRC_URI = "https://github.com/liballeg/allegro5/releases/download/${PV}/allegro-${PV}.tar.gz \
|
|
file://avoid_include_paths.patch \
|
|
file://avoid_lib_paths.patch \
|
|
file://0001-CMakeLists.txt-don-t-try-to-run-in-cross-environment.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "d0435da87d4c157ad3620e1cc58b807e"
|
|
SRC_URI[sha256sum] = "ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4"
|
|
|
|
inherit cmake binconfig
|
|
|
|
S = "${WORKDIR}/allegro-${PV}"
|
|
|
|
FILES:${PN} += "${libdir}/allegro"
|
|
FILES:${PN}-dbg += "${libdir}/allegro/*/.debug"
|