mirror of
https://github.com/cazfi/meta-games.git
synced 2026-09-12 03:49:31 +02:00
Merge pull request #5 from schnitzeltony/patches
fixes for current head + supertux
This commit is contained in:
4
dependencies/freealut/freealut_1.1.0.bb
vendored
4
dependencies/freealut/freealut_1.1.0.bb
vendored
@@ -4,9 +4,9 @@ SECTION = "libs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7ec51bd663119a90c3d50704d6051fae"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "openal"
|
||||
DEPENDS = "openal-soft"
|
||||
|
||||
SRC_URI = "http://connect.creativelabs.com/openal/Downloads/ALUT/${PN}-${PV}.tar.gz"
|
||||
|
||||
|
||||
24
dependencies/openal/openal_0.0.8.bb
vendored
24
dependencies/openal/openal_0.0.8.bb
vendored
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION = "OpenAL is a cross-platform 3D audio API."
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7ec51bd663119a90c3d50704d6051fae"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = "alsa-lib virtual/libsdl libvorbis"
|
||||
|
||||
SRC_URI = "ftp://ftp.eenet.ee/pub/FreeBSD/distfiles/${PN}-${PV}.tar.gz \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "641cf53761f35ee979f3e888614797a0"
|
||||
SRC_URI[sha256sum] = "723e2c57c3cdffa7ff11f9b6b5478d6cb4af017e5a1ee7a56032969c39c1c2fe"
|
||||
|
||||
inherit autotools pkgconfig binconfig
|
||||
|
||||
EXTRA_OECONF = "--enable-alsa --enable-sdl --enable-vorbis --disable-mp3 \
|
||||
--disable-smpeg --disable-arts"
|
||||
|
||||
do_configure_append () {
|
||||
sed -i "s/@requirements@/alsa vorbis/" admin/pkgconfig/openal.pc
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
diff -Nurd physfs-2.0.2/archivers/wad.c physfs-2.0.2-/archivers/wad.c
|
||||
--- physfs-2.0.2/archivers/wad.c 2011-02-18 23:17:31.000000000 +0200
|
||||
+++ physfs-2.0.2-/archivers/wad.c 2012-10-05 16:47:03.105547992 +0300
|
||||
@@ -245,9 +245,6 @@
|
||||
PHYSFS_uint32 fileCount;
|
||||
PHYSFS_uint32 directoryOffset;
|
||||
WADentry *entry;
|
||||
- char lastDirectory[9];
|
||||
-
|
||||
- lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */
|
||||
|
||||
BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, &fileCount,&directoryOffset), NULL, 0);
|
||||
info->entryCount = fileCount;
|
||||
19
dependencies/physfs/physfs_2.0.2.bb
vendored
19
dependencies/physfs/physfs_2.0.2.bb
vendored
@@ -1,19 +0,0 @@
|
||||
DESCRIPTION = "PhysicsFS is a library to provide abstract access to various archives."
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "zlib"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8ad5dfd37e76cb8e82b47c55a99097d5"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = "readline"
|
||||
|
||||
SRC_URI = "http://icculus.org/physfs/downloads/physfs-${PV}.tar.gz \
|
||||
file://compile_fixes.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "4e8927c3d30279b03e2592106eb9184a"
|
||||
SRC_URI[sha256sum] = "ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09"
|
||||
|
||||
S = "${WORKDIR}/physfs-${PV}"
|
||||
|
||||
inherit cmake
|
||||
@@ -0,0 +1,37 @@
|
||||
From ad105eee25e248e56c87d82fe8c70c44b4676bd9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Wed, 9 Jan 2013 01:31:38 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: don't try to run in cross environment
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [Cross-compile specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
CMakeLists.txt | 8 --------
|
||||
1 files changed, 0 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 245be10..8f4e331 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -189,14 +189,6 @@ if(UNIX)
|
||||
set(MAP_FAILED "((void *) -1)")
|
||||
endif()
|
||||
|
||||
- check_c_source_runs("
|
||||
- static int notsupported = 1;
|
||||
- void test_ctor (void) __attribute__((constructor));
|
||||
- void test_ctor (void) { notsupported = 0; }
|
||||
- int main(void) { return (notsupported); }
|
||||
- "
|
||||
- ALLEGRO_USE_CONSTRUCTOR)
|
||||
-
|
||||
find_library(RT_LIBRARY rt)
|
||||
check_c_source_compiles("
|
||||
#include <time.h>
|
||||
--
|
||||
1.7.4.4
|
||||
|
||||
@@ -5,12 +5,13 @@ SECTION = "libs"
|
||||
LICENSE = "Allegro4"
|
||||
LIC_FILES_CHKSUM = "file://docs/txt/license.txt;md5=55ec083de776f786d0da79bbbb887c50"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "virtual/libgl libglu libx11 libxcursor physfs openal jpeg"
|
||||
DEPENDS = "virtual/libgl libglu libx11 libxcursor physfs openal-soft jpeg"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/alleg/allegro/${PV}/allegro-${PV}.tar.gz \
|
||||
file://avoid_lib_paths.patch \
|
||||
file://avoid_lib_paths.patch \
|
||||
file://0001-CMakeLists.txt-don-t-try-to-run-in-cross-environment.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "4db71b0460fc99926ae91d223199c2e6"
|
||||
@@ -20,3 +21,5 @@ inherit cmake binconfig
|
||||
|
||||
S = "${WORKDIR}/allegro-${PV}"
|
||||
|
||||
FILES_${PN} += "${libdir}/allegro"
|
||||
FILES_${PN}-dbg += "${libdir}/allegro/*/.debug"
|
||||
|
||||
@@ -36,6 +36,7 @@ FILES_${PN}-common = "\
|
||||
${libdir}/libfreeciv.so.0.0.0 \
|
||||
${libdir}/libfreeciv.so.0 \
|
||||
${datadir}/po \
|
||||
${datadir}/icons/hicolor/*/*/freeciv-client.png \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-server = "freeciv-common"
|
||||
@@ -44,6 +45,7 @@ ${bindir}/freeciv-server \
|
||||
${datadir}/freeciv/default \
|
||||
${datadir}/freeciv/default.serv \
|
||||
${datadir}/freeciv/nation \
|
||||
${datadir}/icons/hicolor/*/*/freeciv-server.png \
|
||||
"
|
||||
|
||||
FILES_${PN}-client-common = "\
|
||||
@@ -54,6 +56,7 @@ ${datadir}/freeciv/amplio2.tilespec \
|
||||
${datadir}/freeciv/amplio2 \
|
||||
${datadir}/freeciv/stdsounds.soundspec \
|
||||
${datadir}/freeciv/stdsounds \
|
||||
${datadir}/icons/hicolor/*/*/freeciv-modpack.png \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-gtk2 = "freeciv-common freeciv-client-common"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require freeciv.inc
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI += "${SOURCEFORGE_MIRROR}/freeciv/freeciv-${PV}.tar.bz2"
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@ Icon=pingus
|
||||
Exec=pingus -d /usr/share/pingus/data/ -f -g 640x480 -m
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Application;Games;ArcadeGame;
|
||||
Categories=Application;Game;ArcadeGame;
|
||||
|
||||
@@ -3,11 +3,11 @@ DEPENDS = "virtual/libiconv boost libpng libglu"
|
||||
LICENSE = "GPLv3+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
HOMEPAGE = "http://pingus.seul.org/"
|
||||
PR = "r2"
|
||||
|
||||
RDEPENDS += "libmikmod"
|
||||
|
||||
inherit scons
|
||||
inherit sdl
|
||||
inherit scons sdl pythonnative
|
||||
|
||||
SRC_URI = "\
|
||||
http://${PN}.googlecode.com/files/${P}.tar.bz2 \
|
||||
|
||||
28
recipes-games/supertux/supertux2_git.bb
Normal file
28
recipes-games/supertux/supertux2_git.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original Super Mario games covered under the GPL"
|
||||
HOMEAPAGE = "http://supertux.lethargik.org"
|
||||
SECTION = "x11/application"
|
||||
LICENSE = "GPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
|
||||
DEPENDS = "boost libsdl libsdl-image libvorbis curl openal-soft physfs glew"
|
||||
|
||||
# somehow boost is not dragged in
|
||||
RDEPENDS_${PN} += "boost"
|
||||
|
||||
inherit cmake
|
||||
|
||||
SRCREV = "947098af8085388eef4b5352f5c5d0b6edbcd78a"
|
||||
PV = "0.3.3+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "git://code.google.com/p/supertux;protocol=https"
|
||||
SRC_URI[md5sum] = "f3f803e629ee51a9de0b366a036e393d"
|
||||
SRC_URI[sha256sum] = "fceaf95251092d5698211ff0f51f1c50237fa5e2a6690464e9835a66e18301d0"
|
||||
|
||||
EXTRA_OECMAKE = "-DINSTALL_SUBDIR_BIN=bin -DCMAKE_BUILD_TYPE=RELEASE"
|
||||
|
||||
do_install_append() {
|
||||
# Most of us don't have OpenGL. SDL in fullscreen seems to work best
|
||||
sed -i 's#Exec=supertux2#Exec=supertux2 --renderer sdl -f#' ${D}${datadir}/applications/supertux2.desktop
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/games/supertux2"
|
||||
@@ -5,7 +5,7 @@ LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://copyright;md5=846b2c52d78ca4f0169b5f048d877508"
|
||||
|
||||
DEPENDS = "asio freetype libsdl-image libsdl-mixer libsdl-net libsdl-ttf zlib boost pango libpng"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-1.10/${P}/${P}.tar.bz2"
|
||||
|
||||
@@ -86,6 +86,7 @@ FILES_${PN}-data = "\
|
||||
${datadir}/wesnoth/data \
|
||||
${datadir}/wesnoth/fonts \
|
||||
${datadir}/wesnoth/translations \
|
||||
${datadir}/wesnoth/l10n-track \
|
||||
"
|
||||
|
||||
FILES_${PN} = "\
|
||||
@@ -97,6 +98,7 @@ FILES_${PN} = "\
|
||||
|
||||
FILES_${PN}-server = "\
|
||||
${bindir}/wesnothd \
|
||||
${localstatedir}/run/wesnothd \
|
||||
"
|
||||
|
||||
FILES_${PN}-low ="\
|
||||
|
||||
Reference in New Issue
Block a user