rhythmbox - omfmake.patch to test for file existence before install.
authorRaymond Danks <raymond@edanks.com>
Mon, 24 Jul 2006 16:20:23 +0000 (16:20 +0000)
committerRaymond Danks <raymond@edanks.com>
Mon, 24 Jul 2006 16:20:23 +0000 (16:20 +0000)
packages/rhythmbox/rhythmbox/omfmake.patch [new file with mode: 0644]
packages/rhythmbox/rhythmbox_0.8.5.bb

diff --git a/packages/rhythmbox/rhythmbox/omfmake.patch b/packages/rhythmbox/rhythmbox/omfmake.patch
new file mode 100644 (file)
index 0000000..8950a7b
--- /dev/null
@@ -0,0 +1,13 @@
+--- rhythmbox-0.8.4/omf.make   2004-04-15 12:30:20.000000000 -0700
++++ rhythmbox-0.8.4.new/omf.make       2004-06-08 16:11:06.130981816 -0700
+@@ -41,7 +41,9 @@
+ install-data-hook-omf:
+       $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
+       for file in $(omffile); do \
+-              $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
++              if [ -f $$file.out ]; then \
++                      $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
++              fi; \
+       done
+       -scrollkeeper-update -o $(DESTDIR)$(omf_dest_dir)
index b35914c..8a6f3a8 100644 (file)
@@ -1,8 +1,9 @@
 LICENSE = "GPL"
 SECTION = "unknown"
-PR = "r3"
+PR = "r4"
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.8/rhythmbox-${PV}.tar.gz \
-           file://ogg.m4 file://vorbis.m4"
+           file://ogg.m4 file://vorbis.m4 \
+          file://omfmake.patch;patch=1"
 
 DEPENDS = "gstreamer gst-plugins libgnomeui"