forked from cazfi/meta-games
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinball: Add pinball-table-gnu extra
GNU table for Emilia Pinball simulator Change-Id: I27872c46eea7367b98242215874014f0819b1d06 Bug: adoptware/pinball-table-gnu#6 Bug-oe: cazfi#51 Bug-pinball: adoptware/pinball#9 Relate-to: https://purl.org/rzr/pinball Signed-off-by: Philippe Coval <[email protected]>
- Loading branch information
Showing
1 changed file
with
60 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,60 @@ | ||
DESCRIPTION = "GNU Pinball table for Emilia Pinball Simulator" | ||
HOMEPAGE = "https://github.com/rzr/pinball-table-gnu" | ||
SECTION = "games" | ||
LICENSE = "GPLv2 & GPLv3 & LAL-1.3 & CC-BY-SA-3.0" | ||
LIC_FILES_CHKSUM = " \ | ||
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
file://debian/copyright;md5=7d2f80a6e11a2648d4657afdb89d05a8 \ | ||
" | ||
|
||
SRC_URI = "git://github.com/rzr/pinball-table-gnu.git;protocol=https" | ||
SRCREV = "0.0.20200601" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
DEPENDS += "pinball \ | ||
libsdl \ | ||
" | ||
|
||
inherit pkgconfig autotools-brokensep | ||
|
||
PACKAGECONFIG ??= "sdl" | ||
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl" | ||
|
||
PACKAGES = "${PN}" | ||
PACKAGES += "${PN}-dev" | ||
PACKAGES += "${PN}-staticdev" | ||
PACKAGES += "${PN}-dbg" | ||
PACKAGES += "${PN}-data" | ||
|
||
REMOVE_LIBTOOL_LA = "0" | ||
|
||
do_configure_prepend() { | ||
cd ${S} | ||
./bootstrap | ||
} | ||
|
||
FILES_${PN}-dev = "\ | ||
${includedir}/${PN}/* \ | ||
" | ||
|
||
FILES_${PN}-staticdev = "\ | ||
${libdir}/pinball/lib*.a \ | ||
" | ||
|
||
FILES_${PN}-dbg = "\ | ||
${libdir}/pinball/.debug/libModule*.so* \ | ||
" | ||
|
||
FILES_${PN} = "\ | ||
${libdir}/pinball/libModule*.so* \ | ||
${libdir}/pinball/libModule*.la \ | ||
" | ||
|
||
FILES_${PN}-data = "\ | ||
${datadir}/pinball/*/* \ | ||
" | ||
|
||
RDEPENDS_${PN} += " pinball" | ||
RDEPENDS_${PN} += " ${PN}-data" | ||
INSANE_SKIP_${PN} = "dev-so" |