commit:     d31f22fcc8d4998c8a5ee2940c7dad25cf3cc9a6
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 02:19:40 2023 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 02:26:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31f22fc

media-sound/reaper-bin: new package, add 7.06

Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 licenses/Cockos                               | 103 +++++++++++++++++++
 media-sound/reaper-bin/Manifest               |   4 +
 media-sound/reaper-bin/metadata.xml           |   8 ++
 media-sound/reaper-bin/reaper-bin-7.06.ebuild | 143 ++++++++++++++++++++++++++
 4 files changed, 258 insertions(+)

diff --git a/licenses/Cockos b/licenses/Cockos
new file mode 100644
index 000000000000..07ba2705d114
--- /dev/null
+++ b/licenses/Cockos
@@ -0,0 +1,103 @@
+END USER LICENSE AGREEMENT For REAPER�
+
+IMPORTANT:  This REAPER� ("Software") End User License Agreement ("EULA") is a 
legal agreement between you (either an individual or, if purchased for an 
entity, an entity) and Cockos Incorporated ("Cockos").  READ IT CAREFULLY 
BEFORE COMPLETING THE INSTALLATION PROCESS AND USING THIS SOFTWARE.  It 
provides a license to use this software and contains warranty and liability 
disclaimers.  BY DOWNLOADING OR INSTALLING THE SOFTWARE YOU ARE INDICATING YOUR 
FULL AND VOLUNTARY ASSENT TO THE TERMS OF THIS LICENSE.  If you do not agree to 
all of the following terms, do not download or install the software or 
discontinue use immediately and destroy all copies on your computer. 
+
+1. License Grants and Purchase:
+
+1.1  Trial Period License.  You may download and use the Software for free for 
sixty (60) days after installation ("Trial Period").  During the Trial Period, 
Cockos grants you a limited, non-exclusive and non-transferable license to copy 
and use the Software for evaluation purposes only. The evaluation copy of the 
Software is fully functional. 
+
+1.2  License After Trial Period. If you continue to use this Software after 
the Trial Period, you are required to purchase a license.  The license fee 
varies according to your use, as follows:
+  a)  A commercial license currently is $225.00 USD. 
+  b)  The following users are granted permission to purchase a discounted 
license for $60 USD:
+    i) You are an individual, using REAPER� only for personal and 
non-commercial uses.
+    ii) You are either an individual or business, using REAPER� for a 
commercial purpose, and your annual gross revenue derived from commercial 
activity does not exceed $20,000 USD.
+    iii) You are an educational or other non-profit organization.
+
+1.3  To Purchase License.  To purchase one of the licenses specified above, 
visit our web site at http://www.reaper.fm and follow the links.
+
+1.4  Those interested in licensing REAPER� for any other purpose should 
contact Cockos Incorporated at [email protected].
+
+1.5  Subject to the terms and conditions of this Agreement, you are granted a 
limited non-exclusive license to use the Software on one (1) computer any given 
time.  This License is not a sale of the Software or any other copy.  Cockos 
retains title and ownership of the Software and documentation, including all 
intellectual property rights.  No title to the intellectual property in the 
Software is transferred to you.  You will not acquire any rights to the 
Software except as expressly set forth herein.
+
+1.6  Said purchased license shall apply to the current version of REAPER� and 
any future versions of REAPER� up through and including version 8.99.  
+
+1.7  Cockos reserves the right within its sole discretion to modify the terms 
of its license for all future versions of REAPER�.
+
+2.  End User Support:  At Cockos� discretion, Cockos may provide limited 
support through email or discussion forums at http://www.reaper.fm.
+ 
+3.  License Restrictions:
+
+3.1  You may not alter, merge, modify, adapt or translate the Software, or 
decompile, reverse engineer, disassemble, or otherwise reduce the Software to a 
human-perceivable form. 
+
+3.2  You may not sell, rent, lease, sublicense, transfer, resell for profit or 
otherwise distribute the Software, its documentation, or any part thereof. 
+
+3.3  You may not modify the Software or create derivative works based upon the 
Software.  However, you may develop, distribute, and sell plug-ins and 
extension software that interacts with REAPER� using the VST, Audio Units, or 
REAPER� Extensions APIs, provided that such activity does not conflict with any 
other provision of this Agreement.  (Use of third party APIs may require you to 
enter into additional legal agreements with the third party. Use of the REAPER� 
Extensions API does not require any additional legal agreement.)
+
+3.4  You may not remove or obscure any copyright and trademark notices 
relating to the Software. 
+
+3.5  Note that specific included libraries/executables, including SoundTouch, 
MP3DEC, cdrecord.exe, and FFmpeg, are licensed under the GNU GPL and/or LGPL; 
these libraries/executables do not have the above restrictions, and we make 
their source code for these libraries available at http://www.reaper.fm/lgpl
+
+4.  Ownership and Intellectual Property Rights:   This Agreement gives you 
limited rights to use the Software.  Cockos retains any and all rights, title 
and interest in and to the Software and all copies thereof, including 
copyrights, patents, trade secret rights, trademarks and other intellectual 
property rights.  All rights not specifically granted in this Agreement, 
including International Copyrights, are reserved by Cockos.  The structure, 
organization and code of the Software are valuable trade secrets and 
confidential information of Cockos. 
+
+5.  Disclaimer of Warranties: Cockos does not warrant that the Software is 
error free.  Cockos offers the Software �as is� and �with all faults� and by 
using the Software, you accept it �as is� and �with all faults�.  Cockos 
disclaims all other warranties, either express or implied, including but not 
limited to implied warranties of merchantability and fitness for a particular 
purpose.  Should the Software prove defective, you assume the entire cost of 
all necessary servicing, repair or correction.  Some jurisdictions may not 
allow the exclusion of implied warranties, so the above disclaimers may not 
apply to you.
+
+6.  No Refund:  Because the Software is provided free of charge during the 
Trial Period to allow potential customers to evaluate and test it before paying 
the license fee, Cockos enforces a strict no-refund policy.  Please evaluate 
and test the Software carefully during the Trial Period.  Once you pay the 
license fee, your payment is final and may not be reimbursed. 
+
+7.  Limitations on Liability:  To the maximum extent permitted by applicable 
law, Cockos shall not be liable for any special, incidental, indirect, or 
consequential damages whatsoever, (including, but not limited to, damages for 
loss of profits or loss of confidential or other information, for business 
interruption, for personal injury, for loss of privacy, for failure to meet any 
duty including of good faith or of reasonable care, for negligence, and for any 
other pecuniary or other loss whatsoever), arising out of or in any way related 
to the use or inability to use the Software, the provision of or failure to 
provide support services, or otherwise under or in connection with any 
provision of this EULA, even in event of fault, tort (including negligence), 
strict liability, breach of contract or breach of warranty of Cockos, and even 
if Cockos has been advised of the possibility of such damages.  In any case, 
Cockos� entire liability under the provisions of this EULA or the applica
 ble law shall be limited to the amount paid by you for the Software.  Some 
jurisdictions may not allow the exclusion of consequential damages, so the 
above limitations and exclusions may not apply to you.  This Agreement sets 
forth Cockos� entire liability and your exclusive remedy with respect to the 
Software.
+
+8.  Termination of EULA:  This Agreement is effective until terminated.  This 
Agreement, including the license to use the Software, will terminate 
automatically if you fail to comply with any term or condition.
+
+9.  General: 
+
+9.1  Cockos reserves the right at any time to cease the support of the 
Software and to alter prices, features, specifications, capabilities, 
functions, licensing terms, release dates, general availability or other 
characteristics of the Software. 
+
+9.2  If any provision hereof shall be held illegal, invalid or unenforceable, 
in whole or in part, such provision shall be modified to the minimum extent 
necessary to make it legal, valid and enforceable, and the legality, validity 
and enforceability of all other provisions of this Agreement shall not be 
affected.
+
+9.3  This Agreement is to be governed by and construed in accordance with the 
laws of California.  Each party for itself and its property, hereby submits to 
the jurisdiction and venue of San Francisco, California in relation to any 
claim or dispute that may arise with respect to this Agreement and any judgment 
that may be rendered in connection with any such claim or dispute.  This 
Agreement will be will be interpreted as if the agreement were made between 
California residents and performed entirely within California.
+
+9.4 You may not assign this Agreement. Any attempt by You to assign this 
Agreement will be null and void.
+
+9.5  This Agreement contains the entire agreement between Cockos and You 
related to the software and supersedes all prior agreements and understandings, 
whether oral or written. All questions concerning this Agreement shall be 
directed to [email protected].
+
+10. Software license agreements of third parties:
+
+10.1 Xiph.org's BSD license
+- libflac:     Copyright (c) 2000-2007 Josh Coalson
+- libogg:      Copyright (c) 2002, Xiph.org Foundation
+- libvorbis:   Copyright (c) 2002-2008 Xiph.org Foundation
+- libopusfile: Copyright (c) 1994-2013 Xiph.Org Foundation
+- libopus:     Copyright (c) 2001-2011 Xiph.Org, Skype Limited,
+               Octasic, Jean-Marc Valin, Timothy B. Terriberry,
+               CSIRO, Gregory Maxwell, Mark Borgerding,
+               Erik de Castro Lopo
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+- Redistributions of source code must retain the above copyright notice, this 
list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, 
this list of conditions and the following disclaimer in the documentation 
and/or other materials provided with the distribution.
+- Neither the name of the Xiph.Org Foundation nor the names of its 
contributors may be used to endorse or promote products derived from this 
software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY 
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+10.2 r8brain free MIT license
+- r8brain free: Copyright (c) 2013-2021 Aleksey Vaneev
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+� Cockos Incorporated

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>[email protected]</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
+}

Reply via email to