aboutsummaryrefslogtreecommitdiff
path: root/xfce4-cpufreq-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'xfce4-cpufreq-plugin')
-rw-r--r--xfce4-cpufreq-plugin/.footprint22
-rw-r--r--xfce4-cpufreq-plugin/.signature5
-rw-r--r--xfce4-cpufreq-plugin/Pkgfile26
-rw-r--r--xfce4-cpufreq-plugin/post-install7
4 files changed, 60 insertions, 0 deletions
diff --git a/xfce4-cpufreq-plugin/.footprint b/xfce4-cpufreq-plugin/.footprint
new file mode 100644
index 0000000..52ac125
--- /dev/null
+++ b/xfce4-cpufreq-plugin/.footprint
@@ -0,0 +1,22 @@
+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/libcpufreq.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/xfce4-cpufreq-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/xfce4-cpufreq-plugin.png
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/xfce4-cpufreq-plugin.png
+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/cpufreq.desktop
diff --git a/xfce4-cpufreq-plugin/.signature b/xfce4-cpufreq-plugin/.signature
new file mode 100644
index 0000000..4b4ab79
--- /dev/null
+++ b/xfce4-cpufreq-plugin/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/xfce4.pub
+RWRSAbUnL7azFPsdmCpHZmwbpQFR32WcfC04inDsq1g7g/vDFkImQuvCCrY8o5j8/mJmz7+ybk60uhn23SYlmVhi9/7eTJPMcw4=
+SHA256 (Pkgfile) = 520a6ed9e5b5e810364097ed7cb00911615b479a14567f1b37c54f5fda5c0aff
+SHA256 (.footprint) = 1d6d931383ec27c7108ae79e22096ebb967e73b7f1b9aeba36df806d697198a6
+SHA256 (xfce4-cpufreq-plugin-1.3.0.tar.xz) = baa5b90f72e8c262777f1e246acae125af489e2c168a5f7f890d9d2b5567ec20
diff --git a/xfce4-cpufreq-plugin/Pkgfile b/xfce4-cpufreq-plugin/Pkgfile
new file mode 100644
index 0000000..c5ba503
--- /dev/null
+++ b/xfce4-cpufreq-plugin/Pkgfile
@@ -0,0 +1,26 @@
+# Description: A cpufreq and governor plugin for the xfce-panel
+# URL: https://xfce.org
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: xfce4-panel
+
+name=xfce4-cpufreq-plugin
+version=1.3.0
+release=1
+source=(https://archive.xfce.org/src/panel-plugins/$name/${version:0:3}/$name-$version.tar.xz)
+
+build() {
+
+ meson setup $name-$version build \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --buildtype=plain \
+ -Db_lto=true \
+ -Db_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ rm -rf $PKG/usr/share/locale
+
+}
diff --git a/xfce4-cpufreq-plugin/post-install b/xfce4-cpufreq-plugin/post-install
new file mode 100644
index 0000000..630c6ff
--- /dev/null
+++ b/xfce4-cpufreq-plugin/post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# update icon cache
+
+gtk-update-icon-cache /usr/share/icons/hicolor
+
+# End post install file