summaryrefslogtreecommitdiffstats
path: root/meta/packages/lame
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/lame')
-rw-r--r--meta/packages/lame/lame/no-gtk1.patch16
-rw-r--r--meta/packages/lame/lame_3.96.1.bb30
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 0000000000..4f1a522186
--- /dev/null
+++ b/meta/packages/lame/lame/no-gtk1.patch
@@ -0,0 +1,16 @@
1--- lame-3.96.1/configure.in~no-gtk1.patch 2004-07-25 15:52:12.000000000 +0100
2+++ lame-3.96.1/configure.in 2004-09-10 15:54:39.000000000 +0100
3@@ -363,7 +363,12 @@
4
5 dnl configure use of features
6
7-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
8+#AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
9+HAVE_GTK="no"
10+GTK_CFLAGS=""
11+GTK_LIBS=""
12+AC_SUBST(GTK_CFLAGS)
13+AC_SUBST(GTK_LIBS)
14 if test "${HAVE_GTK}" = "yes"; then
15 AC_DEFINE(HAVE_GTK, 1, have working GTK)
16 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 0000000000..b732a8cb23
--- /dev/null
+++ b/meta/packages/lame/lame_3.96.1.bb
@@ -0,0 +1,30 @@
1SECTION = "console/utils"
2DESCRIPTION = "Not an MP3 encoder"
3LICENSE = "LGPL"
4PR = "r2"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/lame/lame-${PV}.tar.gz \
7 file://no-gtk1.patch;patch=1"
8
9inherit autotools
10
11PACKAGES += "libmp3lame libmp3lame-dev"
12FILES_${PN} = "${bindir}/lame"
13FILES_libmp3lame = "${libdir}/libmp3lame.so.*"
14FILES_libmp3lame-dev = "${includedir} ${libdir}"
15FILES_${PN}-dev = ""
16
17do_configure() {
18 # no autoreconf please
19 aclocal
20 autoconf
21 libtoolize --force
22 oe_runconf
23}
24
25do_stage() {
26 install -d ${STAGING_LIBDIR}
27 oe_libinstall -C libmp3lame -so -a libmp3lame ${STAGING_LIBDIR}
28 install -d ${STAGING_INCDIR}/lame
29 install -m 0644 include/lame.h ${STAGING_INCDIR}/lame/
30}