diff options
Diffstat (limited to 'recipes/beepmp')
-rw-r--r-- | recipes/beepmp/beepmp/gnusource.patch | 12 | ||||
-rw-r--r-- | recipes/beepmp/beepmp_0.9.7.bb | 26 |
2 files changed, 38 insertions, 0 deletions
diff --git a/recipes/beepmp/beepmp/gnusource.patch b/recipes/beepmp/beepmp/gnusource.patch new file mode 100644 index 0000000000..f1cf2d7a76 --- /dev/null +++ b/recipes/beepmp/beepmp/gnusource.patch @@ -0,0 +1,12 @@ +Index: bmp-0.9.7/beep/util.c +=================================================================== +--- bmp-0.9.7.orig/beep/util.c 2004-12-04 04:04:29.000000000 -0500 ++++ bmp-0.9.7/beep/util.c 2005-03-13 00:43:40.650828304 -0500 +@@ -23,6 +23,7 @@ + # include "config.h" + #endif + ++#define _GNU_SOURCE + #define NEED_GLADE + #include "util.h" + diff --git a/recipes/beepmp/beepmp_0.9.7.bb b/recipes/beepmp/beepmp_0.9.7.bb new file mode 100644 index 0000000000..6eb86fa101 --- /dev/null +++ b/recipes/beepmp/beepmp_0.9.7.bb @@ -0,0 +1,26 @@ +# beepmp OE build file +# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "A GTK2 based media player that looks alot like XMMS" +SECTION = "x11/multimedia" +HOMEPAGE = "http://beepmp.sourceforge.net" +LICENSE = "GPL" + +SRC_URI = "${SOURCEFORGE_MIRROR}/beepmp/bmp-${PV}.tar.gz \ + file://gnusource.patch;patch=1" + +inherit autotools pkgconfig + +DEPENDS = "gtk+ libglade libogg libvorbis" +S = "${WORKDIR}/bmp-0.9.7" + +FILES_${PN} += " ${libdir}/bmp/Output/*.so ${libdir}/bmp/Input/*.so \ + ${libdir}/bmp/Visualization/*.so ${datadir}/bmp" + +EXTRA_OECONF = "--disable-esd --disable-alsa --enable-simd" + +do_configure() { + rm -rf m4/libtool.m4 + autotools_do_configure +} |