summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-01-29 22:17:09 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-01-29 22:17:09 +0700
commit2400c3d305f1fe947e5f1629065403ebe1a658d8 (patch)
tree541b26ee6a1d4a6a1fbae7106ebdcd76b68f26cf
parentpuzzlemoppet: fix gentoo bug #607578 (diff)
downloadgamerlay-2400c3d305f1fe947e5f1629065403ebe1a658d8.tar.gz
gamerlay-2400c3d305f1fe947e5f1629065403ebe1a658d8.tar.bz2
gamerlay-2400c3d305f1fe947e5f1629065403ebe1a658d8.zip
use.local.desc: update useflags; fmod: added
-rw-r--r--media-libs/fmod/Manifest1
-rw-r--r--media-libs/fmod/fmod-4.44.50.ebuild107
-rw-r--r--media-libs/fmod/metadata.xml8
-rw-r--r--profiles/use.local.desc10
4 files changed, 126 insertions, 0 deletions
diff --git a/media-libs/fmod/Manifest b/media-libs/fmod/Manifest
new file mode 100644
index 0000000..198de20
--- /dev/null
+++ b/media-libs/fmod/Manifest
@@ -0,0 +1 @@
+DIST fmodapi44450linux.tar.gz 3240 SHA256 c726a5891de7c1316f502fe1eccef37015561e127efca03e3c1bcbd8ea2da029 SHA512 1e13f59f5bb6e617c2e0bbb90b64a5398e2a0699ad2921095c177591002e3ab07363e93e6e941ce2610569673e32a5cc4a7330759d12068e75ad97222d92ec69 WHIRLPOOL 20b025618265d30a156b73219bac175c1215ea53b88b5b53196a051b8ab1ed191b7b5e5eb1c2b89d4996e244092456f420029e62ac164aecdcb0a435af419fed
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