From b04f77010acae6155ae5fd4542b39ea826ee3792 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 5 Jan 2021 23:42:33 +0100 Subject: [PATCH] pinball: Add pinball-table-hurd recipe HURD table for Emilia Pinball simulator Change-Id: I125fda8cccc410ab2fcfbd8abbfcc8c74afdd080 Relate-to: https://github.com/cazfi/meta-games/issues/51 Bug-oe: https://github.com/cazfi/meta-games/pull/54 Bug-pinball: https://github.com/adoptware/pinball/issues/9 Relate-to: https://purl.org/rzr/pinball Signed-off-by: Philippe Coval --- .../pinball-table-hurd_0.0.20201119.bb | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 recipes-games/pinball/pinball-table-hurd_0.0.20201119.bb diff --git a/recipes-games/pinball/pinball-table-hurd_0.0.20201119.bb b/recipes-games/pinball/pinball-table-hurd_0.0.20201119.bb new file mode 100644 index 0000000..efef8ad --- /dev/null +++ b/recipes-games/pinball/pinball-table-hurd_0.0.20201119.bb @@ -0,0 +1,61 @@ +DESCRIPTION = "HURD Pinball table for Emilia Pinball Simulator" +HOMEPAGE = "https://github.com/rzr/pinball-table-hurd" +SECTION = "games" +LICENSE = "GPLv2 & LAL-1.3 & CC-BY-SA-3.0" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://debian/copyright;md5=894ad8c75ec3bbd77c06d637d85dbb63 \ +" + +SRC_URI = "git://github.com/rzr/pinball-table-hurd.git;protocol=https" +SRCREV = "0.0.20201119" + +S = "${WORKDIR}/git" + +DEPENDS += "libsdl \ + pinball \ +" + +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/*/* \ +${localstatedir}/games/pinball/*/highscores \ +" + +RDEPENDS_${PN} += " pinball" +RDEPENDS_${PN} += " ${PN}-data" +INSANE_SKIP_${PN} = "dev-so"