diff options
author | Rene Wagner <rw@handhelds.org> | 2004-12-24 23:10:35 +0000 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2004-12-24 23:10:35 +0000 |
commit | 9d76d25d6b2e00df671827e97c2faf6444927da2 (patch) | |
tree | 33ea5df5b7cfa1e028edd9089c031e0a4c544441 /packages | |
parent | 35238929ae91d6882e4dc0f7d3a9c42123d5c928 (diff) |
faad2: fix/remove patches to make it build
BKrev: 41cca1ebrUm03CjEoEryf2qTONSW4g
Diffstat (limited to 'packages')
-rw-r--r-- | packages/faad2/faad2-2.0/Makefile.patch | 11 | ||||
-rw-r--r-- | packages/faad2/faad2_2.0.bb | 30 |
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/faad2/faad2-2.0/Makefile.patch b/packages/faad2/faad2-2.0/Makefile.patch index e69de29bb2..32c834a353 100644 --- a/packages/faad2/faad2-2.0/Makefile.patch +++ b/packages/faad2/faad2-2.0/Makefile.patch @@ -0,0 +1,11 @@ +--- faad2/Makefile.am.orig 2004-12-24 22:59:30.000000000 +0100 ++++ faad2/Makefile.am 2004-12-24 22:59:42.000000000 +0100 +@@ -1,8 +1,3 @@ + SUBDIRS = libfaad common frontend plugins + + EXTRA_DIST = faad2.spec +- +-rpm: Makefile +- make dist +- $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz +- rm $(PACKAGE)-$(VERSION).tar.gz diff --git a/packages/faad2/faad2_2.0.bb b/packages/faad2/faad2_2.0.bb index e69de29bb2..5ccff29ce4 100644 --- a/packages/faad2/faad2_2.0.bb +++ b/packages/faad2/faad2_2.0.bb @@ -0,0 +1,30 @@ + +DESCRIPTION = "Library for reading some sort of media format." +SECTION = "libs" +LICENSE = "LGPL" +PRIORITY = "optional" +DEPENDS = "" + +inherit autotools + +SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.zip \ + file://Makefile.patch;patch=1 \ +" +S="${WORKDIR}/${PN}" + +PACKAGES = "${PN} libfaad libfaad-dev libmp4ff libmp4ff-dev" + +FILES_${PN} = "/usr/bin/faad" + +FILES_libfaad = "/usr/lib/libfaad.so.0 /usr/lib/libfaad.so.0.0.0" +FILES_libfaad-dev = "/usr/lib/libfaad.so /usr/lib/libfaad.la /usr/lib/libfaad.a /usr/include/faad.h" + +FILES_libmp4ff = "/usr/lib/libmp4ff.so.0 /usr/lib/libmp4ff.so.0.0.0" +FILES_libmp4ff-dev = "/usr/lib/libmp4ff.so /usr/lib/libmp4ff.la /usr/lib/libmp4ff.a /usr/include/mp4ff.h" + +do_stage() { + oe_libinstall -a -so -C libfaad libfaad ${STAGING_LIBDIR} + install -m 0644 ${S}/include/faad.h ${STAGING_INCDIR}/ + oe_libinstall -a -so -C common/mp4ff libmp4ff ${STAGING_LIBDIR} + install -m 0644 ${S}/common/mp4ff/mp4ff.h ${STAGING_INCDIR}/ +} |