Patchwork [79/85] gnome-mplayer: fix unpackaged files warning

login
register
mail settings
Submitter Martin Jansa
Date Dec. 5, 2012, 9:52 p.m.
Message ID <0eb7e0579b6ae28a48667ead050372f9d790209d.1354743849.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40511/
State Accepted
Commit da026f9a2531ee039d23335b81ae5fde3d8f3f18
Headers show

Comments

Martin Jansa - Dec. 5, 2012, 9:52 p.m.
* fixes:
gnome-mplayer-1.0.5: gnome-mplayer: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/nautilus
  /usr/lib/nautilus/extensions-2.0
  /usr/lib/nautilus/extensions-2.0/libgnome-mplayer-properties-page.so
  /usr/lib/nautilus/extensions-2.0/.debug
  /usr/lib/nautilus/extensions-2.0/.debug/libgnome-mplayer-properties-page.so

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb b/meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb
index b755dfa..2eded51 100644
--- a/meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb
+++ b/meta-gnome/recipes-apps/gnome-mplayer/gnome-mplayer_1.0.5.bb
@@ -5,6 +5,8 @@  SECTION = "multimedia"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
+PR = "r1"
+
 DEPENDS = "gmtk gtk+ alsa-lib libnotify glib-2.0 dbus-glib virtual/libx11 libxscrnsaver"
 
 SRC_URI = "http://${PN}.googlecode.com/files/${P}.tar.gz"
@@ -14,6 +16,11 @@  SRC_URI[sha256sum] = "ac3c179345baecb4ca5237782aa33e83253a87bf8b42ce6eb3a9207a34
 EXTRA_OECONF = "--with-gio --with-alsa --with-dbus --with-libnotify"
 
 FILES_${PN} += "${datadir}/gnome-control-center/default-apps/${PN}.xml"
+PACKAGES =+ "${PN}-nautilus-extension"
+FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
+FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la"
+FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a"
+FILES_${PN}-dbg += "${libdir}/nautilus/extensions-2.0/.debug"
 
 inherit gettext pkgconfig mime gtk-icon-cache autotools