diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2009-11-18 09:26:37 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2009-11-18 09:57:45 +0100 |
commit | 84e7079ff51a434387b55e2939bf9494f9718e96 (patch) | |
tree | a0ea848bbfd128aac0b32fb54c9733db6bf0ba4b /recipes/intone | |
parent | 6cc72681e13ae441ebb6af30f7f183b7d19f0f43 (diff) |
intone: new recipe from SHR
Diffstat (limited to 'recipes/intone')
-rw-r--r-- | recipes/intone/intone/vorbis-include-id3tag.patch | 23 | ||||
-rw-r--r-- | recipes/intone/intone_svn.bb | 39 |
2 files changed, 62 insertions, 0 deletions
diff --git a/recipes/intone/intone/vorbis-include-id3tag.patch b/recipes/intone/intone/vorbis-include-id3tag.patch new file mode 100644 index 0000000000..71bd5e7dc8 --- /dev/null +++ b/recipes/intone/intone/vorbis-include-id3tag.patch @@ -0,0 +1,23 @@ +diff -uri intone/src/db_sqlite.c intone.mok/src/db_sqlite.c +--- intone/src/db_sqlite.c 2009-06-30 22:41:23.000000000 +0200 ++++ intone.mok/src/db_sqlite.c 2009-07-05 23:10:01.000000000 +0200 +@@ -17,7 +17,7 @@ + #include "db_sqlite.h" + #include <id3.h> + #include <vorbis/codec.h> +-#include <vorbisfile.h> ++#include <vorbis/vorbisfile.h> + #include <string.h> + + int check_file_exists(char *path) +diff -uri intone/src/Makefile.am intone.mok/src/Makefile.am +--- intone/src/Makefile.am 2009-05-15 16:29:18.000000000 +0200 ++++ intone.mok/src/Makefile.am 2009-07-05 23:54:20.000000000 +0200 +@@ -31,6 +31,6 @@ + intone_LDFLAGS = \ + -Wl,--export-dynamic + +-intone_LDADD = $(INTONE_LIBS) ++intone_LDADD = $(INTONE_LIBS) -lid3 + + EXTRA_DIST = $(glade_DATA) diff --git a/recipes/intone/intone_svn.bb b/recipes/intone/intone_svn.bb new file mode 100644 index 0000000000..5b3f06232f --- /dev/null +++ b/recipes/intone/intone_svn.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "intone is a mplayer frontend for openmoko phones" +HOMEPAGE = "http://code.google.com/p/intone/" +AUTHOR = "cchandel" +LICENSE = "GPLv2" +SECTION = "e/apps" +DEPENDS = "elementary eina sqlite3 edbus libvorbis id3lib" +RDEPENDS = "mplayer lame libxv libsdl-x11" + +PV = "0.66+svnr${SRCPV}" +PR = "r1" + +SRC_URI = "svn://intone.googlecode.com/svn/trunk;module=.;proto=http \ +file://vorbis-include-id3tag.patch;pnum=1;patch=1;maxrev=18" +S = "${WORKDIR}" + +inherit autotools + +do_configure_prepend() { + rm -f "${S}/INSTALL" + touch "${S}/INSTALL" + sed -i 's/{prefix}\/doc\/intone$/{prefix}\/share\/doc\/intone/g' ${S}/Makefile.am +} + +do_install_append() { + mkdir -p "${D}/${datadir}/pixmaps" + install -m 0644 "${S}/resources/intone.png" "${D}/${datadir}/pixmaps" + mkdir -p "${D}/${datadir}/applications" + install -m 0644 "${S}/resources/intone.desktop" "${D}/${datadir}/applications" + mkdir -p "${D}/${datadir}/intone" + for ico in "${S}/resources/"*.png; do + if [ "$(basename $ico)" != "intone.png" ]; then + install -m 0644 $ico "${D}/${datadir}/intone" + fi + done +} + + +FILES_${PN} += "/usr/share/intone/* /usr/share/applications/* /usr/share/pixmaps/*" + |