-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emilia Pinball libre pinball simulator for GNU/Linux Bug: #51 Origin: https://github.com/CrossStream/meta-games/tree/sandbox/rzr/review/master Relate-to: https://purl.org/rzr/pinball Change-Id: Ibf66c90b8697e0e5322c35cadb298fbf3528458a Signed-off-by: Philippe Coval <[email protected]>
- Loading branch information
Showing
1 changed file
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
SECTION = "games" | ||
LICENSE = "GPLv2 & CC0-1.0" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
LIC_FILES_CHKSUM += "file://debian/copyright;md5=ef0d1a481815636a22c1d73b1233d9c0" | ||
|
||
SRC_URI = "git://github.com/adoptware/pinball.git;protocol=https;nobranch=1" | ||
SRCREV ?= "fdb2fa3ebea8a1c20e1a50a54c5df292d342b531" | ||
|
||
PR ?= "r0" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
DEPENDS += " alsa-lib" | ||
DEPENDS += " libglu" | ||
DEPENDS += " libsdl" | ||
DEPENDS += " libsdl-image" | ||
DEPENDS += " libsdl-mixer" | ||
DEPENDS += " libtool" | ||
DEPENDS += " libvorbis" | ||
DEPENDS += " libx11" | ||
DEPENDS += " tiff" | ||
DEPENDS += " virtual/libgl" | ||
|
||
DISTRO_FEATURES_append = " opengl x11" | ||
DISTRO_FEATURES_remove = " wayland" | ||
|
||
PACKAGECONFIG ??= "sdl" | ||
PACKAGECONFIG_append += "sdl-image" | ||
|
||
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl" | ||
PACKAGECONFIG[sdl-image] = "--enable-sdl-image,--disable-sdl-image,libsdl-image" | ||
PACKAGECONFIG[sdl-mixer] = "--enable-sdl-mixer,--disable-sdl-mixer,libsdl-mixer" | ||
|
||
PACKAGES = "${PN}" | ||
PACKAGES += "${PN}-staticdev" | ||
PACKAGES += "${PN}-dbg" | ||
PACKAGES += "${PN}-dev" | ||
PACKAGES += "${PN}-data" | ||
|
||
inherit pkgconfig autotools-brokensep | ||
REMOVE_LIBTOOL_LA = "0" | ||
|
||
do_configure_prepend() { | ||
cd ${S} | ||
sed -e "s|libtool --version|-libtool --version|g" -i helper.mk | ||
./bootstrap | ||
} | ||
|
||
do_install_append() { | ||
rm -rf ${D}/var | ||
} | ||
|
||
FILES_${PN}-dev = "\ | ||
${includedir}/${PN}/* \ | ||
${bindir}/${PN}-config \ | ||
" | ||
|
||
FILES_${PN}-staticdev = "\ | ||
${libdir}/${PN}/lib*.a \ | ||
" | ||
|
||
FILES_${PN}-dbg = "\ | ||
${libdir}/${PN}/.debug/libModule*.so* \ | ||
" | ||
|
||
FILES_${PN} = "\ | ||
${libdir}/${PN}/libModule*.so* \ | ||
${libdir}/${PN}/libModule*.la* \ | ||
${bindir}/${PN} \ | ||
" | ||
|
||
FILES_${PN}-data = "\ | ||
${datadir}/${PN}/* \ | ||
" | ||
|
||
RDEPENDS_${PN} += " ${PN}-data" | ||
INSANE_SKIP_${PN} = "dev-so" |