aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2020-02-09 20:04:41 +0000
committerPaul Healy <lmiphay@gmail.com>2020-02-09 20:04:41 +0000
commitaa95c3e17ac9027ae436ec1ed07a4cae5d86fea4 (patch)
tree9a8baa2980e68096fced10bc8bee5aa574697180
parentremove old ebuilds (diff)
downloadlmiphay-aa95c3e17ac9027ae436ec1ed07a4cae5d86fea4.tar.gz
lmiphay-aa95c3e17ac9027ae436ec1ed07a4cae5d86fea4.tar.bz2
lmiphay-aa95c3e17ac9027ae436ec1ed07a4cae5d86fea4.zip
add support for jp fonts
Signed-off-by: Paul Healy <lmiphay@gmail.com>
-rw-r--r--games-simulation/firestorm-bin/Manifest3
-rw-r--r--games-simulation/firestorm-bin/files/70firestorm-bin2
-rw-r--r--games-simulation/firestorm-bin/firestorm-bin-6.3.2-r2.ebuild92
3 files changed, 95 insertions, 2 deletions
diff --git a/games-simulation/firestorm-bin/Manifest b/games-simulation/firestorm-bin/Manifest
index 5e99c77..7eb3cad 100644
--- a/games-simulation/firestorm-bin/Manifest
+++ b/games-simulation/firestorm-bin/Manifest
@@ -1,5 +1,6 @@
-AUX 70firestorm-bin 38 BLAKE2B dbf0bdafdfd0fe0b636bb17569e33a8c3f16ae986fea36964bb1eaf9ef1470db7ff69a69db52473bd02626fd08056c03e9dee9cb395f8d42d00f6c8f74260e11 SHA512 e3a6d0a8565ed907e080b867356f402cf75802ac9f2c6e1bb088e220f9f1d759628c9617639fb06c5b6b4cd0178257675e679ab363eccc791d96aeceb8fa4026
+AUX 70firestorm-bin 89 BLAKE2B 311af0d74c0d15a8d5f02846c4ec8821516ad5a5d4ebcdc7fd5bf09d00cd57f0246d5dda9cfbbabd81c4843f4e0d1f89b894ad475ac3132677374820d3e5184c SHA512 036d2727fbe62cf8822ea3d0f56ff71759831f9d493f2d8fb4b737742860785aa2fb27e8195ecbe1d71423f6f392def1d1ca2469f14aa8e1c14cd5722a6bd522
DIST Phoenix_Firestorm-Releasex64_x86_64_6.3.2.58052.tar.xz 158113392 BLAKE2B eb908213f8f0be7309d3a845af33d380a55450d0d73eda287fe6ef6c180e8076a68840ddde4a1bf7d7f8f7e767eb2868a549b143fe97abcc6d280bb1090ebc73 SHA512 c87acf9974d12c8d2f63825256313f34d3ba9f78a5e44b03294ee0385f1e3762bee3123006cf302b9e93f604bd73839971785133e502672c25b8249044f3c96a
DIST Phoenix_Firestorm-releasex64_x86_64_6.2.4.57588.tar.xz 158081860 BLAKE2B 8c9dba2d6e541b028278247d14e2694d46677039579f1f70871945192ba6923fdce62c7a7e51131aaf8e65888cc449d7ecec8b1afa517f145a1be2019053df8a SHA512 8643868a5343d23f2a18a4dda66c674c8aca9b9704950911b4290ed80ff70f8f839f037d3b22e2aa6b335bebdd94153bdc78f4d7dee17847b3354be9e86f7350
EBUILD firestorm-bin-6.2.4-r2.ebuild 1703 BLAKE2B 7ebfd73441319b6fb7c915af4f5ad61ded3b9f984d79e49581c16fc42072c4c6260471afa876824ea09dc5d72f4b655681a41964ab21055bbbccdca29afc1476 SHA512 b36c462185e11a45567102b462a8fc09cd8f08d60b8c7b5abb56deee5659086d080292662931bfbae17a8a0bc58536704304d9d310f91f4e209772d1e67ba706
EBUILD firestorm-bin-6.3.2-r1.ebuild 1803 BLAKE2B cc92bba86a0fb339762721becdbe1a0c7c7c7e42b6f0abbf96c750f839b21d468901c7431ec5399f0969e09b05685de1a9d77ef02d2a1c52871768d749ae2aef SHA512 78dde06ecf8f216eecfc64e84f5c14fa1c7c28ee9633cd5d68a0b1fdceeb3cc15a95da72b663bc420c842920034031b56427b585c768ee6dd95e69df4d65f4aa
+EBUILD firestorm-bin-6.3.2-r2.ebuild 2271 BLAKE2B 9f6132fc529724072ed2e79f43e077401142e31b7c9ce10c5988a143205743de467f13168d02430e6310784d1cc6d2a88ce4486811d82f2fd27dc0d520d95fd4 SHA512 f2fa2eb5bea6179aae54f907c50b515df2f6987f4b3c462e0c6c70d981b1e4e420e46925de85d68d868300f606d7be3f7386338deb1f1e6ee6a0bef58b05dd05
diff --git a/games-simulation/firestorm-bin/files/70firestorm-bin b/games-simulation/firestorm-bin/files/70firestorm-bin
index e243ce0..a3b399d 100644
--- a/games-simulation/firestorm-bin/files/70firestorm-bin
+++ b/games-simulation/firestorm-bin/files/70firestorm-bin
@@ -1 +1 @@
-SEARCH_DIRS_MASK="/opt/firestorm-bin"
+SEARCH_DIRS_MASK="/opt/firestorm-bin /opt/firestorm-bin/bin/llplugin/vlc/plugins/access"
diff --git a/games-simulation/firestorm-bin/firestorm-bin-6.3.2-r2.ebuild b/games-simulation/firestorm-bin/firestorm-bin-6.3.2-r2.ebuild
new file mode 100644
index 0000000..e2f9de4
--- /dev/null
+++ b/games-simulation/firestorm-bin/firestorm-bin-6.3.2-r2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils desktop
+
+REVISION=58052
+
+DESCRIPTION="An open source metaverse viewer"
+HOMEPAGE="http://www.firestormviewer.org/"
+
+MY_P="Phoenix_Firestorm-Releasex64_x86_64_${PV}.${REVISION}"
+# SRC_URI="https://downloads.firestormviewer.org/preview/linux/${MY_P}.tar.xz"
+SRC_URI="http://downloads.firestormviewer.org/linux/${MY_P}.tar.xz"
+# http://downloads.firestormviewer.org/linux/Phoenix_Firestorm-Releasex64_x86_64_6.3.2.58052.tar.xz
+
+RESTRICT="mirror"
+
+LICENSE="GPL-2-with-Linden-Lab-FLOSS-exception"
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE=""
+
+INST_DIR="opt/firestorm-bin"
+QA_PREBUILT="${INST_DIR}/*"
+
+RDEPEND="
+ dev-libs/apr
+ dev-libs/apr-util
+ dev-libs/libgcrypt
+ dev-libs/libgpg-error
+ dev-libs/openssl
+ dev-libs/boost
+ media-fonts/kochi-substitute
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libogg
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/gstreamer
+ media-plugins/gst-plugins-meta
+ net-libs/gnutls
+ net-misc/curl
+ net-dns/c-ares
+ sys-apps/dbus
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/pangox-compat
+"
+DEPEND="${RDEPEND}
+ app-admin/chrpath
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # use the system libraries for these
+ rm lib/libSDL-1.2.so.0* lib/libfontconfig.so.1* lib/libpangox-1.0.so* || die
+
+ # shouldn't need to null RPATH with chrpath - but scanelf
+ # reports 'Security problem NULL DT_RPATH' otherwise
+ chrpath -r '' lib/libffi.so.5.0.10
+ scanelf -Xr lib/libffi.so.5.0.10
+ chrpath -r '' lib/libalut.so.0.0.0
+ scanelf -Xr lib/libalut.so.0.0.0
+
+ eapply_user
+}
+
+src_install() {
+ mkdir -p "${D}/${INST_DIR}/"
+ cp -a . "${D}/${INST_DIR}/" || die
+ dosym /${INST_DIR}/firestorm /usr/bin/firestorm-bin
+
+ insinto /etc/revdep-rebuild
+ doins "${FILESDIR}"/70${PN}
+
+ make_desktop_entry firestorm-bin "Phoenix Firestorm Viewer (bin)" /${INST_DIR}/firestorm_icon.png
+
+ # a hardwired fallback font in LLWindowSDL::getDynamicFallbackFontList
+ mkdir -p "${D}/usr/share/fonts/truetype/kochi/"
+ dosym /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf \
+ /usr/share/fonts/truetype/kochi/kochi-gothic.ttf
+}