mirror of
https://github.com/cazfi/meta-games.git
synced 2026-01-29 17:08:42 +01:00
24
recipes/scummvm/scummvm/no-strip.patch
Normal file
24
recipes/scummvm/scummvm/no-strip.patch
Normal 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:
|
||||
12
recipes/scummvm/scummvm/scummvm.desktop
Normal file
12
recipes/scummvm/scummvm/scummvm.desktop
Normal 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
|
||||
43
recipes/scummvm/scummvm_1.5.0.bb
Normal file
43
recipes/scummvm/scummvm_1.5.0.bb
Normal 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"
|
||||
Reference in New Issue
Block a user