* [gentoo-commits] proj/gamerlay:master commit in: media-libs/fmod/, profiles/
@ 2017-01-29 15:17 Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; only message in thread
From: Vadim A. Misbakh-Soloviov @ 2017-01-29 15:17 UTC (permalink / raw
To: gentoo-commits
commit: 2400c3d305f1fe947e5f1629065403ebe1a658d8
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Sun Jan 29 15:17:09 2017 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun Jan 29 15:17:09 2017 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=2400c3d3
use.local.desc: update useflags; fmod: added
media-libs/fmod/fmod-4.44.50.ebuild | 107 ++++++++++++++++++++++++++++++++++++
media-libs/fmod/metadata.xml | 8 +++
profiles/use.local.desc | 10 ++++
3 files changed, 125 insertions(+)
diff --git a/media-libs/fmod/fmod-4.44.50.ebuild b/media-libs/fmod/fmod-4.44.50.ebuild
new file mode 100644
index 0000000..bf57c7d
--- /dev/null
+++ b/media-libs/fmod/fmod-4.44.50.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator multilib-minimal
+
+MY_P=fmodapi$(delete_all_version_separators)linux
+
+DESCRIPTION="music and sound effects library, and a sound processing system"
+HOMEPAGE="http://www.fmod.org"
+SRC_URI="http://www.fmod.org/download/fmodex/api/Linux/${MY_P}.tar.gz"
+
+LICENSE="BSD BSD-2 fmod"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="designer examples tools"
+
+RESTRICT="strip test"
+
+QA_FLAGS_IGNORED="opt/fmodex/tools/fsbanklib/.*"
+QA_PREBUILT="opt/fmodex/fmoddesignerapi/api/lib/*
+ opt/fmodex/api/lib/*"
+QA_TEXTRELS="opt/fmodex/fmoddesignerapi/api/lib/*
+ opt/fmodex/api/lib/*"
+
+S=${WORKDIR}/${MY_P}
+
+multilib_src_compile() {
+ if use examples; then
+ if use amd64; then
+ emake -j1 fmod_examples CPU=x64
+ elif use x86; then
+ emake -j1 fmod_examples CPU=x86
+ fi
+ fi
+}
+
+multilib_src_install() {
+ local ldpath="/opt/fmodex/api/lib"
+
+ dodir /opt/fmodex
+
+ if ! use x86; then
+ rm api/lib/libfmodex-${PV}.so
+ rm api/lib/libfmodex.so
+ rm api/lib/libfmodexL-${PV}.so
+ rm api/lib/libfmodexL.so
+ rm fmoddesignerapi/api/lib/libfmodevent-${PV}.so
+ rm fmoddesignerapi/api/lib/libfmodevent.so
+ rm fmoddesignerapi/api/lib/libfmodeventL-${PV}.so
+ rm fmoddesignerapi/api/lib/libfmodeventL.so
+ rm fmoddesignerapi/api/lib/libfmodeventnet-${PV}.so
+ rm fmoddesignerapi/api/lib/libfmodeventnet.so
+ rm fmoddesignerapi/api/lib/libfmodeventnetL-${PV}.so
+ rm fmoddesignerapi/api/lib/libfmodeventnetL.so
+ rm tools/fsbanklib/celt_encoder.so
+ rm tools/fsbanklib/libfsbankex.a
+ rm tools/fsbanklib/libmp3lame.so
+ rm tools/fsbanklib/twolame.so
+ fi
+ if ! use amd64; then
+ rm api/lib/*64*
+ rm fmoddesignerapi/api/lib/*64*
+ rm tools/fsbanklib/*64*
+ fi
+
+ cp -dpR api "${D}"/opt/fmodex || die
+
+ rm -rf "${D}"/opt/fmodex/{documentation,fmoddesignerapi/*.TXT}
+
+ if use designer; then
+ ldpath="${ldpath}:/opt/fmodex/fmoddesignerapi/api/lib"
+
+ if ! use examples; then
+ rm -r fmoddesignerapi/examples
+ fi
+
+ cp -dpR fmoddesignerapi "${D}"/opt/fmodex || die
+
+ dosym /opt/fmodex/fmoddesignerapi/api/inc /usr/include/fmoddesigner || die
+
+ dodoc fmoddesignerapi/*.TXT
+ fi
+
+ if use examples; then
+ cp -dpR examples "${D}"/opt/fmodex || die
+ fi
+
+ if use tools; then
+ cp -dpR tools "${D}"/opt/fmodex || die
+ fi
+
+ dosym /opt/fmodex/api/inc /usr/include/fmodex || die
+
+ docinto /usr/share/doc/${PF}/pdf
+ dodoc documentation/*.pdf
+
+ docinto /usr/share/doc/${PF}/chm
+ dodoc documentation/*.chm
+
+ dodoc documentation/*.txt
+
+ echo "LDPATH=\"$ldpath\"" > ${T}/65fmodex
+
+ doenvd "${T}"/65fmodex
+}
diff --git a/media-libs/fmod/metadata.xml b/media-libs/fmod/metadata.xml
new file mode 100644
index 0000000..c870d0e
--- /dev/null
+++ b/media-libs/fmod/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 454a566..14ce98f 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -2,6 +2,7 @@
# your descriptions to your package's metadata.xml ONLY.
# * generated automatically using egencache *
+dev-db/mariadb-connector-c:mysqlcompat - Enable mysqlclient library symbolic links
dev-games/aseprite:bundled-libs - Use the upstream provided bundled version of allegro 4.4.2
dev-games/aseprite:gtk3 - Enable support for the experimental native GTK File Dialog
dev-games/aseprite:webp - Enable webp image format support
@@ -34,6 +35,15 @@ games-action/d2x-rebirth:linguas_de - Provides German translations for the game'
games-action/d2x-rebirth:music - Adds music support
games-action/d2x-rebirth:opl3-musicpack - Include alternate version of the game's music, recorded with the Yamaha YMF262 OPL3 soundchip
games-action/d2x-rebirth:sc55-musicpack - Include alternate version of the game's music, recorded with the Roland Sound Canvas SC-55 MIDI module
+games-action/dxx-rebirth:data - Install data files
+games-action/dxx-rebirth:descent1 - Install Descent 1 resources and executable
+games-action/dxx-rebirth:descent2 - Install Descent 2 resources and executable
+games-action/dxx-rebirth:doc - Install documentation files (README.txt, INSTALL.txt, etc)
+games-action/dxx-rebirth:l10n_de - Provides German translations for the game's briefings, robot descriptions, and outro of the original campaign
+games-action/dxx-rebirth:music - Adds music support
+games-action/dxx-rebirth:opl3-musicpack - Include alternate version of the game's music, recorded with the Yamaha YMF262 OPL3 soundchip
+games-action/dxx-rebirth:sc55-musicpack - Include alternate version of the game's music, recorded with the Roland Sound Canvas SC-55 MIDI module
+games-action/dxx-rebirth:textures - Include high resolution (640x480) backgrounds, briefing images and fonts (Descent 1)
games-arcade/fretsonfire:guitarhero - Enable Guitar Hero song importer
games-arcade/frogatto:extras - Install additional modules
games-arcade/myman:internal - Use internal display engine. Instead of ncurses/slang
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-29 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-29 15:17 [gentoo-commits] proj/gamerlay:master commit in: media-libs/fmod/, profiles/ Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox