diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2023-12-03 03:19:40 +0100 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2023-12-03 03:26:19 +0100 |
commit | d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6 (patch) | |
tree | 1357b7237ef87f91769608f5220848b29bed8f6f /media-sound | |
parent | app-emacs/treesit-auto: add 1.0.1 (diff) | |
download | gentoo-d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6.tar.gz gentoo-d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6.tar.bz2 gentoo-d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6.zip |
media-sound/reaper-bin: new package, add 7.06
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/reaper-bin/Manifest | 4 | ||||
-rw-r--r-- | media-sound/reaper-bin/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/reaper-bin/reaper-bin-7.06.ebuild | 143 |
3 files changed, 155 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>zx2c4@gentoo.org</email> +<name>Jason A. Donenfeld</name> +</maintainer> +</pkgmetadata> 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 + <?xml version="1.0" encoding="UTF-8"?> + <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-reaper-project"> + <sub-class-of type="text/plain"/> + <comment xml:lang="en">REAPER project</comment> + <icon name="cockos-reaper-document"/> + <glob pattern="*.rpp"/> + </mime-type> + <mime-type type="application/x-reaper-project-backup"> + <sub-class-of type="text/plain"/> + <comment xml:lang="en">REAPER project backup</comment> + <icon name="cockos-reaper-backup"/> + <glob pattern="*.rpp-bak"/> + </mime-type> + <mime-type type="application/x-reaper-config"> + <sub-class-of type="text/plain"/> + <icon name="cockos-reaper"/> + <comment xml:lang="en">REAPER configuration</comment> + <glob pattern="reaper*.ini"/> + </mime-type> + <mime-type type="application/x-reaper-fxchain"> + <sub-class-of type="text/plain"/> + <comment xml:lang="en">REAPER fx chain</comment> + <icon name="cockos-reaper-template"/> + <glob pattern="*.rfxchain"/> + </mime-type> + <mime-type type="application/x-reaper-tracktemplate"> + <sub-class-of type="text/plain"/> + <comment xml:lang="en">REAPER track template</comment> + <icon name="cockos-reaper-template2"/> + <glob pattern="*.RTrackTemplate"/> + </mime-type> + <mime-type type="application/x-reaper-theme"> + <comment xml:lang="en">REAPER theme</comment> + <icon name="cockos-reaper-theme"/> + <glob pattern="*.ReaperTheme"/> + <glob pattern="*.ReaperThemeZip"/> + </mime-type> + <mime-type type="application/x-reaper-undo"> + <icon name="cockos-reaper-backup"/> + <comment xml:lang="en">REAPER undo</comment> + <glob pattern="*.rpp-undo"/> + </mime-type> + <mime-type type="application/x-reaper-bak-undo"> + <icon name="cockos-reaper-backup"/> + <comment xml:lang="en">REAPER undo backup</comment> + <glob pattern="*.rpp-bak-undo"/> + </mime-type> + <mime-type type="application/x-reaper-peak"> + <comment xml:lang="en">REAPER peak file</comment> + <icon name="cockos-reaper-peak"/> + <glob pattern="*.reapeaks"/> + </mime-type> + <mime-type type="application/x-reaper-proxy"> + <icon name="cockos-reaper-peak"/> + <comment xml:lang="en">REAPER proxy</comment> + <glob pattern="*.rpp-prox"/> + </mime-type> + </mime-info> + EOF + insopts -m 0644 + insinto /usr/share/mime + doins application-x-reaper.xml +} |