diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/parabola-proaudio-settings/99-sysctl.conf | 2 | ||||
-rw-r--r-- | pcr/parabola-proaudio-settings/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/parabola-proaudio-settings/parabola-proaudio-settings.install | 26 |
3 files changed, 30 insertions, 3 deletions
diff --git a/pcr/parabola-proaudio-settings/99-sysctl.conf b/pcr/parabola-proaudio-settings/99-sysctl.conf index 25bde20b7..09f939611 100644 --- a/pcr/parabola-proaudio-settings/99-sysctl.conf +++ b/pcr/parabola-proaudio-settings/99-sysctl.conf @@ -1,5 +1,5 @@ # By default, swap frequency defined by "swappiness" is set to 60. By reducing this number to 10, the system will wait much longer before trying to write to disk -vm.swappiness = 0 +vm.swappiness = 10 # inotify watches for changes to files and reports them to applications requesting this information. When working with lots of audio data, a lot of watches will need to be kept track of, so they will need to be increased. fs.inotify.max_user_watches = 524288 diff --git a/pcr/parabola-proaudio-settings/PKGBUILD b/pcr/parabola-proaudio-settings/PKGBUILD index fd25dc9cd..80a89a182 100644 --- a/pcr/parabola-proaudio-settings/PKGBUILD +++ b/pcr/parabola-proaudio-settings/PKGBUILD @@ -2,12 +2,13 @@ # Maintainer: Totalchaos <biserangeloff@gmail.com> pkgname=parabola-proaudio-settings -pkgver=0.1 +pkgver=0.2 pkgrel=1 pkgdesc='Settings and configurations needed for a real-time audio workstation on Parabola GNU/Linux-libre' arch=('any') license=('GPL') url='https://www.parabola.nu' +install='parabola-proaudio-settings.install' depends=('linux-libre-tools-cpupower' 'qjackctl' 'alsa-tools' 'alsa-utils' 'alsa-plugins') optdepends=('linux-libre-rt: required for achieving the best results for a low-latency profesional audio system' 'patchage: required for audio and MIDI systems based on Jack and Alsa' @@ -42,7 +43,7 @@ package() { install -m644 $srcdir/alsamidi.conf $pkgdir/etc/modules-load.d } -sha512sums=('c7263cbf582a74b273ee27a781cd6015e4d996c5ae6750de48b265b29dab29a5892f77d6fde99600a73e355d77fcbb6283771d9b201adb1543816b021a51679b' +sha512sums=('47dc159c3e03e2df4f332dd9fd3a60cf1246bc50197380fb29e21e1f6ddd32667598c92ccc39b139c9ca3de2fe4ffb73546e7d40831bf3159e92434b7cc9cefb' '1ddeb186031d905a14255a6841bba8f9c86fb52a5f4fede7e71593f5d584abf11534349da835d01a7dabec9e04d12ba7b2c15b1be4c8bb4e63a2a1ddacbf1ee7' '44229cc60c956a11767c08d877cd633c93b7a9bc864b7e69f54efd950ee05897e429ef8252dcba0dc5f50568c1961026962716b40a7014c8195a6dae1bc0eeb1' '245dc0170ed1e2e2fa19c0ea4716489cc6fd86ecda9c1c8f2d3617fef7f91743bbac5770aa1858ec80c62e19b5ed72dce6c313c51994bb7a4c6588d276afe16d' diff --git a/pcr/parabola-proaudio-settings/parabola-proaudio-settings.install b/pcr/parabola-proaudio-settings/parabola-proaudio-settings.install new file mode 100644 index 000000000..08b2513bc --- /dev/null +++ b/pcr/parabola-proaudio-settings/parabola-proaudio-settings.install @@ -0,0 +1,26 @@ +# arg 1: the new package version +post_install() { + cat << EOF + +==> To enable the proaudio-settings +==> #systemctl enable parabola-proaudio-settings.service + +EOF +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + cat << EOF + +==> To enable the proaudio-settings +==> #systemctl enable parabola-proaudio-settings.service + + +EOF +} + +op=$1 +shift +$op $* + |