1 |
commit: 7687f86a2c1c94a8ee6768b640be9cb1b8002870 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 23 08:35:01 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 23 08:38:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7687f86a |
7 |
|
8 |
xfce-extra/xfce4-calculator-plugin: New package @ 0.7.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
xfce-extra/xfce4-calculator-plugin/Manifest | 1 + |
13 |
xfce-extra/xfce4-calculator-plugin/metadata.xml | 8 +++++ |
14 |
.../xfce4-calculator-plugin-0.7.1.ebuild | 39 ++++++++++++++++++++++ |
15 |
3 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/xfce-extra/xfce4-calculator-plugin/Manifest b/xfce-extra/xfce4-calculator-plugin/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..b8b9666165d |
20 |
--- /dev/null |
21 |
+++ b/xfce-extra/xfce4-calculator-plugin/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST xfce4-calculator-plugin-0.7.1.tar.bz2 402401 BLAKE2B feadd3401f5e7b3bd1bc9277e04d63329fa0d35583c6af959fa350c6622012b4089fd1143dd8f7e987cde8a6b313fba75cfba751e2afb6bcba43d9787d17784b SHA512 05544e5f0e293fe44ae35b3e11a2e6fac8df13743649d0702c01c6a4b2df0557f8f9712acef6bd51aaa65f5542234a6a649017bf2fe2a6d2860ae2e534e7cff2 |
24 |
|
25 |
diff --git a/xfce-extra/xfce4-calculator-plugin/metadata.xml b/xfce-extra/xfce4-calculator-plugin/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..dce6704738a |
28 |
--- /dev/null |
29 |
+++ b/xfce-extra/xfce4-calculator-plugin/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>xfce@g.o</email> |
36 |
+ <name>XFCE Team</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
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 |
41 |
new file mode 100644 |
42 |
index 00000000000..73c8878dc5b |
43 |
--- /dev/null |
44 |
+++ b/xfce-extra/xfce4-calculator-plugin/xfce4-calculator-plugin-0.7.1.ebuild |
45 |
@@ -0,0 +1,39 @@ |
46 |
+# Copyright 1999-2020 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+inherit xdg-utils |
52 |
+ |
53 |
+DESCRIPTION="A calculator plugin for the Xfce4 panel" |
54 |
+HOMEPAGE="https://docs.xfce.org/panel-plugins/xfce4-calculator-plugin" |
55 |
+SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" |
56 |
+ |
57 |
+LICENSE="GPL-2+" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~x86" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ x11-libs/libX11 |
63 |
+ >=x11-libs/gtk+-3.22:3 |
64 |
+ >=xfce-base/libxfce4ui-4.12:= |
65 |
+ >=xfce-base/libxfce4util-4.12:= |
66 |
+ >=xfce-base/xfce4-panel-4.12:=" |
67 |
+DEPEND="${RDEPEND}" |
68 |
+BDEPEND=" |
69 |
+ dev-util/intltool |
70 |
+ sys-devel/gettext |
71 |
+ virtual/pkgconfig" |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ find "${D}" -name '*.la' -delete || die |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ xdg_icon_cache_update |
80 |
+} |
81 |
+ |
82 |
+pkg_postrm() { |
83 |
+ xdg_icon_cache_update |
84 |
+} |