From 95b8d4d0851d830f047eaef87dbc66cde7df95be Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 2 Apr 2020 04:10:23 +0200 Subject: [PATCH] Live ebuilds: Fix translation support of trinity-apps. Signed-off-by: Chris --- trinity-apps/filelight/filelight-9999.ebuild | 8 +++++-- trinity-apps/kaffeine/kaffeine-9999.ebuild | 2 +- trinity-apps/kcpuload/kcpuload-9999.ebuild | 7 ++++++ trinity-apps/keep/keep-9999.ebuild | 6 ++--- trinity-apps/kima/kima-9999.ebuild | 1 + .../knutclient/knutclient-9999.ebuild | 14 +++++++++-- .../konversation/konversation-9999.ebuild | 12 ++++++---- trinity-apps/kplayer/kplayer-9999.ebuild | 14 ++++++++--- trinity-apps/krename/krename-9999.ebuild | 10 +++++++- trinity-apps/ksensors/ksensors-9999.ebuild | 20 +++++++++++----- trinity-apps/kshutdown/kshutdown-9999.ebuild | 20 ++++++++-------- .../tdepowersave/tdepowersave-9999.ebuild | 23 ++++++++++++++----- trinity-apps/yakuake/yakuake-9999.ebuild | 4 ++-- 13 files changed, 101 insertions(+), 40 deletions(-) diff --git a/trinity-apps/filelight/filelight-9999.ebuild b/trinity-apps/filelight/filelight-9999.ebuild index 627f4b27..ffb565a4 100644 --- a/trinity-apps/filelight/filelight-9999.ebuild +++ b/trinity-apps/filelight/filelight-9999.ebuild @@ -7,8 +7,12 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="az bg br ca cs cy da de el en_GB es et fr ga gl is it ja ka lt nb nl pl pt pt_BR ro ru rw sr sr@Latn sv ta tr uk" -TRINITY_DOC_LANGS=" da es et it pt ru sv" + +TRINITY_LANGS="az bg br ca cs cy da de el en_GB es + et fr ga gl is it ja ka lt nb nl pl pt pt_BR + ro ru rw sr sr@Latn sv ta tr uk" + +TRINITY_DOC_LANGS="da es et it pt ru sv" inherit trinity-base-2 diff --git a/trinity-apps/kaffeine/kaffeine-9999.ebuild b/trinity-apps/kaffeine/kaffeine-9999.ebuild index 828ba1d9..9cb2c909 100644 --- a/trinity-apps/kaffeine/kaffeine-9999.ebuild +++ b/trinity-apps/kaffeine/kaffeine-9999.ebuild @@ -22,7 +22,6 @@ SLOT="${TRINITY_VER}" IUSE+=" dvb dpms gstreamer xinerama vorbis encode xcb" - DEPEND+=" x11-base/xorg-proto media-libs/xine-lib @@ -40,6 +39,7 @@ RDEPEND+=" ${DEPEND}" src_configure() { mycmakeargs=( + -DBUILD_TRANSLATIONS=ON -DWITH_XTEST=ON -DWITH_DPMS="$(usex dpms)" -DWITH_XINERAMA="$(usex xinerama)" diff --git a/trinity-apps/kcpuload/kcpuload-9999.ebuild b/trinity-apps/kcpuload/kcpuload-9999.ebuild index 88de8fd5..ccce54b8 100644 --- a/trinity-apps/kcpuload/kcpuload-9999.ebuild +++ b/trinity-apps/kcpuload/kcpuload-9999.ebuild @@ -18,3 +18,10 @@ LICENSE="|| ( GPL-2 GPL-3 )" need-trinity SLOT="${TRINITY_VER}" + +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + + trinity-base-2_src_configure +} diff --git a/trinity-apps/keep/keep-9999.ebuild b/trinity-apps/keep/keep-9999.ebuild index 39d8e8f6..17ec4cdb 100644 --- a/trinity-apps/keep/keep-9999.ebuild +++ b/trinity-apps/keep/keep-9999.ebuild @@ -16,13 +16,13 @@ DESCRIPTION="A simple backup system for TDE." HOMEPAGE="http://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" -RDEPEND="=trinity-base/kcontrol-${PV} - app-backup/rdiff-backup" - need-trinity SLOT="${TRINITY_VER}" +RDEPEND+=" =trinity-base/kcontrol-${PV} + app-backup/rdiff-backup" + pkg_postinst () { echo einfo "After initial install the Keep daemon needs to be started via KControl." diff --git a/trinity-apps/kima/kima-9999.ebuild b/trinity-apps/kima/kima-9999.ebuild index aebd7f2d..bfae5df6 100644 --- a/trinity-apps/kima/kima-9999.ebuild +++ b/trinity-apps/kima/kima-9999.ebuild @@ -25,6 +25,7 @@ SLOT="${TRINITY_VER}" src_configure() { mycmakeargs=( + -DBUILD_TRANSLATIONS=ON -DWITH_NVCONTROL=OFF ) diff --git a/trinity-apps/knutclient/knutclient-9999.ebuild b/trinity-apps/knutclient/knutclient-9999.ebuild index 5d814ea7..c8b07572 100644 --- a/trinity-apps/knutclient/knutclient-9999.ebuild +++ b/trinity-apps/knutclient/knutclient-9999.ebuild @@ -6,8 +6,10 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="cs de en es fr it pl pt_BR ru uk" -TRINITY_DOC_LANGS="cs en" + +TRINITY_LANGS="cs de es fr it pl pt_BR ru uk" + +TRINITY_DOC_LANGS="cs" inherit trinity-base-2 @@ -18,3 +20,11 @@ LICENSE="|| ( GPL-2 GPL-3 )" need-trinity SLOT="${TRINITY_VER}" + +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + ) + + trinity-base-2_src_configure +} diff --git a/trinity-apps/konversation/konversation-9999.ebuild b/trinity-apps/konversation/konversation-9999.ebuild index 9c94d144..3f6693ad 100644 --- a/trinity-apps/konversation/konversation-9999.ebuild +++ b/trinity-apps/konversation/konversation-9999.ebuild @@ -7,7 +7,10 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="ar bg ca da de el en_GB es et fi fr gl he hu it ja ka ko pa pt ru sr sr@Latn sv tr zh_CN zh_TW" + +TRINITY_LANGS="ar bg ca da de el en_GB es et fi fr gl he + hu it ja ka ko pa pt ru sr sr@Latn sv tr zh_CN zh_TW" + TRINITY_DOC_LANGS="da es et it pt ru sv" inherit trinity-base-2 @@ -19,10 +22,11 @@ LICENSE="|| ( GPL-2 GPL-3 )" need-trinity SLOT="${TRINITY_VER}" -IUSE="xscreensaver" -DEPEND="xscreensaver? ( x11-libs/libXScrnSaver )" -RDEPEND="${DEPEND}" +IUSE+=" xscreensaver" + +DEPEND+=" xscreensaver? ( x11-libs/libXScrnSaver )" +RDEPEND+=" ${DEPEND}" src_configure() { mycmakeargs=( diff --git a/trinity-apps/kplayer/kplayer-9999.ebuild b/trinity-apps/kplayer/kplayer-9999.ebuild index 0bf3e712..c0ed8262 100644 --- a/trinity-apps/kplayer/kplayer-9999.ebuild +++ b/trinity-apps/kplayer/kplayer-9999.ebuild @@ -19,9 +19,17 @@ DESCRIPTION="KPlayer is a TDE media player based on mplayer." HOMEPAGE="http://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" -DEPEND="media-video/mplayer" -RDEPEND="${DEPEND}" - need-trinity SLOT="${TRINITY_VER}" + +DEPEND+=" media-video/mplayer" +RDEPEND+=" ${DEPEND}" + +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + ) + + trinity-base-2_src_configure +} diff --git a/trinity-apps/krename/krename-9999.ebuild b/trinity-apps/krename/krename-9999.ebuild index 2625d2d8..fde68e57 100644 --- a/trinity-apps/krename/krename-9999.ebuild +++ b/trinity-apps/krename/krename-9999.ebuild @@ -8,7 +8,7 @@ TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" TRINITY_LANGS="bs de es fr hu it ja nl - pl pt_BR ru sl sv tr zh_CN zh_TW" + pl pt_BR ru sl sv tr zh_CN zh_TW" inherit trinity-base-2 @@ -20,6 +20,14 @@ need-trinity SLOT="${TRINITY_VER}" +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + ) + + trinity-base-2_src_configure +} + pkg_postinst () { echo einfo "Please note that KRename can use TDE's file information plugins as they're" diff --git a/trinity-apps/ksensors/ksensors-9999.ebuild b/trinity-apps/ksensors/ksensors-9999.ebuild index 7ff04e22..cbce7244 100644 --- a/trinity-apps/ksensors/ksensors-9999.ebuild +++ b/trinity-apps/ksensors/ksensors-9999.ebuild @@ -6,18 +6,26 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="cs de en es fr nb nl pl sv" -TRINITY_DOC_LANGS="en" + +TRINITY_LANGS="cs de es fr nb nl pl sv" inherit trinity-base-2 -DESCRIPTION="A TDE GUI frontend to lm-sensors" +DESCRIPTION="A TDE GUI frontend to LM-Sensors" HOMEPAGE="http://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" -DEPEND="sys-apps/lm-sensors" -RDEPEND="${DEPEND}" - need-trinity SLOT="${TRINITY_VER}" + +DEPEND+=" sys-apps/lm-sensors" +RDEPEND+=" ${DEPEND}" + +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + ) + + trinity-base-2_src_configure +} diff --git a/trinity-apps/kshutdown/kshutdown-9999.ebuild b/trinity-apps/kshutdown/kshutdown-9999.ebuild index 73e1f479..06e0fecb 100644 --- a/trinity-apps/kshutdown/kshutdown-9999.ebuild +++ b/trinity-apps/kshutdown/kshutdown-9999.ebuild @@ -7,9 +7,8 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="ar bg cs de es fr hu it nl - pl pt_BR ru sk sv tr zh_CN" - +TRINITY_LANGS="ar bg cs de es fr hu it nl pl pt_BR ru sk sv tr zh_CN" + TRINITY_DOC_LANGS="de" inherit trinity-base-2 @@ -18,21 +17,22 @@ DESCRIPTION="A graphical shutdown utility for TDE" HOMEPAGE="http://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" -IUSE="extras" +need-trinity + +SLOT="${TRINITY_VER}" + +IUSE+=" extras" -RDEPEND=" +RDEPEND+=" =trinity-base/tdesu-${PV} =trinity-base/kcontrol-${PV} =trinity-base/kdialog-${PV}" -need-trinity - -SLOT="${TRINITY_VER}" - src_configure() { mycmakeargs=( + -DBUILD_TRANSLATIONS=ON -DBUILD_EXTRAS="$(usex extras)" ) trinity-base-2_src_configure -} \ No newline at end of file +} diff --git a/trinity-apps/tdepowersave/tdepowersave-9999.ebuild b/trinity-apps/tdepowersave/tdepowersave-9999.ebuild index 9af6b6e7..82088c7d 100644 --- a/trinity-apps/tdepowersave/tdepowersave-9999.ebuild +++ b/trinity-apps/tdepowersave/tdepowersave-9999.ebuild @@ -6,8 +6,11 @@ TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" -TRINITY_LANGS="ar bg cs da de en el es fi fr hi hu it ja km lt nb nl pa pl pt pt_BR ru sl_SI sv tr uk zh_CN zh_TW" -TRINITY_DOC_LANGS="cs de en fi hu nb" + +TRINITY_LANGS="ar bg cs da de el es fi fr hi hu it ja km lt + nb nl pa pl pt pt_BR ru sl_SI sv tr uk zh_CN zh_TW" + +TRINITY_DOC_LANGS="cs de fi hu nb" inherit trinity-base-2 @@ -15,12 +18,20 @@ DESCRIPTION="A TDE frontend for power management" HOMEPAGE="http://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" -DEPEND="x11-libs/libXScrnSaver +need-trinity + +SLOT="${TRINITY_VER}" + +DEPEND+=" x11-libs/libXScrnSaver x11-libs/libXext x11-libs/libXtst =dev-libs/dbus-1-tqt-${PV}" -RDEPEND="${DEPEND}" +RDEPEND+=" ${DEPEND}" -need-trinity +src_configure() { + mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + ) -SLOT="${TRINITY_VER}" + trinity-base-2_src_configure +} diff --git a/trinity-apps/yakuake/yakuake-9999.ebuild b/trinity-apps/yakuake/yakuake-9999.ebuild index 49c90e40..20e1376e 100644 --- a/trinity-apps/yakuake/yakuake-9999.ebuild +++ b/trinity-apps/yakuake/yakuake-9999.ebuild @@ -20,5 +20,5 @@ need-trinity SLOT="${TRINITY_VER}" -DEPEND="=trinity-base/konsole-${PV}" -RDEPEND="${DEPEND}" \ No newline at end of file +DEPEND+=" =trinity-base/konsole-${PV}" +RDEPEND+=" ${DEPEND}"