summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
-rw-r--r--myxer.desktop8
4 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa541b16b41
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = myxer
+ pkgdesc = A modern Volume Mixer for PulseAudio.
+ pkgver = 1.1.3
+ pkgrel = 1
+ url = https://github.com/Aurailus/Myxer
+ arch = x86_64
+ arch = aarch64
+ license = MIT
+ makedepends = cargo
+ depends = gcc-libs
+ depends = gtk3
+ depends = libpulse
+ source = myxer-1.1.3.tar.gz::https://github.com/Aurailus/Myxer/archive/1.1.3.tar.gz
+ source = myxer.desktop
+ sha512sums = b8e9b84378a833156f4e8f71e9c8d823332994447bfdf2033d4aae043af8b01c9d088f45b862b477c5c692325cfdaeb89d23d6b49bc5a1abc9d0a63f029992f7
+ sha512sums = 7cc782ba29dbe03dc242e65880184f047ae2ebf0dd2aaa3ab534df78e2a037f5a69fe332752fce87312a452dabf3da3b70a30d6baa8059ce0216acd1333b80be
+
+pkgname = myxer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0e3be6071f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src/
+pkg/
+*.zst
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7a64a88525d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: gbr <gbr@protonmail.com>
+
+_pkgname=Myxer
+pkgname=myxer
+pkgver=1.1.3
+pkgrel=1
+pkgdesc='A modern Volume Mixer for PulseAudio.'
+arch=('x86_64' 'aarch64')
+url='https://github.com/Aurailus/Myxer'
+license=('MIT')
+depends=('gcc-libs' 'gtk3' 'libpulse')
+makedepends=('cargo')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+ 'myxer.desktop')
+sha512sums=('b8e9b84378a833156f4e8f71e9c8d823332994447bfdf2033d4aae043af8b01c9d088f45b862b477c5c692325cfdaeb89d23d6b49bc5a1abc9d0a63f029992f7'
+ '7cc782ba29dbe03dc242e65880184f047ae2ebf0dd2aaa3ab534df78e2a037f5a69fe332752fce87312a452dabf3da3b70a30d6baa8059ce0216acd1333b80be')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ cargo build --locked --release
+}
+
+check() {
+ cd "$_pkgname-$pkgver"
+ cargo test --locked --release
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 'LICENSE.md' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
diff --git a/myxer.desktop b/myxer.desktop
new file mode 100644
index 00000000000..0b1a2485e6d
--- /dev/null
+++ b/myxer.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Myxer
+Comment=Volume Mixer for PulseAudio
+Exec=myxer
+Icon=multimedia-volume-control
+StartupNotify=true
+Type=Application
+Categories=Audio;AudioVideo;Utility;