commit: 7687f86a2c1c94a8ee6768b640be9cb1b8002870 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 23 08:35:01 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 23 08:38:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7687f86a
xfce-extra/xfce4-calculator-plugin: New package @ 0.7.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> xfce-extra/xfce4-calculator-plugin/Manifest | 1 + xfce-extra/xfce4-calculator-plugin/metadata.xml | 8 +++++ .../xfce4-calculator-plugin-0.7.1.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/xfce-extra/xfce4-calculator-plugin/Manifest b/xfce-extra/xfce4-calculator-plugin/Manifest new file mode 100644 index 00000000000..b8b9666165d --- /dev/null +++ b/xfce-extra/xfce4-calculator-plugin/Manifest @@ -0,0 +1 @@ +DIST xfce4-calculator-plugin-0.7.1.tar.bz2 402401 BLAKE2B feadd3401f5e7b3bd1bc9277e04d63329fa0d35583c6af959fa350c6622012b4089fd1143dd8f7e987cde8a6b313fba75cfba751e2afb6bcba43d9787d17784b SHA512 05544e5f0e293fe44ae35b3e11a2e6fac8df13743649d0702c01c6a4b2df0557f8f9712acef6bd51aaa65f5542234a6a649017bf2fe2a6d2860ae2e534e7cff2 diff --git a/xfce-extra/xfce4-calculator-plugin/metadata.xml b/xfce-extra/xfce4-calculator-plugin/metadata.xml new file mode 100644 index 00000000000..dce6704738a --- /dev/null +++ b/xfce-extra/xfce4-calculator-plugin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>XFCE Team</name> + </maintainer> +</pkgmetadata> diff --git a/xfce-extra/xfce4-calculator-plugin/xfce4-calculator-plugin-0.7.1.ebuild b/xfce-extra/xfce4-calculator-plugin/xfce4-calculator-plugin-0.7.1.ebuild new file mode 100644 index 00000000000..73c8878dc5b --- /dev/null +++ b/xfce-extra/xfce4-calculator-plugin/xfce4-calculator-plugin-0.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit xdg-utils + +DESCRIPTION="A calculator plugin for the Xfce4 panel" +HOMEPAGE="https://docs.xfce.org/panel-plugins/xfce4-calculator-plugin" +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-libs/libX11 + >=x11-libs/gtk+-3.22:3 + >=xfce-base/libxfce4ui-4.12:= + >=xfce-base/libxfce4util-4.12:= + >=xfce-base/xfce4-panel-4.12:=" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}
