From 2d133e08f4ecdb2f6ac7dccbd9e239eae02f6107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 8 Feb 2015 23:50:52 +0100 Subject: [PATCH] move common translation folder to lxqt.bbclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- classes/lxqt.bbclass | 5 ++++- recipes-lxqt/lxqt-globalkeys/lxqt-globalkeys_git.bb | 2 -- .../lxqt-powermanagement/lxqt-powermanagement_git.bb | 1 - recipes-lxqt/lxqt-session/lxqt-session_git.bb | 3 --- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/classes/lxqt.bbclass b/classes/lxqt.bbclass index 59105698..c882acf2 100644 --- a/classes/lxqt.bbclass +++ b/classes/lxqt.bbclass @@ -13,6 +13,9 @@ FILES_${PN}-dev += "${datadir}/cmake ${libdir}/cmake" #REVISIT pack translations per language to use image linguas PACKAGES =+ "${PN}-translations" ALLOW_EMPTY_${PN}-translations = "1" -FILES_${PN}-translations = "${datadir}/lxqt/translations/${BPN}*" +FILES_${PN}-translations = " \ + ${datadir}/lxqt/translations/${BPN}* \ + ${datadir}/lxqt/translations/lxqt-config-* \ +" REDEPENDS_${PN}-translations = "${PN}" diff --git a/recipes-lxqt/lxqt-globalkeys/lxqt-globalkeys_git.bb b/recipes-lxqt/lxqt-globalkeys/lxqt-globalkeys_git.bb index a347f972..2748f416 100644 --- a/recipes-lxqt/lxqt-globalkeys/lxqt-globalkeys_git.bb +++ b/recipes-lxqt/lxqt-globalkeys/lxqt-globalkeys_git.bb @@ -9,8 +9,6 @@ DEPENDS += "liblxqt" SRCREV = "4504880ff4c960a7cf1e971128c415390109feed" PV = "0.9.0" -FILES_${PN}-translations += "${datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts" - CMAKE_HIDE_ERROR[1] = "lxqt-globalkeys, -S${includedir}, -S${STAGING_INCDIR}" CMAKE_HIDE_ERROR[2] = "lxqt-globalkeys, -S${libdir}, -S${STAGING_LIBDIR}" CMAKE_HIDE_ERROR[3] = "lxqt-globalkeys-ui, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-lxqt/lxqt-powermanagement/lxqt-powermanagement_git.bb b/recipes-lxqt/lxqt-powermanagement/lxqt-powermanagement_git.bb index fe3a2ed5..72f4054d 100644 --- a/recipes-lxqt/lxqt-powermanagement/lxqt-powermanagement_git.bb +++ b/recipes-lxqt/lxqt-powermanagement/lxqt-powermanagement_git.bb @@ -10,4 +10,3 @@ SRCREV = "4bc9f66d12afb4bab72867c64769697aab74bfa4" PV = "0.9.0" FILES_${PN} += "${datadir}/icons" -FILES_${PN}-translations += "${datadir}/lxqt/translations/lxqt-config-powermanagement" diff --git a/recipes-lxqt/lxqt-session/lxqt-session_git.bb b/recipes-lxqt/lxqt-session/lxqt-session_git.bb index e9225821..2b641956 100644 --- a/recipes-lxqt/lxqt-session/lxqt-session_git.bb +++ b/recipes-lxqt/lxqt-session/lxqt-session_git.bb @@ -8,6 +8,3 @@ DEPENDS += "liblxqt kwindowsystem" SRCREV = "9877c3be90d00b94020ddd131a983864e1a77a62" PV = "0.9.0" - -FILES_${PN}-translations += "${datadir}/lxqt/translations/lxqt-config-session" -