summaryrefslogtreecommitdiff
path: root/recipes/intone-video/intone-video_svn.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:26:50 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:48 +0100
commitaf81d9fd5f8a4dc8c65607cd4a92e9db19db2b12 (patch)
treea45ea9644a734463520a0e7349faa3680ffe5ed5 /recipes/intone-video/intone-video_svn.bb
parent84e7079ff51a434387b55e2939bf9494f9718e96 (diff)
intone-video: new recipe from SHR
Diffstat (limited to 'recipes/intone-video/intone-video_svn.bb')
-rw-r--r--recipes/intone-video/intone-video_svn.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/intone-video/intone-video_svn.bb b/recipes/intone-video/intone-video_svn.bb
new file mode 100644
index 0000000000..1047c35748
--- /dev/null
+++ b/recipes/intone-video/intone-video_svn.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "intone-video is a mplayer video frontend for openmoko phones"
+HOMEPAGE = "http://code.google.com/p/intone-video/"
+AUTHOR = "cchandel"
+LICENSE = "GPLv2"
+SECTION = "e/apps"
+DEPENDS = "elementary eina sqlite3 edbus"
+RDEPENDS = "mplayer lame libxv libsdl-x11"
+
+PV = "0.13+svnr${SRCPV}"
+PR = "r0"
+
+SRC_URI = "svn://intone-video.googlecode.com/svn/trunk;module=.;proto=http"
+S = "${WORKDIR}"
+
+inherit autotools
+
+do_configure_prepend() {
+ rm -f "${S}/INSTALL"
+ touch "${S}/INSTALL"
+ sed -i 's/intone/intone-video/g' ${S}/configure.ac
+ sed -i 's/\/doc\/intone$/\/share\/doc\/intone-video/g' ${S}/Makefile.am
+ sed -i '/^EXTRA_DIST = $(glade_DATA)/d' ${S}/src/Makefile.am
+ sed -i '/^gladedir = $(datadir)\/intone\/glade/d' ${S}/src/Makefile.am
+ sed -i '/^glade_DATA = intone.glade/d' ${S}/src/Makefile.am
+}
+
+do_install_append() {
+ mv ${D}/${bindir}/intone ${D}/${bindir}/intone-video
+ mkdir -p "${D}/${datadir}/pixmaps"
+ install -m 0644 "${S}/resources/intone-video.png" "${D}/${datadir}/pixmaps"
+ mkdir -p "${D}/${datadir}/applications"
+ install -m 0644 "${S}/resources/intone-video.desktop" "${D}/${datadir}/applications"
+}
+
+
+FILES_${PN} += "/usr/share/pixmaps/* /usr/share/applications/*"
+