diff options
Diffstat (limited to 'meta/packages/lame')
-rw-r--r-- | meta/packages/lame/lame/no-gtk1.patch | 16 | ||||
-rw-r--r-- | meta/packages/lame/lame_3.96.1.bb | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/lame/lame/no-gtk1.patch b/meta/packages/lame/lame/no-gtk1.patch new file mode 100644 index 000000000..4f1a52218 --- /dev/null +++ b/meta/packages/lame/lame/no-gtk1.patch @@ -0,0 +1,16 @@ +--- lame-3.96.1/configure.in~no-gtk1.patch 2004-07-25 15:52:12.000000000 +0100 ++++ lame-3.96.1/configure.in 2004-09-10 15:54:39.000000000 +0100 +@@ -363,7 +363,12 @@ + + dnl configure use of features + +-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no") ++#AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no") ++HAVE_GTK="no" ++GTK_CFLAGS="" ++GTK_LIBS="" ++AC_SUBST(GTK_CFLAGS) ++AC_SUBST(GTK_LIBS) + if test "${HAVE_GTK}" = "yes"; then + AC_DEFINE(HAVE_GTK, 1, have working GTK) + fi diff --git a/meta/packages/lame/lame_3.96.1.bb b/meta/packages/lame/lame_3.96.1.bb new file mode 100644 index 000000000..b732a8cb2 --- /dev/null +++ b/meta/packages/lame/lame_3.96.1.bb @@ -0,0 +1,30 @@ +SECTION = "console/utils" +DESCRIPTION = "Not an MP3 encoder" +LICENSE = "LGPL" +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/lame/lame-${PV}.tar.gz \ + file://no-gtk1.patch;patch=1" + +inherit autotools + +PACKAGES += "libmp3lame libmp3lame-dev" +FILES_${PN} = "${bindir}/lame" +FILES_libmp3lame = "${libdir}/libmp3lame.so.*" +FILES_libmp3lame-dev = "${includedir} ${libdir}" +FILES_${PN}-dev = "" + +do_configure() { + # no autoreconf please + aclocal + autoconf + libtoolize --force + oe_runconf +} + +do_stage() { + install -d ${STAGING_LIBDIR} + oe_libinstall -C libmp3lame -so -a libmp3lame ${STAGING_LIBDIR} + install -d ${STAGING_INCDIR}/lame + install -m 0644 include/lame.h ${STAGING_INCDIR}/lame/ +} |