aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2024-07-29 09:41:54 +0100
committerPaul Healy <lmiphay@gmail.com>2024-07-29 09:41:54 +0100
commit9dde07c6bca74b2e77e6582a022e30d7aedb7691 (patch)
treeacb3f236ed8d49e9f7b87c4f334a4340341d01e4
parentadd arm64 kyeword (diff)
downloadlmiphay-9dde07c6bca74b2e77e6582a022e30d7aedb7691.tar.gz
lmiphay-9dde07c6bca74b2e77e6582a022e30d7aedb7691.tar.bz2
lmiphay-9dde07c6bca74b2e77e6582a022e30d7aedb7691.zip
add ebuild for fs alpha channel
Signed-off-by: Paul Healy <lmiphay@gmail.com>
-rw-r--r--games-simulation/firestorm-alpha-bin/Manifest6
-rw-r--r--games-simulation/firestorm-alpha-bin/files/70firestorm-alpha-bin1
-rw-r--r--games-simulation/firestorm-alpha-bin/files/add-unifont-upper-font.patch10
-rw-r--r--games-simulation/firestorm-alpha-bin/files/add-unifonts.patch11
-rw-r--r--games-simulation/firestorm-alpha-bin/firestorm-alpha-bin-7.1.9.ebuild99
-rw-r--r--games-simulation/firestorm-alpha-bin/metadata.xml8
6 files changed, 135 insertions, 0 deletions
diff --git a/games-simulation/firestorm-alpha-bin/Manifest b/games-simulation/firestorm-alpha-bin/Manifest
new file mode 100644
index 0000000..afa23ba
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/Manifest
@@ -0,0 +1,6 @@
+AUX 70firestorm-alpha-bin 101 BLAKE2B 8e729bbac068a19e961e6f24b6007a300b8c94d6649f2fc714b39fa2524052ecf872f30562fbb1be5c83d6eda3ae96a4db2e63f83186060fbedc0edee89e5c84 SHA512 7906903278168183b6f6b98ff2473bf7032b843ee13bd74c8c7e4ad5ba45d41e39205846c395127ddfcdaecf8cdd118f2c59c3823a21391a0cbb5d820893fbe7
+AUX add-unifont-upper-font.patch 317 BLAKE2B 6f2551e5fe986d667cfa46813c6cc00b34987a36fd9e95432a59bced0449a5bcc61e0d482e27e2330e6134ae65748a8123e12d39b8c28370089f8c51e9d7062c SHA512 3d7eff4b9725ff2b4d03b22af240ee4636314a2529dd95c43573e22656beca6e5bb4a457ed04174a874cc0100bee7a609fa56a15498c2c3ce7e5e62b62af812e
+AUX add-unifonts.patch 372 BLAKE2B bf7d63bab95d3680dab5405607fd5bb9f5bf59ac842a5e73d0f07e7619ec4c24ead612678a2099d58c7604743c6eea37d53550d07c989e7cb8662c94f56bbfb2 SHA512 1aec5da1306361e2bdb89357855eda9474b04d7cab41abc17ac605b89c00c9567fe3d7ffa2ee7365a39b264f175168b3d60ac28b20aec6d019459ac5135a782d
+DIST Phoenix-Firestorm-Alphax64-7-1-9-75657.tar.xz 200665252 BLAKE2B 2b9f1eea9065b052626b9f88f3808ff126f145df1d189cd4297131e249b1f85c7390f3531bbbcf2991815f8ba0f8c3d97f22df7566572a4dd37a080111a16c2b SHA512 7dfb5811ec37ecde4d6bf672e0af5c777e8b38c7d9966effe2277e51ffce86372f9d60250f835666b0e7a97634247bec166d4e974d61ceda3ec831a599a8d63e
+EBUILD firestorm-alpha-bin-7.1.9.ebuild 2255 BLAKE2B 74a68e38b009351d0c235e4e3f0d82b7647c525eb2d1a318a6179646160e3fa6ba9698bad72e915962a8a3d96065f3455cdfd6e21a6730411887c1164f972d96 SHA512 79b1f9b27dc2ad1fe7f669a99cdee141b49c56ddb58134b9776d1669d960e832a2db6247ea97f493a52b4e26b6d03b8431181c395b51211aa281ef3cba73d6cb
+MISC metadata.xml 244 BLAKE2B 1e96c55426eda70cc7e1e10ae77ae0b8a8c3a6e80686c513dcf68b04cf72f271fb20a49e9c37943906e41709c9a0a17acde4d791d781acaf6558f09fbf961528 SHA512 00a32654165846019e357c79f353ea47a868d0e15d5b2ed37e87c3e809845aedf754924f83d5d1df8f2ed955979c8582cf70bf470e388fb0bdf578e39fd29d28
diff --git a/games-simulation/firestorm-alpha-bin/files/70firestorm-alpha-bin b/games-simulation/firestorm-alpha-bin/files/70firestorm-alpha-bin
new file mode 100644
index 0000000..06a9c4b
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/files/70firestorm-alpha-bin
@@ -0,0 +1 @@
+SEARCH_DIRS_MASK="/opt/firestorm-alpha-bin /opt/firestorm-alpha-bin/bin/llplugin/vlc/plugins/access"
diff --git a/games-simulation/firestorm-alpha-bin/files/add-unifont-upper-font.patch b/games-simulation/firestorm-alpha-bin/files/add-unifont-upper-font.patch
new file mode 100644
index 0000000..6f076d9
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/files/add-unifont-upper-font.patch
@@ -0,0 +1,10 @@
+--- a/fonts/fonts.xml
++++ b/fonts/fonts.xml
+@@ -3,6 +3,7 @@
+
+ <font name="default" comment="default font files (global fallbacks)">
+ <file>DejaVuSans.ttf</file>
++ <file>/usr/share/fonts/unifont/unifont_upper.ttf</file>
+ <os name="Windows">
+ <file>meiryo.TTC</file>
+ <file>YuGothR.ttc</file>
diff --git a/games-simulation/firestorm-alpha-bin/files/add-unifonts.patch b/games-simulation/firestorm-alpha-bin/files/add-unifonts.patch
new file mode 100644
index 0000000..0053cb9
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/files/add-unifonts.patch
@@ -0,0 +1,11 @@
+--- a/fonts/fonts.xml
++++ b/fonts/fonts.xml
+@@ -3,6 +3,8 @@
+
+ <font name="default" comment="default font files (global fallbacks)">
+ <file>DejaVuSans.ttf</file>
++ <file>/usr/share/fonts/unifont/unifont_upper.ttf</file>
++ <file>/usr/share/fonts/unifont/unifont.ttf</file>
+ <os name="Windows">
+ <file>meiryo.TTC</file>
+ <file>YuGothR.ttc</file>
diff --git a/games-simulation/firestorm-alpha-bin/firestorm-alpha-bin-7.1.9.ebuild b/games-simulation/firestorm-alpha-bin/firestorm-alpha-bin-7.1.9.ebuild
new file mode 100644
index 0000000..ee38014
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/firestorm-alpha-bin-7.1.9.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop font
+
+REVISION=75657
+
+DESCRIPTION="An open source metaverse viewer"
+HOMEPAGE="http://www.firestormviewer.org/"
+
+MY_PV=$(ver_cut 1-3)
+MY_PV=${MY_PV//\./-}
+MY_P="Phoenix-Firestorm-Alphax64-${MY_PV}-${REVISION}"
+SRC_URI="
+ https://downloads.firestormviewer.org/test/linux/${MY_P}.tar.xz
+"
+# https://downloads.firestormviewer.org/test/linux/Phoenix-Firestorm-Alphax64-7-1-9-75657.tar.xz
+
+RESTRICT="mirror"
+
+LICENSE="GPL-2-with-Linden-Lab-FLOSS-exception"
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE=""
+
+INST_DIR="opt/firestorm-alpha-bin"
+QA_PREBUILT="${INST_DIR}/*"
+
+RDEPEND="
+ app-crypt/libmd
+ dev-libs/libbsd
+ dev-libs/libgcrypt
+ dev-libs/libgpg-error
+ dev-libs/openssl
+ dev-libs/boost
+ media-fonts/kochi-substitute
+ media-fonts/unifont
+ media-libs/freetype
+ media-libs/gstreamer
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/opus
+ 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/libcrypt
+ virtual/opengl
+ x11-libs/libxcb
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXinerama
+"
+DEPEND="${RDEPEND}
+ app-admin/chrpath
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # 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
+ chrpath -r '' bin/dullahan_host
+ scanelf -Xr bin/dullahan_host
+
+ eapply "${FILESDIR}/add-unifonts.patch"
+
+ eapply_user
+}
+
+src_install() {
+ mkdir -p "${D}/${INST_DIR}/"
+
+ cp -a . "${D}/${INST_DIR}/" || die
+
+ dosym /${INST_DIR}/firestorm /usr/bin/firestorm-alpha-bin
+
+ insinto /etc/revdep-rebuild
+ doins "${FILESDIR}"/70${PN}
+
+ make_desktop_entry firestorm-alpha-bin "Phoenix Firestorm Viewer ALPHA (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
+}
diff --git a/games-simulation/firestorm-alpha-bin/metadata.xml b/games-simulation/firestorm-alpha-bin/metadata.xml
new file mode 100644
index 0000000..07ac2eb
--- /dev/null
+++ b/games-simulation/firestorm-alpha-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lmiphay@gmail.com</email>
+ <name>Paul Healy</name>
+ </maintainer>
+</pkgmetadata>