commit: 975139613e1f2d8b1341f8d832b3d96b967f490e Author: Johannes Huber <johu <AT> gentoo <DOT> org> AuthorDate: Mon Jan 16 20:59:43 2017 +0000 Commit: Johannes Huber <johu <AT> gentoo <DOT> org> CommitDate: Mon Jan 16 21:02:22 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=97513961
kde-misc/adjustableclock: Import latest from gentoo main tree Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../adjustableclock/adjustableclock-4.1.4.ebuild | 42 ++++++++++++++++++++++ kde-misc/adjustableclock/metadata.xml | 5 +++ 2 files changed, 47 insertions(+) diff --git a/kde-misc/adjustableclock/adjustableclock-4.1.4.ebuild b/kde-misc/adjustableclock/adjustableclock-4.1.4.ebuild new file mode 100644 index 0000000..c7a9df5 --- /dev/null +++ b/kde-misc/adjustableclock/adjustableclock-4.1.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_LINGUAS_DIR="applet/locale" +KDE_LINGUAS="de et pl pt pt_BR sv tr uk" +WEBKIT_REQUIRED="always" +inherit kde4-base + +DESCRIPTION="Plasmoid to show date and time in adjustable format using rich text" +HOMEPAGE="http://kde-look.org/content/show.php/Adjustable+Clock?content=92825" +SRC_URI="http://kde-look.org/CONTENT/content-files/92825-${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND=" + kde-plasma/libplasmaclock:4 +" +RDEPEND="${DEPEND} + kde-plasma/plasma-workspace:4 +" + +src_prepare() { + kde4-base_src_prepare + + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use "l10n_$(kde4_lingua_to_l10n "${lang}")" ; then + rm ${KDE_LINGUAS_DIR}/${lang}.mo + fi + done +} + +pkg_postinst() { + elog "Version 4.0 (and newer) is not backwards compatible with 3.x." + elog "All custom formats need to be exported and manually converted." +} diff --git a/kde-misc/adjustableclock/metadata.xml b/kde-misc/adjustableclock/metadata.xml new file mode 100644 index 0000000..7a38bb9 --- /dev/null +++ b/kde-misc/adjustableclock/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> +</pkgmetadata>
