reaper 7.74
Digital Audio Workstation
Не провереноПроисхождение пакета не подтверждено.
Используемые названия и товарные знаки принадлежат соответствующим владельцам.
1# Example of Staplerfile
2# Check stplr.dev/staplerfile for a documentation.
3name=reaper
4version=7.74
5release=1
6summary="Digital Audio Workstation"
7group="Engineering"
8desc="
9Using REAPER with your PC, Mac, or Linux computer, and no other software, you can import any audio and MIDI, synthesize, sample, compose, arrange, edit, mix, and master songs or any other audio projects.
10
11If you add a hardware audio interface and a microphone, you have a complete professional quality recording studio, suitable for recording anything from a soloist to a band to an orchestra.
12
13The best way to understand what REAPER can do is to try it for yourself. There is only one version of REAPER, used by home hobbyists and high-end professional studios alike. Evaluate the full version of REAPER with no obligation for up to 60 days.
14
15The free User Guide and helpful user forum are always available if you need a hand.
16"
17maintainer="David Sultaniiazov <x1z53@alt-gnome.ru>"
18
19# Array of Go arches (go tool dist list | cut -d/ -f2 | sort | uniq) or "all"
20architectures=(
21 "amd64"
22 "arm64"
23)
24
25homepage="https://reaper.fm"
26
27license=("custom")
28nonfree=1
29nonfree_msgfile="EULA.txt"
30
31provides=()
32conflicts=()
33
34MAJOR_VERSION=7
35
36_get_arch() {
37 if [ "${ARCH}" = "amd64" ]; then
38 echo 'x86_64'
39 elif [ "${ARCH}" = "arm64" ]; then
40 echo 'aarch64'
41 fi
42}
43
44sources=(
45 "https://www.reaper.fm/files/${version::1}.x/$name${version//./}_linux_x86_64.tar.xz"
46)
47sources_arm64=(
48 "https://www.reaper.fm/files/${version::1}.x/$name${version//./}_linux_aarch64.tar.xz"
49)
50
51checksums=(
52 sha256:e0c7f6abf789cfc76326fe4996b1860168e2be312b891ae46eb7ca5ddfe24bac
53)
54checksums_arm64=(
55 sha256:cd0e17985ac009f503d38516b347d8596fa6e0be01d71c5ee11835f310947a67
56)
57
58opt_deps=(
59 'ffmpeg: for video rendering'
60 'jack_mixer: for JACK support'
61 'pulseaudio: for PulseAudio support'
62 'python3: for Python plugins'
63)
64opt_deps_ru=(
65 'ffmpeg: для рендеринга видео'
66 'jack_mixer: для поддержки JACK'
67 'pulseaudio: для поддержки PulseAudio'
68 'python3: для Python-плагинов'
69)
70
71build_deps=(
72 xdg-utils
73)
74
75auto_reqprov_method=dirty
76auto_req=1
77auto_prov=1
78
79disable_network=1
80
81package() {
82 cd ${name}_linux_$(_get_arch)
83
84 XDG_DATA_HOME="$srcdir/xdg/" ./install-reaper.sh --install "$pkgdir/usr/lib" --integrate-user-desktop
85 # remove unneeded uninstallation script
86 rm -v "$pkgdir/usr/lib/${name^^}/uninstall-reaper.sh"
87
88 # strip $pkgdir from XDG desktop Exec line
89 sed -e "s|$pkgdir||g" -i "$srcdir/xdg/applications/"*.desktop
90 # install only required files for XDG integration
91 install -vDm 644 "$srcdir/xdg/applications/"*.desktop -t "$pkgdir/usr/share/applications/"
92 install -vDm 644 "$srcdir/xdg/mime/packages/"*.xml -t "$pkgdir/usr/share/mime/packages/"
93 install -vDm 644 "$srcdir/xdg/icons/hicolor/256x256/apps/"*.png -t "$pkgdir/usr/share/icons/hicolor/256x256/apps/"
94
95 # add convenience symlink to PATH
96 install -vdm 755 "$pkgdir/usr/bin"
97 ln -sv /usr/lib/${name^^}/$name "$pkgdir/usr/bin/$name"
98
99 # install EULA
100 install -vDm 644 "$pkgdir/usr/lib/${name^^}/EULA.txt" -t "$pkgdir/usr/share/licenses/$name/"
101}
102
103# files(): Lists all files to be included in the final package.
104files() {
105 files-find \
106 "/usr/bin/$name" \
107 "/usr/lib/**/*" \
108 "/usr/share/applications/*" \
109 "/usr/share/mime/packages/*" \
110 "/usr/share/licenses/**/*" \
111 "/usr/share/icons/hicolor/256x256/apps/*"
112}