1 |
commit: 2400c3d305f1fe947e5f1629065403ebe1a658d8 |
2 |
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name> |
3 |
AuthorDate: Sun Jan 29 15:17:09 2017 +0000 |
4 |
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
5 |
CommitDate: Sun Jan 29 15:17:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=2400c3d3 |
7 |
|
8 |
use.local.desc: update useflags; fmod: added |
9 |
|
10 |
media-libs/fmod/fmod-4.44.50.ebuild | 107 ++++++++++++++++++++++++++++++++++++ |
11 |
media-libs/fmod/metadata.xml | 8 +++ |
12 |
profiles/use.local.desc | 10 ++++ |
13 |
3 files changed, 125 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/fmod/fmod-4.44.50.ebuild b/media-libs/fmod/fmod-4.44.50.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..bf57c7d |
18 |
--- /dev/null |
19 |
+++ b/media-libs/fmod/fmod-4.44.50.ebuild |
20 |
@@ -0,0 +1,107 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit versionator multilib-minimal |
27 |
+ |
28 |
+MY_P=fmodapi$(delete_all_version_separators)linux |
29 |
+ |
30 |
+DESCRIPTION="music and sound effects library, and a sound processing system" |
31 |
+HOMEPAGE="http://www.fmod.org" |
32 |
+SRC_URI="http://www.fmod.org/download/fmodex/api/Linux/${MY_P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD BSD-2 fmod" |
35 |
+SLOT="1" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="designer examples tools" |
38 |
+ |
39 |
+RESTRICT="strip test" |
40 |
+ |
41 |
+QA_FLAGS_IGNORED="opt/fmodex/tools/fsbanklib/.*" |
42 |
+QA_PREBUILT="opt/fmodex/fmoddesignerapi/api/lib/* |
43 |
+ opt/fmodex/api/lib/*" |
44 |
+QA_TEXTRELS="opt/fmodex/fmoddesignerapi/api/lib/* |
45 |
+ opt/fmodex/api/lib/*" |
46 |
+ |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+multilib_src_compile() { |
50 |
+ if use examples; then |
51 |
+ if use amd64; then |
52 |
+ emake -j1 fmod_examples CPU=x64 |
53 |
+ elif use x86; then |
54 |
+ emake -j1 fmod_examples CPU=x86 |
55 |
+ fi |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
+multilib_src_install() { |
60 |
+ local ldpath="/opt/fmodex/api/lib" |
61 |
+ |
62 |
+ dodir /opt/fmodex |
63 |
+ |
64 |
+ if ! use x86; then |
65 |
+ rm api/lib/libfmodex-${PV}.so |
66 |
+ rm api/lib/libfmodex.so |
67 |
+ rm api/lib/libfmodexL-${PV}.so |
68 |
+ rm api/lib/libfmodexL.so |
69 |
+ rm fmoddesignerapi/api/lib/libfmodevent-${PV}.so |
70 |
+ rm fmoddesignerapi/api/lib/libfmodevent.so |
71 |
+ rm fmoddesignerapi/api/lib/libfmodeventL-${PV}.so |
72 |
+ rm fmoddesignerapi/api/lib/libfmodeventL.so |
73 |
+ rm fmoddesignerapi/api/lib/libfmodeventnet-${PV}.so |
74 |
+ rm fmoddesignerapi/api/lib/libfmodeventnet.so |
75 |
+ rm fmoddesignerapi/api/lib/libfmodeventnetL-${PV}.so |
76 |
+ rm fmoddesignerapi/api/lib/libfmodeventnetL.so |
77 |
+ rm tools/fsbanklib/celt_encoder.so |
78 |
+ rm tools/fsbanklib/libfsbankex.a |
79 |
+ rm tools/fsbanklib/libmp3lame.so |
80 |
+ rm tools/fsbanklib/twolame.so |
81 |
+ fi |
82 |
+ if ! use amd64; then |
83 |
+ rm api/lib/*64* |
84 |
+ rm fmoddesignerapi/api/lib/*64* |
85 |
+ rm tools/fsbanklib/*64* |
86 |
+ fi |
87 |
+ |
88 |
+ cp -dpR api "${D}"/opt/fmodex || die |
89 |
+ |
90 |
+ rm -rf "${D}"/opt/fmodex/{documentation,fmoddesignerapi/*.TXT} |
91 |
+ |
92 |
+ if use designer; then |
93 |
+ ldpath="${ldpath}:/opt/fmodex/fmoddesignerapi/api/lib" |
94 |
+ |
95 |
+ if ! use examples; then |
96 |
+ rm -r fmoddesignerapi/examples |
97 |
+ fi |
98 |
+ |
99 |
+ cp -dpR fmoddesignerapi "${D}"/opt/fmodex || die |
100 |
+ |
101 |
+ dosym /opt/fmodex/fmoddesignerapi/api/inc /usr/include/fmoddesigner || die |
102 |
+ |
103 |
+ dodoc fmoddesignerapi/*.TXT |
104 |
+ fi |
105 |
+ |
106 |
+ if use examples; then |
107 |
+ cp -dpR examples "${D}"/opt/fmodex || die |
108 |
+ fi |
109 |
+ |
110 |
+ if use tools; then |
111 |
+ cp -dpR tools "${D}"/opt/fmodex || die |
112 |
+ fi |
113 |
+ |
114 |
+ dosym /opt/fmodex/api/inc /usr/include/fmodex || die |
115 |
+ |
116 |
+ docinto /usr/share/doc/${PF}/pdf |
117 |
+ dodoc documentation/*.pdf |
118 |
+ |
119 |
+ docinto /usr/share/doc/${PF}/chm |
120 |
+ dodoc documentation/*.chm |
121 |
+ |
122 |
+ dodoc documentation/*.txt |
123 |
+ |
124 |
+ echo "LDPATH=\"$ldpath\"" > ${T}/65fmodex |
125 |
+ |
126 |
+ doenvd "${T}"/65fmodex |
127 |
+} |
128 |
|
129 |
diff --git a/media-libs/fmod/metadata.xml b/media-libs/fmod/metadata.xml |
130 |
new file mode 100644 |
131 |
index 0000000..c870d0e |
132 |
--- /dev/null |
133 |
+++ b/media-libs/fmod/metadata.xml |
134 |
@@ -0,0 +1,8 @@ |
135 |
+<?xml version="1.0" encoding="UTF-8"?> |
136 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
137 |
+<pkgmetadata> |
138 |
+<maintainer type="project"> |
139 |
+ <email>sound@g.o</email> |
140 |
+ <name>Gentoo Sound project</name> |
141 |
+</maintainer> |
142 |
+</pkgmetadata> |
143 |
|
144 |
diff --git a/profiles/use.local.desc b/profiles/use.local.desc |
145 |
index 454a566..14ce98f 100644 |
146 |
--- a/profiles/use.local.desc |
147 |
+++ b/profiles/use.local.desc |
148 |
@@ -2,6 +2,7 @@ |
149 |
# your descriptions to your package's metadata.xml ONLY. |
150 |
# * generated automatically using egencache * |
151 |
|
152 |
+dev-db/mariadb-connector-c:mysqlcompat - Enable mysqlclient library symbolic links |
153 |
dev-games/aseprite:bundled-libs - Use the upstream provided bundled version of allegro 4.4.2 |
154 |
dev-games/aseprite:gtk3 - Enable support for the experimental native GTK File Dialog |
155 |
dev-games/aseprite:webp - Enable webp image format support |
156 |
@@ -34,6 +35,15 @@ games-action/d2x-rebirth:linguas_de - Provides German translations for the game' |
157 |
games-action/d2x-rebirth:music - Adds music support |
158 |
games-action/d2x-rebirth:opl3-musicpack - Include alternate version of the game's music, recorded with the Yamaha YMF262 OPL3 soundchip |
159 |
games-action/d2x-rebirth:sc55-musicpack - Include alternate version of the game's music, recorded with the Roland Sound Canvas SC-55 MIDI module |
160 |
+games-action/dxx-rebirth:data - Install data files |
161 |
+games-action/dxx-rebirth:descent1 - Install Descent 1 resources and executable |
162 |
+games-action/dxx-rebirth:descent2 - Install Descent 2 resources and executable |
163 |
+games-action/dxx-rebirth:doc - Install documentation files (README.txt, INSTALL.txt, etc) |
164 |
+games-action/dxx-rebirth:l10n_de - Provides German translations for the game's briefings, robot descriptions, and outro of the original campaign |
165 |
+games-action/dxx-rebirth:music - Adds music support |
166 |
+games-action/dxx-rebirth:opl3-musicpack - Include alternate version of the game's music, recorded with the Yamaha YMF262 OPL3 soundchip |
167 |
+games-action/dxx-rebirth:sc55-musicpack - Include alternate version of the game's music, recorded with the Roland Sound Canvas SC-55 MIDI module |
168 |
+games-action/dxx-rebirth:textures - Include high resolution (640x480) backgrounds, briefing images and fonts (Descent 1) |
169 |
games-arcade/fretsonfire:guitarhero - Enable Guitar Hero song importer |
170 |
games-arcade/frogatto:extras - Install additional modules |
171 |
games-arcade/myman:internal - Use internal display engine. Instead of ncurses/slang |