aboutsummaryrefslogtreecommitdiff
path: root/xfce4-mate-applet-loader-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-mate-applet-loader-plugin')
-rw-r--r--xfce4-mate-applet-loader-plugin/.footprint11
-rw-r--r--xfce4-mate-applet-loader-plugin/.signature5
-rw-r--r--xfce4-mate-applet-loader-plugin/Pkgfile27
-rw-r--r--xfce4-mate-applet-loader-plugin/README10
4 files changed, 53 insertions, 0 deletions
diff --git a/xfce4-mate-applet-loader-plugin/.footprint b/xfce4-mate-applet-loader-plugin/.footprint
new file mode 100644
index 0000000..2902b55
--- /dev/null
+++ b/xfce4-mate-applet-loader-plugin/.footprint
@@ -0,0 +1,11 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/xfce4/
+drwxr-xr-x root/root usr/lib/xfce4/panel/
+drwxr-xr-x root/root usr/lib/xfce4/panel/plugins/
+-rwxr-xr-x root/root usr/lib/xfce4/panel/plugins/libmateappletloader.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/xfce4/
+drwxr-xr-x root/root usr/share/xfce4/panel/
+drwxr-xr-x root/root usr/share/xfce4/panel/plugins/
+-rw-r--r-- root/root usr/share/xfce4/panel/plugins/mateappletloader.desktop
diff --git a/xfce4-mate-applet-loader-plugin/.signature b/xfce4-mate-applet-loader-plugin/.signature
new file mode 100644
index 0000000..e213cbd
--- /dev/null
+++ b/xfce4-mate-applet-loader-plugin/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/xfce4.pub
+RWRSAbUnL7azFPj71MmPAlYNPrxj0nlKNtXqZ2ys4SYFJmMfHpARbWtL9aeEYmq6xBYXct9l484b1RO/M3oGM+pmWdMGhYxkSg4=
+SHA256 (Pkgfile) = 20781f70dbbf58ba45e00637dcc12db185e838d51e8aa380b71ff4ced9a27ba3
+SHA256 (.footprint) = f2476dcf79205fbd68c2435b67afd639eadce79f42ba1130097d78a4a95c6a04
+SHA256 (xfce4-mate-applet-loader-plugin-20250214.tar.gz) = 619059eadb34bb0204e074513a6ca15fb1d4fe208040d2befcc7569e4b013323
diff --git a/xfce4-mate-applet-loader-plugin/Pkgfile b/xfce4-mate-applet-loader-plugin/Pkgfile
new file mode 100644
index 0000000..eb2b1d4
--- /dev/null
+++ b/xfce4-mate-applet-loader-plugin/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Xfce4 MATE applet loader
+# URL: https://github.com/zaps166/xfce4-mate-applet-loader-plugin
+# Maintainer: Petar Petrov, slackalaxy at gmail dot com
+# Depends on: brotli graphite2 libxkbcommon xfce4-panel
+# Optional: mate-menus libmateweather mate-panel mate-applets
+
+name=xfce4-mate-applet-loader-plugin
+version=20250214
+release=1
+_commit=97f0bd25208413a31badb0a24cff596e7f0418d1
+source=(https://github.com/zaps166/xfce4-mate-applet-loader-plugin/archive/$_commit.tar.gz)
+renames=($name-$version.tar.gz)
+
+build() {
+ cmake -S $name-$_commit -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
+ -Wno-dev
+
+ cmake --build build
+ DESTDIR="$PKG" cmake --install build
+
+ sed -i 's:Icon=mate:Icon=mate-desktop:g' $PKG/usr/share/xfce4/panel/plugins/mateappletloader.desktop
+}
diff --git a/xfce4-mate-applet-loader-plugin/README b/xfce4-mate-applet-loader-plugin/README
new file mode 100644
index 0000000..58761fc
--- /dev/null
+++ b/xfce4-mate-applet-loader-plugin/README
@@ -0,0 +1,10 @@
+Install the optional dependencies, to have any applets... You need the
+mate repo enabled:
+* https://crux.nu/portdb/?a=repo&q=mate
+* https://github.com/mhoush/crux-mate
+
+Locations in Clock applet will not show properly, unless you:
+* configure your locations first
+* install dconf-editor, and go:
+ - org / mate / panel / objects-xfce4 / prefs-22
+ - tick "expand-locations"