mirror of
https://github.com/cazfi/meta-games.git
synced 2026-01-30 01:18:41 +01:00
libsdl2-gfx: Add recipe
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
23
dependencies/libsdl2-gfx/libsdl2-gfx/acinclude2m4.patch
vendored
Normal file
23
dependencies/libsdl2-gfx/libsdl2-gfx/acinclude2m4.patch
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
diff -Nurd SDL2_gfx-1.0.1/autogen.sh SDL2_gfx-1.0.1/autogen.sh
|
||||
--- SDL2_gfx-1.0.1/autogen.sh 2012-09-05 04:51:19.000000000 +0300
|
||||
+++ SDL2_gfx-1.0.1/autogen.sh 2016-09-18 18:21:14.113749811 +0300
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
-aclocal -I acinclude
|
||||
+aclocal -I m4
|
||||
automake --foreign --include-deps --add-missing --copy
|
||||
autoconf
|
||||
|
||||
diff -Nurd SDL2_gfx-1.0.1/configure.in SDL2_gfx-1.0.1/configure.in
|
||||
--- SDL2_gfx-1.0.1/configure.in 2014-06-19 09:11:23.000000000 +0300
|
||||
+++ SDL2_gfx-1.0.1/configure.in 2016-09-18 18:21:59.205661379 +0300
|
||||
@@ -44,6 +44,8 @@
|
||||
dnl Setup for automake
|
||||
AM_INIT_AUTOMAKE(SDL2_gfx, $VERSION)
|
||||
|
||||
+AC_CONFIG_MACRO_DIRS([m4])
|
||||
+
|
||||
dnl Check for tools
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CC
|
||||
25
dependencies/libsdl2-gfx/libsdl2-gfx_1.0.1.bb
vendored
Normal file
25
dependencies/libsdl2-gfx/libsdl2-gfx_1.0.1.bb
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "SDL2 graphics drawing primitives and other support functions."
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "zlib"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e04e1feb331457e9da15e0c88d0e8097"
|
||||
|
||||
DEPENDS = "virtual/libsdl2"
|
||||
|
||||
SRC_URI = "\
|
||||
http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${PV}.tar.gz \
|
||||
file://acinclude2m4.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "9c96816618e3e086d885d1d214e59d87"
|
||||
SRC_URI[sha256sum] = "d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a"
|
||||
|
||||
S = "${WORKDIR}/SDL2_gfx-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/pkg-config sdl2"
|
||||
|
||||
do_unpack_append() {
|
||||
os.rename("SDL2_gfx-1.0.1/acinclude", "SDL2_gfx-1.0.1/m4")
|
||||
}
|
||||
Reference in New Issue
Block a user