allegro4: added

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
This commit is contained in:
Marko Lindqvist
2012-12-13 04:05:11 +02:00
parent 08921ad17d
commit 50d9c9eb83
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
allegro-config does not give any library path parameters for --libs to
avoid problems with target paths getting used in build system.
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff -Nurd allegro-4.4.2/misc/allegro-config.in allegro-4.4.2/misc/allegro-config.in
--- allegro-4.4.2/misc/allegro-config.in 2010-03-03 12:22:34.000000000 +0200
+++ allegro-4.4.2/misc/allegro-config.in 2012-12-13 03:59:39.564579024 +0200
@@ -188,11 +188,11 @@
fi
if test "$echo_libs" = "yes"; then
- test -z "$addon_form" && libdirs=-L${lib_path}
+ test -z "$addon_form"
if test "$static_libs" = "yes"; then
- echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
+ echo $allegro_ldflags -l${lib_type} $allegro_libs
else
- echo $libdirs $allegro_ldflags -l${lib_type}
+ echo $allegro_ldflags -l${lib_type}
fi
fi

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Allegro4 is cross-platform, open source, game programming library"
HOMEPAGE = "http://alleg.sourceforge.net/"
SECTION = "libs"
LICENSE = "Allegro4"
LIC_FILES_CHKSUM = "file://docs/txt/license.txt;md5=55ec083de776f786d0da79bbbb887c50"
PR = "r0"
DEPENDS = "virtual/libgl libglu libx11 libxcursor physfs openal jpeg"
SRC_URI = "${SOURCEFORGE_MIRROR}/alleg/allegro/${PV}/allegro-${PV}.tar.gz \
file://avoid_lib_paths.patch \
"
SRC_URI[md5sum] = "4db71b0460fc99926ae91d223199c2e6"
SRC_URI[sha256sum] = "1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc"
inherit cmake binconfig
S = "${WORKDIR}/allegro-${PV}"