summaryrefslogtreecommitdiff
path: root/media-gfx/freewrl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /media-gfx/freewrl
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'media-gfx/freewrl')
-rw-r--r--media-gfx/freewrl/Manifest5
-rw-r--r--media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch11
-rw-r--r--media-gfx/freewrl/freewrl-3.0.0-r1.ebuild143
-rw-r--r--media-gfx/freewrl/freewrl-9999.ebuild144
-rw-r--r--media-gfx/freewrl/metadata.xml23
5 files changed, 0 insertions, 326 deletions
diff --git a/media-gfx/freewrl/Manifest b/media-gfx/freewrl/Manifest
deleted file mode 100644
index 1563e850ae2f..000000000000
--- a/media-gfx/freewrl/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX freewrl-3.0.0-fno-common.patch 223 BLAKE2B 007d3fcb08acc5da859d28564e54558394a3f5fd23c1662e9d39e3c6d50c03cc5b024f7e4b72cdd6000249a67250a5c70e070c85d7e4f26e312e97a0895df54b SHA512 538bb6a1afdf7103e6ecc01dbd7005e33c14c01437f9c3666e1749bba8612c7cdb998bb4fb4e8d9e22663be97dfa991ac68a3e269c0817d71df8da54a5e417af
-DIST freewrl-3.0.0.tar.bz2 1567282 BLAKE2B 84bf924ce51d70aca0baa504dba0726af82b3d2ff93de87bd18ab772f6bdbcc50807a496c14264006894b6c52bfe9844e672412162f3df1107453fa1f8b066a3 SHA512 12e75c6891238fbc9c750a9449c8a6a9f4b86124ac12871adbfb3c68b7ef09f35d3709dcb63693e50f8ac824170aef3b97854a72de0b324e67fbbb7c081675a0
-EBUILD freewrl-3.0.0-r1.ebuild 4476 BLAKE2B 80bd01f1a801d177fb4db154611037dc51e05809ae47d139936dbc74f9f53a60a5d5f56704a2222df8ac71b9621113bf1e1bfe7f4b2bea6555217d99032a6275 SHA512 3dab57e3c992fffbb27a70f87ff762330077579952e7d3dd36a2b1db56405213c8423013ea8f4054e5588208c449213f547488349f16335d16b100c188885fd3
-EBUILD freewrl-9999.ebuild 4490 BLAKE2B a3d0c2830ef600d27162fc568dfe54a41c708e6675e5ad9387c884d7f83fb615b7c19b4e7ece397558b000a1fd8e7333ec44f576f6a664db3564c6d9d65beb3a SHA512 1c7ba90270113d7ba20b5e1f919bd008d5a1da91158cee7d3667238c288090d02ff274a68d0aa2691ca7439914cd09c336d807c932cff5b687c9d0ab9dcf74a4
-MISC metadata.xml 1302 BLAKE2B eb8522dbaadd9c9ebc8d3b5e03072fc7b57f6d87046f52104985a5e0e8f40669b53906921286d1d2c79e393853cac4c88f5a351c7bd0c38e3b9905308c0a890e SHA512 f7581007975722b3d16cf349c55ab67b5cf92a47316399adefb38a9413669f544c9fa5cc922f02f5a7473d4570d884d561dc8ef397347eca80494964f2f4faf0
diff --git a/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch b/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
deleted file mode 100644
index e3fbc2d736e5..000000000000
--- a/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/lib/desktop.c
-+++ b/src/lib/desktop.c
-@@ -233,7 +233,7 @@ enum {
- url2file_task_spawn,
- } url2file_task_tactic;
-
--enum {
-+typedef enum {
- file2blob_task_chain,
- file2blob_task_spawn,
- file2blob_task_enqueue,
diff --git a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild b/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
deleted file mode 100644
index 545457a35528..000000000000
--- a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools nsplugins epatch java-pkg-opt-2 multilib toolchain-funcs
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git"
- S="${WORKDIR}/${P}/freex3d"
-else
- SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
-HOMEPAGE="http://freewrl.sourceforge.net/"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="curl debug java libeai motif +nsplugin opencl osc +sox static-libs"
-
-COMMONDEPEND="x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- x11-libs/libXxf86vm
- motif? ( x11-libs/motif:0= )
- !motif? ( x11-libs/libXaw )
- media-libs/mesa
- virtual/opengl
- media-libs/freealut
- media-libs/openal
- media-libs/libpng:0=
- virtual/jpeg:0=
- media-libs/imlib2
- >=media-libs/freetype-2
- media-libs/fontconfig
- curl? ( net-misc/curl )
- osc? ( media-libs/liblo )
- opencl? ( virtual/opencl )
- dev-lang/spidermonkey:0="
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
- java? ( >=virtual/jdk-1.4 )
- nsplugin? ( net-misc/npapi-sdk )"
-RDEPEND="${COMMONDEPEND}
- media-fonts/dejavu
- app-arch/unzip
- virtual/imagemagick-tools
- java? ( >=virtual/jre-1.4 )
- sox? ( media-sound/sox )"
-
-src_prepare() {
- epatch_user
- epatch "${FILESDIR}"/${P}-fno-common.patch
- eautoreconf
-}
-
-src_configure() {
- # list of js libs without .pc support, to disable ./configure auto-checking
- local spidermonkeys=( mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js )
- # list of .pc supported spidermonkeys, to disable ./configure auto-checking
- local spidermonkeys_pc=( mozjs187 mozjs185 )
-
- local myconf="--enable-fontconfig
- --without-expat
- --with-x
- --with-imageconvert=/usr/bin/convert
- --with-unzip=/usr/bin/unzip
- --disable-mozjs-17.0
- ${spidermonkeys[@]/#/ --disable-}"
-
- if has_version "<dev-lang/spidermonkey-1.8.5" ; then
- # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
- myconf+="${spidermonkeys_pc[@]/#/ --disable-}"
- JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX"
- if has_version ">=dev-lang/spidermonkey-1.8:0" ; then
- # spidermonkey-1.8 changed the name of the lib
- JAVASCRIPT_ENGINE_LIBS="-lmozjs"
- else
- JAVASCRIPT_ENGINE_LIBS="-ljs"
- fi
- if has_version "dev-lang/spidermonkey:0[threadsafe]" ; then
- JAVASCRIPT_ENGINE_CFLAGS+=" -DJS_THREADSAFE $($(tc-getPKG_CONFIG) --cflags nspr)"
- JAVASCRIPT_ENGINE_LIBS="$($(tc-getPKG_CONFIG) --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
- fi
- export JAVASCRIPT_ENGINE_CFLAGS
- export JAVASCRIPT_ENGINE_LIBS
- fi
- if use nsplugin; then
- myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
- myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
- fi
- econf ${myconf} \
- $(use_enable curl libcurl) \
- $(use_with opencl OpenCL) \
- $(use_enable debug) $(use_enable debug thread_colorized) \
- $(use_enable libeai) \
- $(use_enable java) \
- $(use_enable nsplugin plugin) \
- $(use_enable osc) \
- $(use_enable static-libs static) \
- $(use_enable sox sound) \
- $(usex sox "--with-soundconv=/usr/bin/sox") \
- $(usex motif "--with-target=motif" "--with-target=x11") \
- $(usex motif "--with-statusbar=standard" "--with-statusbar=hud")
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- if use java; then
- insinto /usr/share/${PN}/lib
- doins src/java/java.policy
- java-pkg_regjar src/java/vrml.jar
- # install vrml.jar as a JRE extension
- dodir /usr/java/packages/lib/ext
- dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar
- if ! has_version "media-gfx/freewrl[java]" ; then
- elog "Because vrml.jar requires access to sockets, you will need to incorporate the"
- elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default"
- elog "java policy:"
- elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy"
- fi
- fi
-
- # remove unneeded .la files (as per Flameeyes' rant)
- cd "${D}"
- rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "By default, FreeWRL expects to find the 'firefox' binary in your include"
- elog "path. If you do not have firefox installed or you wish to use a different"
- elog "web browser to open links that are within VRML / X3D files, please be sure to"
- elog "specify the command via your BROWSER environment variable."
- fi
-}
diff --git a/media-gfx/freewrl/freewrl-9999.ebuild b/media-gfx/freewrl/freewrl-9999.ebuild
deleted file mode 100644
index 3e3d9594c1e4..000000000000
--- a/media-gfx/freewrl/freewrl-9999.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools nsplugins epatch java-pkg-opt-2 multilib toolchain-funcs
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.code.sf.net/p/freewrl/git"
- EGIT_BRANCH="develop"
- S="${WORKDIR}/${P}/freex3d"
-else
- SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
-HOMEPAGE="http://freewrl.sourceforge.net/"
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="curl debug java libeai motif +nsplugin opencl osc rbp +sox static-libs"
-
-COMMONDEPEND="x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- x11-libs/libXxf86vm
- motif? ( x11-libs/motif:0= )
- !motif? ( x11-libs/libXaw )
- media-libs/mesa
- virtual/opengl
- media-libs/freealut
- media-libs/openal
- media-libs/libpng:0=
- virtual/jpeg:0=
- media-libs/imlib2
- >=media-libs/freetype-2
- media-libs/fontconfig
- curl? ( net-misc/curl )
- osc? ( media-libs/liblo )
- opencl? ( virtual/opencl )
- rbp? ( dev-games/ode:0=[double-precision] )
- dev-lang/spidermonkey:0="
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
- java? ( >=virtual/jdk-1.4 )
- nsplugin? ( net-misc/npapi-sdk )"
-RDEPEND="${COMMONDEPEND}
- media-fonts/dejavu
- app-arch/unzip
- virtual/imagemagick-tools
- java? ( >=virtual/jre-1.4 )
- sox? ( media-sound/sox )"
-
-src_prepare() {
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- # list of js libs without .pc support, to disable ./configure auto-checking
- local spidermonkeys=( mozilla-js )
- # list of .pc supported spidermonkeys, to disable ./configure auto-checking
- local spidermonkeys_pc=( mozjs187 mozjs185 )
-
- local myconf="--enable-fontconfig
- --without-expat
- --with-x
- --with-imageconvert=/usr/bin/convert
- --with-unzip=/usr/bin/unzip
- --with-javascript=spidermonkey
- ${spidermonkeys[@]/#/ --disable-}"
-
- if has_version "<dev-lang/spidermonkey-1.8.5:0" ; then
- # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
- myconf+="${spidermonkeys_pc[@]/#/ --disable-}"
- JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX"
- if has_version ">=dev-lang/spidermonkey-1.8:0" ; then
- # spidermonkey-1.8 changed the name of the lib
- JAVASCRIPT_ENGINE_LIBS="-lmozjs"
- else
- JAVASCRIPT_ENGINE_LIBS="-ljs"
- fi
- if has_version "dev-lang/spidermonkey:0[threadsafe]" ; then
- JAVASCRIPT_ENGINE_CFLAGS+=" -DJS_THREADSAFE $($(tc-getPKG_CONFIG) --cflags nspr)"
- JAVASCRIPT_ENGINE_LIBS="$($(tc-getPKG_CONFIG) --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
- fi
- export JAVASCRIPT_ENGINE_CFLAGS
- export JAVASCRIPT_ENGINE_LIBS
- fi
- if use nsplugin; then
- myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
- myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
- fi
- econf ${myconf} \
- $(use_enable curl libcurl) \
- $(use_with opencl OpenCL) \
- $(use_enable debug) $(use_enable debug thread_colorized) \
- $(use_enable libeai) \
- $(use_enable java) \
- $(use_enable nsplugin plugin) \
- $(use_enable osc) \
- $(use_enable rbp) \
- $(use_enable static-libs static) \
- $(use_enable sox sound) \
- $(usex sox "--with-soundconv=/usr/bin/sox") \
- $(usex motif "--with-target=motif" "--with-target=x11") \
- $(usex motif "--with-statusbar=standard" "--with-statusbar=hud")
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- if use java; then
- insinto /usr/share/${PN}/lib
- doins src/java/java.policy
- java-pkg_regjar src/java/vrml.jar
- # install vrml.jar as a JRE extension
- dodir /usr/java/packages/lib/ext
- dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar
- if ! has_version "media-gfx/freewrl[java]" ; then
- elog "Because vrml.jar requires access to sockets, you will need to incorporate the"
- elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default"
- elog "java policy:"
- elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy"
- fi
- fi
-
- # remove unneeded .la files (as per Flameeyes' rant)
- cd "${D}"
- rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "By default, FreeWRL expects to find the 'firefox' binary in your include"
- elog "path. If you do not have firefox installed or you wish to use a different"
- elog "web browser to open links that are within VRML / X3D files, please be sure to"
- elog "specify the command via your BROWSER environment variable."
- fi
-}
diff --git a/media-gfx/freewrl/metadata.xml b/media-gfx/freewrl/metadata.xml
deleted file mode 100644
index 46c0887e1b14..000000000000
--- a/media-gfx/freewrl/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
-FreeWRL is a VRML97 (VRML-2.0) and X3D interactive viewer, providing both a traditional Xorg application
-and a nsbrowser plugin for use with many available web browsers. The package depends heavily on OpenGL
-support for rendering. When developing your 3D world or model, you can program with GLSL Shaders using the
-X3D Shaders Component, put your model exactly where you want them with the Geospatial Component, or just
-throw triangles to the screen as Extrusions, IndexedFaceSets, TriangleSets, Circle2D, Disk2D, Spheres, Boxes,
-Cubes; the list goes on and on. With royalty free open standards, your models will continue to render, year after year.
-</longdescription>
- <use>
- <flag name="libeai">Build EAI C library</flag>
- <flag name="opencl">Enable OpenCL support</flag>
- <flag name="osc">Allows for OSC-based control and communication between multiple freewrl instances</flag>
- <flag name="rbp">Enable support for Rigid Body Physics</flag>
- <flag name="java">Build and install java EAI/SAI support library</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">freewrl</remote-id>
- </upstream>
-</pkgmetadata>