xserver-kdrive git: fix packaging so Security Policy ends up in the rootfs
authorKoen Kooi <koen@openembedded.org>
Fri, 25 Aug 2006 11:28:13 +0000 (11:28 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 25 Aug 2006 11:28:13 +0000 (11:28 +0000)
packages/xorg-xserver/xserver-kdrive_git.bb

index 90fa12a..aa5784e 100644 (file)
@@ -1,22 +1,30 @@
 PV = "1.1.0+git${SRCDATE}"
 DEFAULT_PREFERENCE = "-2"
 
+PR = "r1"
+
 LICENSE = "MIT"
 DEPENDS = "tslib libxkbfile xf86dgaproto xf86vidmodeproto xf86miscproto xproto libxdmcp xextproto xtrans libxau virtual/libx11 libxext libxrandr fixesproto damageproto libxfont resourceproto compositeproto xcalibrateext recordproto videoproto scrnsaverproto"
 
 PROVIDES = "virtual/xserver"
 RPROVIDES = "virtual/xserver"
-PACKAGES = "xserver-kdrive-fbdev xserver-kdrive-fake xserver-kdrive-xephyr ${PN}-doc ${PN}-dev ${PN}-locale"
+PACKAGES =+ "xserver-kdrive-fbdev xserver-kdrive-fake xserver-kdrive-xephyr ${PN}-doc ${PN}-dev ${PN}-locale"
 SECTION = "x11/base"
 DESCRIPTION = "X server from freedesktop.org"
 DESCRIPTION_xserver-kdrive-fbdev = "X server from freedesktop.org, supporting generic framebuffer devices"
 DESCRIPTION_xserver-kdrive-fake = "Fake X server"
 DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window"
 
+FILES_${PN} += "${libdir}/xserver/SecurityPolicy"
+
 FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev"
 FILES_xserver-kdrive-fake = "${bindir}/Xfake"
 FILES_xserver-kdrive-xephyr = "${bindir}/Xephyr"
 
+RDEPENDS_xserver-kdrive-fbdev = "${PN}"
+RDEPENDS_xserver-kdrive-fake = "${PN}"
+RDEPENDS_xserver-kdrive-xephyr = "${PN}"
+
 SRC_URI = "git://anongit.freedesktop.org/xorg/xserver;protocol=git \
        file://kmode.patch;patch=1 \
        file://disable-apm.patch;patch=1 \