56 lines
1.9 KiB
BlitzBasic
56 lines
1.9 KiB
BlitzBasic
SUMMARY = "D1X-Rebirth is a Source Port of the Descent Game"
|
|
HOMEPAGE = "http://www.dxx-rebirth.com/"
|
|
SECTION = "games"
|
|
LICENSE = "DXX-Rebirth"
|
|
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7077769a51d612f2edcc6abd1e5dfa6d"
|
|
|
|
inherit python3native pkgconfig
|
|
|
|
DEPENDS = " \
|
|
python3-scons-native \
|
|
libsdl \
|
|
libsdl-mixer \
|
|
libsdl-image \
|
|
physfs \
|
|
libpng \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/dxx-rebirth/dxx-rebirth.git;branch=master;protocol=https \
|
|
http://www.dxx-rebirth.com/download/dxx/content/descent-mac-demo.zip;name=data \
|
|
http://www.descent2.de/files/sound/hires-sounds.7z;name=sound \
|
|
http://www.dxx-rebirth.com/download/dxx/res/d1xr-sc55-music.dxa;name=music;unpack=0 \
|
|
"
|
|
SRCREV = "ad46235b67a24a38dec4734f94a59eba149ad94a"
|
|
PV = "v0.59+git${SRCPV}"
|
|
S = "${WORKDIR}/git"
|
|
|
|
SRC_URI[data.md5sum] = "010815be5d87d61150a938ad593102fe"
|
|
SRC_URI[data.sha256sum] = "17d2fdefc06a96a50f54d4eba745835b619115e5327ddc3d23052bf4ec0e3300"
|
|
SRC_URI[sound.md5sum] = "474fdf1c1f8d2bbbc68f271cb9aa28b8"
|
|
SRC_URI[sound.sha256sum] = "39cab9e2aed4c6ec9e3b811bbdf2c880d4acd87e4c66a9e1f80f1b25aef5ef6b"
|
|
SRC_URI[music.md5sum] = "bf54b45a648052b2531bbb95c001403b"
|
|
SRC_URI[music.sha256sum] = "b27f7b9dc5f9c2744402c56c9499dfd9503c17e73a2a5223e745529d7867962f"
|
|
|
|
do_unpack[depends] += "p7zip-native:do_populate_sysroot"
|
|
|
|
do_compile() {
|
|
scons ${PARALLEL_MAKE} opengl=0 prefix=${D}${prefix} sharepath=${datadir}/${BPN}
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install ${S}/build/${BPN}/${BPN} ${D}${bindir}
|
|
|
|
install -d ${D}${datadir}/applications
|
|
install ${S}/${BPN}/${BPN}.desktop ${D}${datadir}/applications
|
|
|
|
install -d ${D}${datadir}/pixmaps
|
|
install ${S}/${BPN}/${BPN}.xpm ${D}${datadir}/pixmaps
|
|
|
|
install -d ${D}${datadir}/${BPN}
|
|
install ${WORKDIR}/descent.hog ${WORKDIR}/descent.pig ${WORKDIR}/d1xr-sc55-music.dxa ${D}${datadir}/${BPN}
|
|
}
|
|
|
|
RRECOMMENDS:${PN} = "tremor"
|