From d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 3 Dec 2023 03:19:40 +0100 Subject: media-sound/reaper-bin: new package, add 7.06 Signed-off-by: Jason A. Donenfeld --- media-sound/reaper-bin/Manifest | 4 + media-sound/reaper-bin/metadata.xml | 8 ++ media-sound/reaper-bin/reaper-bin-7.06.ebuild | 143 ++++++++++++++++++++++++++ 3 files changed, 155 insertions(+) create mode 100644 media-sound/reaper-bin/Manifest create mode 100644 media-sound/reaper-bin/metadata.xml create mode 100644 media-sound/reaper-bin/reaper-bin-7.06.ebuild (limited to 'media-sound') diff --git a/media-sound/reaper-bin/Manifest b/media-sound/reaper-bin/Manifest new file mode 100644 index 000000000000..9e0071061231 --- /dev/null +++ b/media-sound/reaper-bin/Manifest @@ -0,0 +1,4 @@ +DIST reaper706_linux_aarch64.tar.xz 10859760 BLAKE2B daaa00fdcfdfaf0fa68463494605be5bf66bb56e76f2c87edae41d3e2701a1320d63f021c4e5f5f6682090c8969a565832f0f030f987a99a0027fa559bbfaab5 SHA512 c2ee60efbecbc04f7fb5a0e1f8316c6983a83bdae14e7ed677e577c013d1f822bc5e788754e56adca4e246a7179e614fa7f0161fb4176500c856f0876d59272b +DIST reaper706_linux_armv7l.tar.xz 10515852 BLAKE2B 0420bbc76b849b51381e8310f1131c7f34098d26bcab675953c82257f434ddbebe412d030ccfadcc4ff8d93c5e2d7a776c9882cccf71a07f062e22ec0fc0b63f SHA512 a2b1037c43176ab87b8ff9bb0f65b33383f0abfbb3dfe7ac4be83caa3aee310d39b84a9dd74a9c51de352552052096843b04cd184ae2a12fee3d65a5f0506392 +DIST reaper706_linux_i686.tar.xz 12137272 BLAKE2B 0cce92132f5f330bebc5ac43a2e4ecc65e6afce3fb7dbb6893cc38ffdf29cdab37e61f43661b661579a95b2ef8f207532bd25a58839c53662a311de29d385523 SHA512 84d90f503fb4faabbe79d1a46fabda83a6b0a9ae8cce9b532ee5c316446eff786b82f29db51499b3c0ba0b2c925a3b3bb2d8a12df30240234d389f6241f3bdd8 +DIST reaper706_linux_x86_64.tar.xz 12131904 BLAKE2B 01bdd499e305c0f3125c874a1e273b954ec748c74b66fbbd8ef80d5953d18bdbe564e0c9010be52e3ef69cec2f557adc8c4a570a8c95f37387204cb4ee0dd065 SHA512 de3190cb9c8e84c3aafc8693c48cdf67d0ec9ff5c2a2e49d02cb83cea6d74d6ff4ac4346e03014daa66e79435d82e81854084a6d6e8c73a47ed3fb7c1d6f7b8a diff --git a/media-sound/reaper-bin/metadata.xml b/media-sound/reaper-bin/metadata.xml new file mode 100644 index 000000000000..78a9d6b02d0f --- /dev/null +++ b/media-sound/reaper-bin/metadata.xml @@ -0,0 +1,8 @@ + + + + +zx2c4@gentoo.org +Jason A. Donenfeld + + diff --git a/media-sound/reaper-bin/reaper-bin-7.06.ebuild b/media-sound/reaper-bin/reaper-bin-7.06.ebuild new file mode 100644 index 000000000000..1d537af46b46 --- /dev/null +++ b/media-sound/reaper-bin/reaper-bin-7.06.ebuild @@ -0,0 +1,143 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Digital audio workstation" +HOMEPAGE="https://www.reaper.fm" + +SRC_URI=" + amd64? ( https://www.reaper.fm/files/$(ver_cut 1).x/reaper$(ver_cut 1)$(printf %02d $(ver_cut 2))_linux_x86_64.tar.xz ) + x86? ( https://www.reaper.fm/files/$(ver_cut 1).x/reaper$(ver_cut 1)$(printf %02d $(ver_cut 2))_linux_i686.tar.xz ) + arm64? ( https://www.reaper.fm/files/$(ver_cut 1).x/reaper$(ver_cut 1)$(printf %02d $(ver_cut 2))_linux_aarch64.tar.xz ) + arm? ( https://www.reaper.fm/files/$(ver_cut 1).x/reaper$(ver_cut 1)$(printf %02d $(ver_cut 2))_linux_armv7l.tar.xz ) +" + +LICENSE="Cockos" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="+jack pulseaudio mp3 ffmpeg" + +RDEPEND=" + media-libs/alsa-lib + media-libs/fontconfig + media-libs/libglvnd + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXi + jack? ( virtual/jack ) + pulseaudio? ( media-libs/libpulse ) + mp3? ( media-sound/lame ) + ffmpeg? ( media-video/ffmpeg ) +" + +S="${WORKDIR}" + +QA_PREBUILT="*/*.so */reaper */reaper_host_*" + +src_install() { + local -A ARCH_MAP=( + [amd64]=x86_64 + [x86]=i686 + [arm64]=aarch64 + [arm]=armv7l + ) + cd "reaper_linux_${ARCH_MAP[$ARCH]}" || die + ./install-reaper.sh --install "${D}"/opt || die + rm -f "${D}"/opt/REAPER/uninstall-reaper.sh + + dosym ../../opt/REAPER/reaper /usr/bin/reaper + + # The following is pulled out of install-reaper.sh to match desktop.eclass. + cd REAPER || die + + newicon -s 256 Resources/main.png cockos-reaper.png + doicon -s 256 Resources/cockos-reaper-backup.png + doicon -s 256 Resources/cockos-reaper-document.png + doicon -s 256 Resources/cockos-reaper-theme.png + doicon -s 256 Resources/cockos-reaper-peak.png + doicon -s 256 Resources/cockos-reaper-template.png + doicon -s 256 Resources/cockos-reaper-template2.png + + cat > cockos-reaper.desktop <<-EOF + [Desktop Entry] + Encoding=UTF-8 + Type=Application + Name=REAPER + Comment=REAPER + Categories=Audio;Video;AudioVideo;AudioVideoEditing;Recorder; + Exec="/usr/bin/reaper" %F + Icon=cockos-reaper + MimeType=application/x-reaper-project;application/x-reaper-project-backup;application/x-reaper-theme + StartupWMClass=REAPER + EOF + domenu cockos-reaper.desktop + + cat > application-x-reaper.xml <<-EOF + + + + + REAPER project + + + + + + REAPER project backup + + + + + + + REAPER configuration + + + + + REAPER fx chain + + + + + + REAPER track template + + + + + REAPER theme + + + + + + + REAPER undo + + + + + REAPER undo backup + + + + REAPER peak file + + + + + + REAPER proxy + + + + EOF + insopts -m 0644 + insinto /usr/share/mime + doins application-x-reaper.xml +} -- cgit v1.2.3-65-gdbad