[oe-commits] Koen Kooi : totem: add 2.28.5

git version control git at git.openembedded.org
Mon Jan 11 19:42:53 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 28d2a94901ef7e2e56e960297e576bc8fd1b7fe1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=28d2a94901ef7e2e56e960297e576bc8fd1b7fe1

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Jan 11 18:26:49 2010 +0100

totem: add 2.28.5

---

 conf/checksums.ini                         |    4 ++
 recipes/totem/totem-2.28.5/gst-detect.diff |   46 +++++++++++++++++
 recipes/totem/totem_2.28.5.bb              |   73 ++++++++++++++++++++++++++++
 3 files changed, 123 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index e5af46e..4913cab 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -26466,6 +26466,10 @@ sha256=776ddf74b657da5709d8f3d1c800b8203aa82a5f06f1c6d2d0f23a0a5f6685f7
 md5=42f071fcf8ffc471beb3e1689297d647
 sha256=18121f17c37faaa9cc245d46293a24f58f2bba9dc9b84af5e1ffe0ac6e697b04
 
+[http://ftp.gnome.org/pub/GNOME/sources/totem/2.28/totem-2.28.5.tar.bz2]
+md5=03b43f3c3a93b6dbcf1d1b370cc9297f
+sha256=c788bb314addbeeb2b27a2af0f7448752db22dcfaf8b0a4e704463ba9a9dc063
+
 [http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.23/totem-pl-parser-2.23.3.tar.bz2]
 md5=c163dfd840c6a522e6cd852b379e89cd
 sha256=5730611c42f8a8540343faa9512d9161073d2f882668c80dd0cf6a34c72daa75
diff --git a/recipes/totem/totem-2.28.5/gst-detect.diff b/recipes/totem/totem-2.28.5/gst-detect.diff
new file mode 100644
index 0000000..6ac4455
--- /dev/null
+++ b/recipes/totem/totem-2.28.5/gst-detect.diff
@@ -0,0 +1,46 @@
+--- /tmp/configure.in	2009-10-21 11:43:19.000000000 +0200
++++ totem-2.28.1/configure.in	2009-10-21 11:47:21.000000000 +0200
+@@ -110,10 +110,6 @@
+ 	AC_MSG_RESULT([yes])
+ else
+ 	AC_MSG_RESULT([no])
+-	AC_MSG_ERROR([
+-		Cannot find required GStreamer-0.10 tool 'gst-inspect-0.10'.
+-		It should be part of gstreamer-0_10-utils. Please install it.
+-	])
+ fi
+ 
+ dnl Check for elements from gst-plugins-base
+@@ -124,10 +120,6 @@
+ 		AC_MSG_RESULT([yes])
+ 	else
+ 		AC_MSG_RESULT([no])
+-		AC_MSG_ERROR([
+-			Cannot find required GStreamer-0.10 plugin '$base_element'.
+-			It should be part of gst-plugins-base. Please install it.
+-		])
+ 	fi
+ done
+ 
+@@ -139,10 +131,6 @@
+ 		AC_MSG_RESULT([yes])
+ 	else
+ 		AC_MSG_RESULT([no])
+-		AC_MSG_ERROR([
+-			Cannot find required GStreamer-0.10 plugin '$good_element'.
+-			It should be part of gst-plugins-good. Please install it.
+-		])
+ 	fi
+ done
+ 
+@@ -570,10 +558,6 @@
+ 				AC_MSG_RESULT([yes])
+ 			else
+ 				AC_MSG_RESULT([no])
+-				AC_MSG_ERROR([
+-					Cannot find required GStreamer-0.10 plugin 'souphttpsrc'.
+-					It should be part of gst-plugins-good. Please install it.
+-				])
+ 			fi
+ 		;;
+ 	esac
diff --git a/recipes/totem/totem_2.28.5.bb b/recipes/totem/totem_2.28.5.bb
new file mode 100644
index 0000000..45fb607
--- /dev/null
+++ b/recipes/totem/totem_2.28.5.bb
@@ -0,0 +1,73 @@
+# totem OE build file
+# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DESCRIPTION = "A GTK2 based media player"
+HOMEPAGE = "http://www.gnome.org/projects/totem/"
+LICENSE = "GPL"
+
+DEPENDS = " libunique libgdata totem-pl-parser gtk+ dbus bluez-libs libglade gconf libxml2 gst-ffmpeg gst-plugins-bad  gst-plugins-base" 
+RDEPENDS_${PN} += "iso-codes"
+RRECOMMENDS_${PN} += "gst-plugin-playbin \
+                      gst-plugin-gconfelements \
+		      gst-plugin-decodebin \
+		      gst-plugin-decodebin2 \
+		      gst-ffmpeg \
+		      gst-plugin-audioresample \
+		      gst-plugin-ximagesink \
+		      gst-plugin-xvimagesink \
+		      gst-plugin-alsa \
+		      gst-plugin-avi \
+		      gst-plugin-ffmpegcolorspace \
+		      gst-plugin-flvdemux \
+		      gst-plugin-nuvdemux \
+		      gst-plugin-videoscale \
+		      gst-plugin-a52dec \
+		      gst-plugin-mpegaudioparse \
+		      gst-plugin-ossaudio \
+		      gst-plugin-pulse \
+		      gst-plugin-autodetect \
+		      totem-plugin-youtube totem-plugin-thumbnail totem-plugin-dbus totem-plugin-screensaver"
+
+inherit gnome
+
+SRC_URI += "file://gst-detect.diff;patch=1"
+
+EXTRA_OECONF=" --disable-schemas-install \
+               --enable-gtk \
+	       --disable-iso-codes \
+	       --disable-debug \
+               --enable-gstreamer \
+               --enable-browser-plugins \
+	       --disable-run-in-source-tree \
+	       --disable-vala \
+	       --with-dbus \
+	       "
+
+do_configure_prepend() {
+	sed -i -e s:help::g ${S}/Makefile.am
+	sed -i -e s:PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION":PYTHON_CFLAGS="-I${STAGING_INCDIR}/python$PYTHON_VERSION":g ${S}/configure.in
+}
+
+PACKAGES_DYNAMIC += " totem-plugin-* "
+
+python populate_packages_prepend () {
+	totem_libdir = bb.data.expand('${libdir}/totem/plugins/', d)
+
+	do_split_packages(d, totem_libdir, '^(.*)', 'totem-plugin-%s', 'totem plugin for %s', allow_dirs=True, extra_depends='')
+}
+
+FILES_${PN} = "${bindir}/* ${sysconfdir} ${libdir}/lib*.so.* ${libexecdir} ${datadir}/icons ${datadir}/totem ${datadir}/applications \
+"
+
+PACKAGES =+ "totem-nautilus-extension totem-browser-plugin-dbg totem-browser-plugin"
+
+FILES_${PN}-dbg += "${libdir}/totem/plugins/*/.debug"
+FILES_${PN}-dev += "${libdir}/totem/plugins/*/*a"
+FILES_totem-browser-plugin-dbg += "${libdir}/mozilla/plugins/.debug"
+FILES_totem-browser-plugin += "${libdir}/mozilla/plugins/"
+
+FILES_totem-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
+
+
+





More information about the Openembedded-commits mailing list