summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-23 09:35:01 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-23 09:38:59 +0100
commit7687f86a2c1c94a8ee6768b640be9cb1b8002870 (patch)
treeb5210c39a22c915ebffac995845a266c3350c16c /xfce-extra/xfce4-calculator-plugin
parentxfce-extra/xfce4-screenshooter: Bump to 1.9.8 (diff)
downloadgentoo-7687f86a2c1c94a8ee6768b640be9cb1b8002870.tar.gz
gentoo-7687f86a2c1c94a8ee6768b640be9cb1b8002870.tar.bz2
gentoo-7687f86a2c1c94a8ee6768b640be9cb1b8002870.zip
xfce-extra/xfce4-calculator-plugin: New package @ 0.7.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-calculator-plugin')
-rw-r--r--xfce-extra/xfce4-calculator-plugin/Manifest1
-rw-r--r--xfce-extra/xfce4-calculator-plugin/metadata.xml8
-rw-r--r--xfce-extra/xfce4-calculator-plugin/xfce4-calculator-plugin-0.7.1.ebuild39
3 files changed, 48 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-calculator-plugin/Manifest b/xfce-extra/xfce4-calculator-plugin/Manifest
new file mode 100644
index 000000000000..b8b9666165d7
--- /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 000000000000..dce6704738a4
--- /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>xfce@gentoo.org</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 000000000000..73c8878dc5b1
--- /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
+}