logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 829bf962be4224b919efc99295d9e29958e41589
parent 8ed6a316cb9c8399b475aa39fbebf6fd85e0c5a5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  7 Aug 2022 03:04:16 +0200

media-libs/fmod: New package

Diffstat:

Alicenses/fmod93+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amedia-libs/fmod/Manifest1+
Amedia-libs/fmod/fmod-4.44.64.ebuild43+++++++++++++++++++++++++++++++++++++++++++
3 files changed, 137 insertions(+), 0 deletions(-)

diff --git a/licenses/fmod b/licenses/fmod @@ -0,0 +1,93 @@ +FMOD, FMOD Ex, FMOD Designer and FMOD Studio are +Copyright © 2005-2016 Firelight Technologies Pty, Ltd. + +GRANT OF LICENSE +---------------- +THIS END USER LICENSE AGREEMENT GRANTS THE USER, THE RIGHT TO USE FMOD, +IN ITS LIBRARY AND TOOL FORM, IN THEIR OWN PRODUCTS, BE THEY FOR PERSONAL, +EDUCATIONAL OR COMMERCIAL USE. +THE USER MUST ADHERE TO THE LICENSING MODEL PROVIDED BY FIRELIGHT +TECHNOLOGIES, AND MUST APPLY FOR A LICENSE IF NECESSARY. THE FOLLOWING +LICENSES ARE AVAILABLE. + +FMOD NON-COMMERCIAL LICENSE +------------------------------------ +IF YOUR PRODUCT IS NOT INTENDED FOR COMMERCIAL GAIN AND DOES NOT +INCLUDE THE FMOD LIBRARY FOR RESALE, LICENSE OR OTHER COMMERCIAL +DISTRIBUTION, THEN USE OF FMOD IS FREE OF CHARGE. THERE ARE NO +LICENSE FEES FOR NON-COMMERCIAL APPLICATIONS. +THE USER MAY USE THIS EULA AS EVIDENCE OF THEIR LICENSE WITHOUT +CONTACTING FIRELIGHT TECHNOLOGIES. + +CONDITIONS/LIMITATIONS: +- WHEN USING THIS LICENSE, THE FMOD LIBRARY CANNOT BE USED FOR + RESALE OR OTHER COMMERCIAL DISTRIBUTION +- THIS LICENSE CANNOT BE USED FOR PRODUCTS WHICH DO NOT MAKE + PROFIT BUT ARE STILL COMMERCIALLY RELEASED +- THIS LICENSE CANNOT BE USED FOR COMMERCIAL SERVICES, WHERE THE + EXECUTABLE CONTAINING FMOD IS NOT SOLD, BUT THE DATA IS. +- WHEN USING FMOD, A CREDIT LINE IS REQUIRED IN EITHER DOCUMENTATION, + OR 'ON SCREEN' FORMAT (IF POSSIBLE). IT SHOULD CONTAIN AT LEAST + THE WORDS "FMOD" (OR "FMOD STUDIO" IF APPLICABLE) AND + "FIRELIGHT TECHNOLOGIES." + LOGOS ARE AVAILABLE FOR BOX OR MANUAL ART, BUT ARE NOT MANDATORY. + AN EXAMPLE CREDIT COULD BE: + + FMOD Sound System, copyright © Firelight Technologies Pty, Ltd., 1994-2016. + OR + FMOD Studio, copyright © Firelight Technologies Pty, Ltd., 1994-2016. + OR + Audio Engine supplied by FMOD by Firelight Technologies. + + NOTE THIS IN ADVANCE, AS IT MUST BE DONE BEFORE SHIPPING YOUR + PRODUCT WITH FMOD. + +FMOD FREE FOR INDIES LICENSE (FMOD STUDIO ONLY) +------------------------------------------------ +INDIE DEVELOPERS ARE CONSIDERED BY OUR LICENSING MODEL, DEVELOPERS THAT DEVELOP +A TITLE FOR UNDER $100K USD (TYPICALLY CONSIDERED AN 'INDIE' TITLE) TOTAL +BUDGET, MEANING YOUR TOTAL COSTS ARE LESS THAN $100K USD AT TIME OF SHIPPING, +YOU CAN USE FMOD FOR FREE. + +CONDITIONS/LIMITATIONS +- PLEASE WRITE TO SALES@FMOD.COM WITH THE NAME OF YOUR TITLE, RELEASE DATE + AND PLATFORMS SO WE CAN REGISTER YOU IN OUR SYSTEM. +- THERE IS NO RESTRICTION ON PLATFORM, ANY PLATFORM COMBINATION MAY BE USED. +- INCOME IS NOT RELEVANT TO THE BUDGET LEVEL, IT MUST BE EXPENSE RELATED. +- WHEN USING FMOD, A CREDIT LINE IS REQUIRED IN EITHER DOCUMENTATION, + OR 'ON SCREEN' FORMAT (IF POSSIBLE). IT SHOULD CONTAIN AT LEAST + THE WORDS FMOD STUDIO AND FIRELIGHT TECHNOLOGIES. + LOGOS ARE AVAILABLE FOR BOX OR MANUAL ART, BUT ARE NOT MANDATORY. + AN EXAMPLE CREDIT COULD BE: + + FMOD STUDIO, COPYRIGHT © FIRELIGHT TECHNOLOGIES PTY, LTD., 1994-2016. + +COMMERCIAL USAGE (FMOD EX AND FMOD STUDIO) +------------------------------------------ +IF THE PRODUCT THAT USES FMOD IS INTENDED TO GENERATE INCOME, VIA DIRECT SALES +OR INDIRECT REVENUE (SUCH AS ADVERTISING, DONATIONS, CONTRACT FEE) THEN THE +DEVELOPER MUST APPLY TO FIRELIGHT TECHNOLOGIES FOR A COMMERCIAL LICENSE (UNLESS +THE USER QUALIFIES FOR AN FMOD STUDIO 'INDIE LICENSE'). +TO APPLY FOR THIS LICENSE WRITE TO SALES@FMOD.COM WITH THE RELEVANT DETAILS. + +REDISTRIBUTION LICENSE (FMOD EX AND FMOD STUDIO) +------------------------------------------------ +IF THE USER WISHES TO REDISTRIBUTE FMOD AS PART OF AN ENGINE OR TOOL SOLUTION, +THE USER MUST APPLY TO FIRELIGHT TECHNOLOGIES TO BE GRANTED A 'REDISTRIBUTION +LICENSE'. +TO APPLY FOR THIS LICENSE WRITE TO SALES@FMOD.COM WITH THE RELEVANT DETAILS. + +WARRANTY AND LIMITATION OF LIABILITY +------------------------------------ +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. + diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest @@ -0,0 +1 @@ +DIST fmodapi44464linux.tar.gz 25520093 BLAKE2B 4a702aed24c1a42d35462341290a1c71717e208229c640931c06b9d80580f4e5f0b984ab2c7ee024defc1dc7b9d0e21bd13c1148a2814e1e3bb3aea0f8409f6a SHA512 af365f82eea8b7e38bb8c3910470b28626ac58d46ae8122bbdaf51b5339810504cd0f541334c5e989180b3a6b2ecdcf7bc82c00ce3ef1f6af5278df20a20d611 diff --git a/media-libs/fmod/fmod-4.44.64.ebuild b/media-libs/fmod/fmod-4.44.64.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV=$(ver_rs 1- '') + +DESCRIPTION="Libraries of the fmodex audio engine" +HOMEPAGE="https://zdoom.org/files/fmod/ https://www.fmod.com/" +SRC_URI="https://zdoom.org/files/fmod/fmodapi${MY_PV}linux.tar.gz" +S="${WORKDIR}/fmodapi${MY_PV}linux" + +# Ogg Vorbis: BSD +# Android: BSD-2 +LICENSE="BSD BSD-2 fmod" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="strip test" + +QA_PREBUILT="*" + +src_compile() { :; } + +src_install() { + cd "${S}/api/lib/" || die + for lib in libfmodex libfmodexL + do + dolib.so ${lib}64-${PV}.so + dolib.so ${lib}64.so + dolib.so ${lib}-${PV}.so + dolib.so ${lib}.so + done + + cd "${S}/fmoddesignerapi/api/lib/" || die + for lib in libfmodevent libfmodeventL libfmodeventnet libfmodeventnetL + do + dolib.so ${lib}64-${PV}.so + dolib.so ${lib}64.so + dolib.so ${lib}-${PV}.so + dolib.so ${lib}.so + done +}