Merge branch 'master' of github.com:cazfi/meta-games

This commit is contained in:
Marko Lindqvist
2012-11-08 02:59:21 +02:00
11 changed files with 291 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes/*/*.bb ${LAYERDIR}/dependencies/*/*.bb ${LAYERDIR}/test/images/*/*.bb"
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/dependencies/*/*.bb ${LAYERDIR}/test/images/*/*.bb"
BBFILE_COLLECTIONS += "games-layer"
BBFILE_PATTERN_games-layer := "^${LAYERDIR}/"

View File

@@ -0,0 +1,13 @@
Index: SDL_net-1.2.7/configure.in
===================================================================
--- SDL_net-1.2.7.orig/configure.in 2007-07-20 14:40:02.000000000 +0200
+++ SDL_net-1.2.7/configure.in 2008-07-24 00:41:04.282718579 +0200
@@ -42,6 +42,8 @@
dnl Setup for automake
AM_INIT_AUTOMAKE(SDL_net, $VERSION)
+dnl got macros
+AC_CONFIG_MACRO_DIR([acinclude])
dnl Check for tools
AC_LIBTOOL_WIN32_DLL

View File

@@ -0,0 +1,19 @@
DESCRIPTION = "Simple DirectMedia Layer networking library."
SECTION = "libs/network"
PRIORITY = "optional"
DEPENDS = "virtual/libsdl"
LICENSE = "zlib"
LIC_FILES_CHKSUM = "file://COPYING;md5=9cf3de2d872bf510f88eb20d06d700b5"
SRC_URI = " \
http://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz \
file://libtool2.patch \
"
S = "${WORKDIR}/SDL_net-${PV}"
inherit autotools
EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config"
SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718"
SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"

View File

@@ -0,0 +1,24 @@
Submitted https://github.com/scummvm/scummvm/pull/286
---
Index: scummvm-1.5.0/ports.mk
===================================================================
--- scummvm-1.5.0.orig/ports.mk 2012-10-13 19:48:34.137966047 +0200
+++ scummvm-1.5.0/ports.mk 2012-10-13 19:49:04.797967339 +0200
@@ -8,7 +8,7 @@
#
install:
$(INSTALL) -d "$(DESTDIR)$(bindir)"
- $(INSTALL) -c -s -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(bindir)/$(EXECUTABLE)"
+ $(INSTALL) -c -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(bindir)/$(EXECUTABLE)"
$(INSTALL) -d "$(DESTDIR)$(mandir)/man6/"
$(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(mandir)/man6/scummvm.6"
$(INSTALL) -d "$(DESTDIR)$(datarootdir)/pixmaps/"
@@ -19,7 +19,7 @@
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/"
ifdef DYNAMIC_MODULES
$(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/"
- $(INSTALL) -c -s -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
+ $(INSTALL) -c -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/"
endif
uninstall:

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Name=ScummVM
Name[pl]=ScummVM
Comment=Interpreter for several adventure games
Comment[pl]=Interpreter graficznych gier przygodowych
Exec=scummvm
Icon=scummvm.xpm
Terminal=false
Type=Application
Categories=Application;Game;AdventureGame;
StartupNotify=false

View File

@@ -0,0 +1,43 @@
DESCRIPTION = "Virtual Machine for several classic graphical point-and-click adventure games"
HOMEPAGE = "http://www.scummvm.org"
SECTION = "games"
PRIORITY = "optional"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=761a03e159b8bb74f377e30458e210e1"
inherit autotools
SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tar.bz2 \
file://scummvm.desktop \
file://no-strip.patch \
"
DEPENDS = "virtual/libsdl libvorbis libogg zlib \
${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad mpeg2dec', d)}"
EXTRA_OECONF = " \
--host=${HOST_SYS} \
--backend=sdl \
--with-sdl-prefix=${STAGING_BINDIR_CROSS} \
--prefix=${prefix} \
--with-ogg-prefix=${STAGING_LIBDIR}/.. \
--with-vorbis-prefix=${STAGING_LIBDIR}/.. \
--disable-alsa \
--enable-plugins \
--default-dynamic \
--enable-all-engines \
${@base_conditional('ENTERPRISE_DISTRO', '1', '--disable-mad', '--with-mad-prefix=${STAGING_LIBDIR}/..', d)} \
"
EXTRA_OEMAKE = "MANDIR=${mandir}"
do_configure() {
./configure ${EXTRA_OECONF}
sed -i "s/AS := as/AS := ${AS}/" ${S}/config.mk
sed -i "s/AR := ar cru/AR := ${AR} cru/" ${S}/config.mk
sed -i "s/STRIP := strip/STRIP := ${STRIP}/" ${S}/config.mk
sed -i "s/RANLIB := ranlib/RANLIB := ${RANLIB}/" ${S}/config.mk
}
SRC_URI[md5sum] = "d71d1df5c8262556fedbe885972fbf6e"
SRC_URI[sha256sum] = "81831cd878a8daad2976f65c92139a2102233082c7d2770579d7e425b19cea2e"

View File

@@ -0,0 +1,179 @@
DESCRIPTION = "The Battle for Wesnoth is a turn-based strategy game with a fantasy theme."
HOMEPAGE = "http://www.wesnoth.org/"
SECTION = "games"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://copyright;md5=846b2c52d78ca4f0169b5f048d877508"
DEPENDS = "asio freetype libsdl-image libsdl-mixer libsdl-net libsdl-ttf zlib boost pango libpng"
INC_PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-1.10/${P}/${P}.tar.bz2"
ARM_INSTRUCTION_SET = "arm"
inherit cmake
EXTRA_OECMAKE = "\
-DENABLE_EDITOR=ON \
-DENABLE_LOW_MEM=ON \
-DENABLE_FRIBIDI=OFF \
\
-DCMAKE_BUILD_TYPE=Debug \
-DENABLE_STRICT_COMPILATION=OFF \
"
PACKAGES = "${PN}-editor ${PN}-doc ${PN}-music ${PN}-sounds \
${PN}-aoi ${PN}-did ${PN}-ei ${PN}-httt ${PN}-l \
${PN}-nr ${PN}-sof ${PN}-sotbe ${PN}-thot ${PN}-trow \
${PN}-tsg ${PN}-tb ${PN}-utbs ${PN}-low\
${PN}-data \
${PN}-all-campaigns \
${PN}-all \
${PN} ${PN}-dbg \
${PN}-server \
"
DESCRIPTION_${PN}-editor = "Map Editor for The Battle for ${PN}"
DESCRIPTION_${PN}-all = "The Battle for ${PN} with all campaigns, music and sounds"
DESCRIPTION_${PN}-all-campaigns = "The Battle for ${PN} with all campaigns."
DESCRIPTION_${PN}-sounds = "Optional sound package for The Battle for ${PN}"
DESCRIPTION_${PN}-music = "Optional music package for The Battle for ${PN}"
DESCRIPTION_${PN}-data = "Mandatory data package for The Battle for ${PN}"
DESCRIPTION_${PN}-server = "Optional Battle for Wesnoth server"
do_configure_prepend(){
export HOST_SYS="${HOST_SYS}"
export BUILD_SYS="${BUILD_SYS}"
export STAGING_LIBDIR="${STAGING_LIBDIR}"
export STAGING_INCDIR="${STAGING_INCDIR}"
rm -f ${S}/cmake/FindBoost.cmake
}
do_install_append() {
#ugly hack but otherwise it would have required to
#have MANDIR:STRING=share/man that would require a
#second python function
if [ -d ${D}${prefix}/man ];then
mv ${D}${prefix}/man ${D}${mandir}
fi
}
RDEPENDS_${PN} = "${PN}-data libpng tremor"
RDEPENDS_${PN}-editor = "${PN}-data"
RDEPENDS_${PN}-all-campaigns = "${PN} \
${PN}-aoi ${PN}-did ${PN}-ei ${PN}-httt ${PN}-l \
${PN}-nr ${PN}-sof ${PN}-sotbe ${PN}-thot ${PN}-trow \
${PN}-tsg ${PN}-tb ${PN}-utbs ${PN}-low"
# Installing wesnoth-all should pull everything in (like in Debian).
RDEPENDS_${PN}-all = "${PN} ${PN}-sounds ${PN}-music"
FILES_${PN}-music = "\
${datadir}/wesnoth/data/core/music \
"
FILES_${PN}-sounds = "\
${datadir}/wesnoth/data/core/sounds \
"
# Picks up remaining translations and data. Must be packaged after
# wesnoth-music, wesnoth-sounds and all campaigns.
FILES_${PN}-data = "\
${datadir}/wesnoth/sounds \
${datadir}/wesnoth/images \
${datadir}/wesnoth/data \
${datadir}/wesnoth/fonts \
${datadir}/wesnoth/translations \
"
FILES_${PN} = "\
${bindir}/wesnoth \
${datadir}/icons \
${datadir}/applications/wesnoth.desktop \
${datadir}/pixmaps/wesnoth-icon.png \
"
FILES_${PN}-server = "\
${bindir}/wesnothd \
"
FILES_${PN}-low ="\
${datadir}/wesnoth/data/campaigns/Legend_of_Wesmere \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-aoi.mo \
"
FILES_${PN}-editor = "\
${bindir}/wesnoth_editor \
${datadir}/applications/wesnoth_editor.desktop \
${datadir}/pixmaps/wesnoth_editor-icon.png \
"
FILES_${PN}-aoi = "\
${datadir}/wesnoth/data/campaigns/An_Orcish_Incursion \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-aoi.mo \
"
FILES_${PN}-did = "\
${datadir}/wesnoth/data/campaigns/Descent_Into_Darkness \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-did.mo \
"
FILES_${PN}-ei = "\
${datadir}/wesnoth/data/campaigns/Eastern_Invasion \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-ei.mo \
"
FILES_${PN}-httt = "\
${datadir}/wesnoth/data/campaigns/Heir_To_The_Throne \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-httt.mo \
"
FILES_${PN}-l = "\
${datadir}/wesnoth/data/campaigns/Liberty \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-l.mo \
"
FILES_${PN}-nr = "\
${datadir}/wesnoth/data/campaigns/Northern_Rebirth \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-nr.mo \
"
FILES_${PN}-sof = "\
${datadir}/wesnoth/data/campaigns/Sceptre_Of_Fire \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-sof.mo \
"
FILES_${PN}-sotbe = "\
${datadir}/wesnoth/data/campaigns/Son_Of_The_Black_Eye \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-sotbe.mo \
"
FILES_${PN}-thot = "\
${datadir}/wesnoth/data/campaigns/The_Hammer_Of_Thursagan \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-thot.mo \
"
FILES_${PN}-trow = "\
${datadir}/wesnoth/data/campaigns/The_Rise_Of_Wesnoth \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-trow.mo \
"
FILES_${PN}-tsg = "\
${datadir}/wesnoth/data/campaigns/The_South_Guard \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-tsg.mo \
"
FILES_${PN}-tb = "\
${datadir}/wesnoth/data/campaigns/Two_Brothers \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-tb.mo \
"
FILES_${PN}-utbs = "\
${datadir}/wesnoth/data/campaigns/Under_the_Burning_Suns \
${datadir}/wesnoth/translations/*/LC_MESSAGES/wesnoth-utbs.mo \
"
SRC_URI[md5sum] = "1a673f12e4521fc66e60ec584fa7c98f"
SRC_URI[sha256sum] = "97131daf6e52175abe1c84ff55dbbf0f6b102b99f29d32490f5e89ee02cfebc3"