summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz N Tiram <oz.tiram@gmail.com>2022-10-24 10:06:16 +0200
committerSam James <sam@gentoo.org>2022-10-24 14:50:21 +0100
commitb44143b6efd59d9c5f4e9ebe2d45d7f2cdc58ef2 (patch)
tree83c433e3b3520beea9109bcf00250f66ae9abfc5 /mate-base/mate-applets
parentmedia-gfx/eom: add 1.26.0 (diff)
downloadgentoo-b44143b6efd59d9c5f4e9ebe2d45d7f2cdc58ef2.tar.gz
gentoo-b44143b6efd59d9c5f4e9ebe2d45d7f2cdc58ef2.tar.bz2
gentoo-b44143b6efd59d9c5f4e9ebe2d45d7f2cdc58ef2.zip
mate-base/mate-applets: add 1.26.0
Signed-off-by: Oz N Tiram <oz.tiram@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-base/mate-applets')
-rw-r--r--mate-base/mate-applets/Manifest1
-rw-r--r--mate-base/mate-applets/mate-applets-1.26.0.ebuild100
-rw-r--r--mate-base/mate-applets/metadata.xml1
3 files changed, 102 insertions, 0 deletions
diff --git a/mate-base/mate-applets/Manifest b/mate-base/mate-applets/Manifest
index ee98eba42a13..7dc821bf9d89 100644
--- a/mate-base/mate-applets/Manifest
+++ b/mate-base/mate-applets/Manifest
@@ -1 +1,2 @@
DIST mate-applets-1.24.1.tar.xz 8222540 BLAKE2B f018f131cedda486a28c3a125c07efaf5c3111f95c17b0c3fbdd0b1f084ddf851d46ea4ef511a1e57f6d9f7f29a28e48ab010abc4cc6d87c1315b79bfbf01849 SHA512 d29e39a140310fef84cb0fe631568e0177ca5faaf2bf566211a23b32613fd6aabf06dd8ecd81a16e09553c659a7feda9ba372bb62a70504a235be58e07726ed2
+DIST mate-applets-1.26.0.tar.xz 8442720 BLAKE2B b7e3d9cf868926c13652e93b214317c59f7693f3cedc277d2f8e676892bde026587893faabbfff1c6d35af2e6e7f900c3b71d89fc4a8065ff794d1be6e0e4f99 SHA512 4b7676afd8a3ca9e2389f3775abcad5e84bfd628394e98c66c1e77a99503f4893bfd5c8839d63e6044b1b11990aa1d6f7fa857522c1907461ee7b1f68efc7192
diff --git a/mate-base/mate-applets/mate-applets-1.26.0.ebuild b/mate-base/mate-applets/mate-applets-1.26.0.ebuild
new file mode 100644
index 000000000000..9a6d65f8af07
--- /dev/null
+++ b/mate-base/mate-applets/mate-applets-1.26.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="Applets for the MATE Desktop and Panel"
+LICENSE="CC-BY-SA-3.0 FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+"
+SLOT="0"
+
+IUSE="X +cpupower ipv6 netlink policykit +upower"
+
+REQUIRED_USE="policykit? ( cpupower )"
+
+COMMON_DEPEND="
+ dev-libs/atk
+ >=dev-libs/dbus-glib-0.74
+ >=dev-libs/glib-2.50:2
+ >=dev-libs/libmateweather-1.17.0
+ >=dev-libs/libxml2-2.5:2
+ >=gnome-base/libgtop-2.12.0:2=
+ >=gnome-extra/gucharmap-3.0:2.90
+ >=mate-base/mate-panel-1.25.2
+ >=net-wireless/wireless-tools-28_pre9:0
+ >=sys-apps/dbus-1.10.0
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/gtksourceview:3.0
+ >=x11-libs/libnotify-0.7
+ x11-libs/libX11
+ >=x11-libs/libwnck-3.0:3
+ x11-libs/pango
+ cpupower? (
+ sys-power/cpupower
+ policykit? ( >=sys-auth/polkit-0.97:0 )
+ )
+ netlink? (
+ dev-libs/libnl:3
+ )
+ upower? ( >=sys-power/upower-0.99.8 )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ mate-base/caja
+ mate-base/mate-desktop
+ >=mate-base/mate-settings-daemon-1.6
+ virtual/libintl
+"
+
+BDEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.3
+ app-text/rarian
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/yelp-tools
+ dev-libs/libxslt
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+
+ # configure.ac logic is a little hinky
+ # and ignores --enable flags for cpufreq
+ use cpupower || myconf="--disable-cpufreq"
+
+ mate_src_configure \
+ --libexecdir=/usr/libexec/mate-applets \
+ $(use_with X x) \
+ $(use_with upower) \
+ $(use_with netlink nl) \
+ $(use_enable ipv6) \
+ $(use_enable policykit polkit) \
+ "${myconf[@]}"
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ emake check
+}
+
+src_install() {
+ mate_src_install
+
+ local APPLETS="accessx-status battstat charpick command cpufreq drivemount
+ geyes mateweather multiload netspeed stickynotes
+ timerapplet trashapplet"
+
+ for applet in ${APPLETS}; do
+ docinto ${applet}
+
+ for d in AUTHORS ChangeLog NEWS README README.themes TODO; do
+ [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
+ done
+ done
+}
diff --git a/mate-base/mate-applets/metadata.xml b/mate-base/mate-applets/metadata.xml
index 4213c64d6b17..4031bc303455 100644
--- a/mate-base/mate-applets/metadata.xml
+++ b/mate-base/mate-applets/metadata.xml
@@ -9,6 +9,7 @@
<flag name="cpupower">
Enable support for cpu frequency manipulation using <pkg>sys-power/cpupower</pkg>
</flag>
+ <flag name="netlink">Use <pkg>dev-libs/libnl</pkg></flag>
</use>
<upstream>
<remote-id type="github">mate-desktop/mate-applets</remote-id>