addpkg: pro-audio-settings
This commit is contained in:
parent
2939fc53be
commit
642d532833
4 changed files with 35 additions and 0 deletions
31
pro-audio-settings/PKGBUILD
Normal file
31
pro-audio-settings/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||
|
||||
pkgname=pro-audio-settings
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='Global settings as per Arch Wiki page: Professional_audio'
|
||||
arch=('any')
|
||||
url='https://wiki.archlinux.org/title/Professional_audio'
|
||||
license=('GFDL-1.3-only')
|
||||
source=(
|
||||
'tmpfiles-max-user-freq.conf'
|
||||
'sysctl-swappiness.conf'
|
||||
'sysctl-max_user_watches.conf'
|
||||
)
|
||||
sha512sums=('7848a64e3c6ee798edecf247d5b5f62075f714de12fe5dd563ef44742b59ff88c8af81f9689fb211eac264d5bb280a76d6ea1111e048b5f92979fd46595cdea2'
|
||||
'f1050410b6de053aa9d97b1708bb644954c615035991ffde3b5f58618040630b156518cf4058d788de53b8d9b6bb17a40d0517dcef528926bacef176583813e1'
|
||||
'a1a1fdcdd74fd79d99f93367c3ebdbf11e1836eb1227f4a81f82890a4eb39ceb3e7bc6ed34efd125251c610ff023d8ac6c8d83616b6dabbc0ecfc69c162e7d78')
|
||||
b2sums=('dfc8c8a0850195fb945eb4a617bfcd88c622411fd3ac260c6fe312fa44b57966004f3e28a7388d177e71193027eef31db1c47c6d0296b2608fbb7f06f12c7da9'
|
||||
'4603559afa59732d9850255da2f80526432688f7c73fd17bc71021055b2638af9d01d3a61be45927813a7bf2f3a56579cfed1dad807e94e43e965c5ef25ea4e2'
|
||||
'ef56ec46d3e09844930c78bf0412c5598b46faf0f6f6b17b8de930c8a2a23e03688aa28a31ef58f4b1bffdfe406e97789f4d9b29a59b88685814a1b812659352')
|
||||
|
||||
package() {
|
||||
# max-user-freq
|
||||
install -vDm644 "$srcdir/tmpfiles-max-user-freq.conf" "$pkgdir/usr/lib/tmpfiles.d/max-user-freq.conf"
|
||||
|
||||
# vm.swappiness
|
||||
install -vDm644 "$srcdir/sysctl-swappiness.conf" "$pkgdir/usr/lib/sysctl.d/90-swappiness.conf"
|
||||
|
||||
# max_user_watches
|
||||
install -vDm644 "$srcdir/sysctl-max_user_watches.conf" "$pkgdir/usr/lib/sysctl.d/90-max_user_watches.conf"
|
||||
}
|
1
pro-audio-settings/sysctl-max_user_watches.conf
Normal file
1
pro-audio-settings/sysctl-max_user_watches.conf
Normal file
|
@ -0,0 +1 @@
|
|||
fs.inotify.max_user_watches = 600000
|
1
pro-audio-settings/sysctl-swappiness.conf
Normal file
1
pro-audio-settings/sysctl-swappiness.conf
Normal file
|
@ -0,0 +1 @@
|
|||
vm.swappiness = 10
|
2
pro-audio-settings/tmpfiles-max-user-freq.conf
Normal file
2
pro-audio-settings/tmpfiles-max-user-freq.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
w /sys/class/rtc/rtc0/max_user_freq - - - - 2048
|
||||
w /proc/sys/dev/hpet/max-user-freq - - - - 2048
|
Loading…
Reference in a new issue