libsdl 1.2.x use pkgconfig
authorMichael Lauer <mickey@vanille-media.de>
Mon, 25 Aug 2008 12:34:25 +0000 (12:34 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 25 Aug 2008 12:34:25 +0000 (12:34 +0000)
packages/libsdl/libsdl-image_1.2.3.bb
packages/libsdl/libsdl-x11_1.2.11.bb
packages/libsdl/libsdl-x11_1.2.9.bb
packages/libsdl/libsdl.inc

index 1a911f9..7bf2441 100644 (file)
@@ -3,12 +3,12 @@ SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "zlib libpng jpeg virtual/libsdl"
 LICENSE = "LGPL"
-PR = "r1"
-
-SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \
-          file://autotools.patch;patch=1 \
-         "
+PR = "r2"
 
+SRC_URI = "\
+  http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \
+  file://autotools.patch;patch=1 \
+"
 S = "${WORKDIR}/SDL_image-${PV}"
 
 export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
index 5a309c5..3f9120e 100644 (file)
@@ -3,14 +3,16 @@ require libsdl.inc
 # extra-keys.patch is missing
 DEFAULT_PREFERENCE = "-1" 
 
-PR = "r1"
+PR = "r6"
 
-SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
-           file://acinclude.m4 \
-           file://configure_tweak.patch;patch=1 \
-           file://pagesize.patch;patch=1 \
-           file://kernel-asm-page.patch;patch=1 \
-          file://sdl-cdfix.patch;patch=1 "
+SRC_URI = "\
+  http://www.libsdl.org/release/SDL-${PV}.tar.gz \
+  file://acinclude.m4 \
+  file://configure_tweak.patch;patch=1 \
+  file://pagesize.patch;patch=1 \
+  file://kernel-asm-page.patch;patch=1 \
+  file://sdl-cdfix.patch;patch=1 \
+"
 
 EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
                 --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
index 43148d4..637f0ae 100644 (file)
@@ -1,4 +1,5 @@
 require libsdl.inc
+PR = "r6"
 
 EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
                 --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
index 5266c71..5653925 100644 (file)
@@ -5,7 +5,6 @@ DEPENDS = "alsa-lib mesa virtual/libx11 libxext"
 DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext"
 PROVIDES = "virtual/libsdl"
 LICENSE = "LGPL"
-PR = "r5"
 
 SRC_URI = "\
   http://www.libsdl.org/release/SDL-${PV}.tar.gz \
@@ -15,7 +14,7 @@ SRC_URI = "\
   file://acinclude.m4"
 S = "${WORKDIR}/SDL-${PV}"
 
-inherit autotools binconfig
+inherit autotools binconfig pkgconfig
 
 EXTRA_OECONF = "<overwrite me>"