summaryrefslogtreecommitdiff
path: root/media-gfx/freewrl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /media-gfx/freewrl
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'media-gfx/freewrl')
-rw-r--r--media-gfx/freewrl/Manifest4
-rw-r--r--media-gfx/freewrl/freewrl-1.22.13-r5.ebuild141
-rw-r--r--media-gfx/freewrl/freewrl-2.3.3-r2.ebuild138
3 files changed, 0 insertions, 283 deletions
diff --git a/media-gfx/freewrl/Manifest b/media-gfx/freewrl/Manifest
index ce07cbf04ffb..50f61adcb787 100644
--- a/media-gfx/freewrl/Manifest
+++ b/media-gfx/freewrl/Manifest
@@ -3,11 +3,7 @@ AUX freewrl-1.22.13-fontconfig-match.patch 666 BLAKE2B 5e4a1e818214c3f4361d3a90c
AUX freewrl-1.22.13-java-fix.patch 1942 BLAKE2B 2358d7862f179f8c98babfb241fdc281a84eaf0073529f549f435bcbd363f0aad7d44027f221b3ea85109fa06721d7cacb7584d1aaefe4333dc982964b5c940d SHA512 e8224e249e28918e04117542c710b093f90e31666312c7b3f62444d68158832893cf81237c8d9c7677ac4e0b571c0a74457721f0778996a975fbdacffdebb82a
AUX freewrl-1.22.13-mozjs187-config.patch 486 BLAKE2B 4d130a4f8adc59ae97c83dd697d543b3fdd8bdd5c9b9e6253b8c1aa936648a9212e0a1d3c899bf5dd217579142e84714d1d783901e3aa61184122b2530e99fca SHA512 69985ba98ca8c12e59b6aba2fda004931778f138dfd90a45fd9a65027961401f6a377bfbc55f9fb2614ada5ac291922809dc87ea8ad7bdf93bdc78ddb3c3b298
AUX freewrl-2.3.3-ld.gold.patch 1120 BLAKE2B 86f6b8baf403b70b3fd346265b20bd39b76fcdeb9f953b8a653c1999c7f8ea0be1faed609ddb5a74c01f4536f7cfae8484815422a2fdfa21cb9debabc0dd9f3c SHA512 010369ab9ec5f03f3055594b88001deb14a58e3d69cd5f8312a7a25d34ec4bef81940d911a7c13aa8872c82fe66c14284d292a33e1629ab9dfe52cd9a4412e3b
-DIST freewrl-1.22.13.1.tar.bz2 1830305 BLAKE2B 6b4a777fa8afff1547282995fb21fdf84ba821133e81f7f6a63d93661a0c2c5e7971a3d0d3fee5ff670ed253157e8975cc758755fa4348f8458244dcbf9e6a86 SHA512 6e751835a256ce08d4099e5301c0702e28e5cae2e77d8a51ab38f6f0c08680f22a9ef25ef9d2bb860680fc8c1fc22cfebf14cfb14b50ee514b5ef76e71ab1192
-DIST freewrl-2.3.3.1.tar.gz 1731651 BLAKE2B 2ee197ee4633719dafd0eece94b852c21e5a7eddb0b32f6da38de5473b781a6205ef38ce57bd0df4eb25a8f91b7685a4e26e9911bc00fcb5efeaf3b61c4fdc15 SHA512 e205e8d11a3650ddf4f7dd089bdca36fc1879424c88392229ca8c0d532ebc4662f4f2e3bc491a0a1d6300e78c55cebbb57eeef2145a8c96c727c35dfb2a7d00a
DIST freewrl-3.0.0.tar.bz2 1567282 BLAKE2B 84bf924ce51d70aca0baa504dba0726af82b3d2ff93de87bd18ab772f6bdbcc50807a496c14264006894b6c52bfe9844e672412162f3df1107453fa1f8b066a3 SHA512 12e75c6891238fbc9c750a9449c8a6a9f4b86124ac12871adbfb3c68b7ef09f35d3709dcb63693e50f8ac824170aef3b97854a72de0b324e67fbbb7c081675a0
-EBUILD freewrl-1.22.13-r5.ebuild 4479 BLAKE2B b4db6b9254ab462d4dc3495e04408d066dae2ff0813c8d0d2d086e8b80299bf55b99be08a9dc8a0ef5d674f42ed0893ce245a6d40bb2f7c44e32a7e7400084d5 SHA512 33ffa5c86551c708663f56cec08d50351a8c1af2c7b2e19efe16fea09caac0e58feb206f81b85588163dba8e7eacd1043f9767364e323ce84ca12afc3fcda6ca
-EBUILD freewrl-2.3.3-r2.ebuild 4358 BLAKE2B 364e0702ef6d664ac25b10f06d6841c6e4128fa4c14fe288551fa289672cfdc02561b231468550b1c8b9e4b4bc8d2e942b09e5a952cdaccb211aaa3be2bbda27 SHA512 99a49d8d51cb37c7a462235506c2edcf02f27bef0f508f16e31fe9c2010f4339350bda9baaddba0aa1d438af649e242f865ca56dd50fd82015a8663c36965142
EBUILD freewrl-3.0.0-r1.ebuild 4430 BLAKE2B 7145155adf968a057b3ab817fe496fd8fa7e618e53996a27967d7937ecaa1c0f45e318e83d470d9bfc225aca797675a95f78160e07aa46afbb81e98750fd389b SHA512 0a02299bc0698e022b8eaca0aa6e9151cdb08b16155137d05a4404a467ef66ff04e0d1e0a22b86ad9d557a61210966b7a960f63c6cc478cc889b93e39f775c3a
EBUILD freewrl-9999.ebuild 4489 BLAKE2B 8d5f07f5fbb46894e75b62994794738dcf50fa2025eeddc5a0c5c4aada55169e15c2ae5ec90434ed8f96a4a12f1f0b20b1195eee7ffc4a391280f1b9842d56c6 SHA512 9d9dd93cdc9e6dae64d0bdb068b56fa2c6a0f478708be6e48aa771e10526b30c73ae039cc83fe3f62d00bab2571e60bb013ee796c7cd613c8b3c7fa8a7cc60dc
MISC metadata.xml 1431 BLAKE2B 85ddccbf801a54f7ff8956e7bd1bbb453ea4c79ff3cc56e52a46633416153be9b1af1ebc602ba36f07971bccecb679cc9933a023a7c7060495b86d1c9667a2cd SHA512 7290fb74f164cf5e520a024171f43d9edb4d31f09b9806a6939d5a3e1143cd2240dc1a3bea7d02ec18ee9351f6e3e27d7117b9289e0a5eaabdb42c5ed74c9d2a
diff --git a/media-gfx/freewrl/freewrl-1.22.13-r5.ebuild b/media-gfx/freewrl/freewrl-1.22.13-r5.ebuild
deleted file mode 100644
index 29ffb3ae4676..000000000000
--- a/media-gfx/freewrl/freewrl-1.22.13-r5.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools nsplugins eutils flag-o-matic java-pkg-opt-2 multilib
-
-DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
-HOMEPAGE="http://freewrl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freewrl/${P}.1.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl debug +glew java libeai motif +nsplugin osc +sox static-libs"
-
-COMMONDEPEND="x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libX11
- motif? ( x11-libs/motif:0= )
- !motif? ( x11-libs/libXaw )
- media-libs/mesa
- glew? ( media-libs/glew:0= )
- virtual/opengl
- 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 )
- 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 "${FILESDIR}"/${P}-fontconfig-match.patch
- if has_version ">=dev-lang/spidermonkey-1.8.7:0" ; then
- epatch "${FILESDIR}"/${P}-mozjs187-config.patch
- fi
- epatch "${FILESDIR}"/${P}-desktop.patch
- epatch "${FILESDIR}"/${P}-java-fix.patch
- epatch "${FILESDIR}"/${PN}-2.3.3-ld.gold.patch
- eautoreconf
-}
-
-src_configure() {
- local myconf="--enable-fontconfig
- --without-expat
- --with-x
- --with-imageconvert=/usr/bin/convert
- --with-unzip=/usr/bin/unzip"
- if use motif; then
- myconf+=" --with-target=motif --with-statusbar=standard"
- else
- myconf+=" --with-target=x11 --with-statusbar=hud"
- fi
- if use nsplugin; then
- myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
- myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
- fi
- if use sox; then
- myconf+=" --with-soundconv=/usr/bin/sox"
- fi
- # disable the checks for other js libs, in case they are installed
- if has_version ">=dev-lang/spidermonkey-1.8.5:0" ; then
- # spidermonkey-1.8.5 provides a .pc to pkg-config, it should be findable via mozjs185
- for x in mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js; do
- myconf+=" --disable-${x}"
- done
- else
- for x in mozjs187 mozjs185 mozilla-js xulrunner-js firefox-js seamonkey-js; do
- myconf+=" --disable-${x}"
- done
- # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
- 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 $(pkg-config --cflags nspr)"
- JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
- fi
- export JAVASCRIPT_ENGINE_CFLAGS
- export JAVASCRIPT_ENGINE_LIBS
- fi
- econf ${myconf} \
- $(use_enable curl libcurl) \
- $(use_with glew) \
- $(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)
-}
-
-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-2.3.3-r2.ebuild b/media-gfx/freewrl/freewrl-2.3.3-r2.ebuild
deleted file mode 100644
index 9a8ce5245a4d..000000000000
--- a/media-gfx/freewrl/freewrl-2.3.3-r2.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools nsplugins eutils flag-o-matic java-pkg-opt-2 multilib
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git"
- S="${WORKDIR}/${P}/freex3d"
- SRC_URI=
- KEYWORDS=
-else
- SRC_URI="mirror://sourceforge/freewrl/${P}.1.tar.gz"
- 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/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libX11
- motif? ( x11-libs/motif:0= )
- !motif? ( x11-libs/libXaw )
- media-libs/mesa
- virtual/opengl
- 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 "${FILESDIR}"/${P}-ld.gold.patch
- epatch_user
- 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
- ${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 $(pkg-config --cflags nspr)"
- JAVASCRIPT_ENGINE_LIBS="$(pkg-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
-}