summaryrefslogtreecommitdiff
path: root/sci-misc/cdfplayer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-misc/cdfplayer
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-misc/cdfplayer')
-rw-r--r--sci-misc/cdfplayer/Manifest6
-rw-r--r--sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild81
-rw-r--r--sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild81
-rw-r--r--sci-misc/cdfplayer/metadata.xml8
4 files changed, 176 insertions, 0 deletions
diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000000000000..76ea98334ab8
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1,6 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 13205dad6d3a57937b55f41d895e6eef5c7ebf1f416622226cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1 WHIRLPOOL 36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701 WHIRLPOOL 9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+EBUILD cdfplayer-10.4.0.ebuild 2135 SHA256 17e30c53f04fc60f6188bf22b8f5f161ee1cb463cf12bd2eb10d3ad02c623bee SHA512 e2e80d28a4904057b4d80514d9b157edd62b8c7538a30dcb6311ad385ec5d6eb23c530d831bad3a665d08eab9dd187f1f8639c666a65e04bfb0bd1f2349f0c1e WHIRLPOOL 06652ebf2283d755bd12c5992be7c54275aca5378113abe8a39b36d88aead4e2cbcb5de978603503003c573382c7fb0d7211c2051a46a598b71dd75677f77082
+EBUILD cdfplayer-11.0.1.ebuild 2135 SHA256 2cbe2f838edaf52d56e4fe6fd84564cdb301a208dae29c8fa71c5c3a3d5afd90 SHA512 8a33853c1680c9948473ace3fdbb4a296bb6c12b8939669ef735aedd0384c7d140f0413f84bab5d2a4c4fb82710f68d9128be554df5a7bd7843c52f2a67ab77b WHIRLPOOL 265aacd1f8a0d1347743629b31623739591ab4cc2469c1444202d022c4eca5882ca9a32b62fd03d77cdfcde82ffea1f51fa5336ed0a691f166de3e495d7e8b92
+MISC ChangeLog 467 SHA256 1dd0280f81ec39dee43b1e320c79fc03d3ae1259766311632501b055045cbd64 SHA512 37ed90b9ddcbcad7a77a134f91d42ba8916886e26429f3e6a9a2b622b359cb7a89689924743774d69c33b1b99ea7307311f652e83432fec2bceb2e04168e66b8 WHIRLPOOL a2b976636b2456eddfc7d11fa8d56659dbc773a390b81e30a0cd0c1cca389116b60127b3e104d2aa5eb266a2c7fb4170193a568cbea5fa7348f5f2fa20827e97
+MISC metadata.xml 260 SHA256 54d925b128111356e200a850d4827b8152a5a8dda5872a267760f5e5e2594308 SHA512 b6369aad1615446c9a4e1740a51a49d843868e114e49bc526e7b00cefdc795a601b9c508d866b065cc4ed750b85f48f136ee5925b9511a80f4056d7ef832eab2 WHIRLPOOL 3a28dd661032b374525a7d2309e989678cbb971daf710e52313f4d80d794b3cd3b81340fec53b9bc2d0415286a8dd3b239712d3b8cd4840a428d22768eff4eb7
diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000000000000..c8687b11278f
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format (CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/"
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcursor
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXt
+ media-libs/alsa-lib
+ dev-libs/expat
+ media-libs/fontconfig
+ dev-libs/icu
+ x11-libs/libxcb
+ dev-libs/libxml2
+ || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+ /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto "-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+ # move all over
+ mv "${S}/opt" "${D}/opt" || die
+
+ # the autogenerated symlinks point into sandbox, redo
+ rm "${D}/opt/bin/"* || die
+ dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer opt/bin/wolframcdfplayer
+ dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer opt/bin/WolframCDFPlayer
+
+ # fix some embedded paths and install desktop files
+ insinto /usr/share/applications
+ for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+ echo Fixing "${filename}"
+ sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+ echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+ doins "${filename}"
+ done
+}
+
+pkg_nofetch() {
+ einfo "Sadly Wolfram provides no permanent link to the player files."
+ einfo "Please download the Wolfram CFD Player installation file ${SRC_URI} from"
+ einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}
diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index 000000000000..561ed97e3815
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format (CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/"
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcursor
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXt
+ media-libs/alsa-lib
+ dev-libs/expat
+ media-libs/fontconfig
+ dev-libs/icu
+ x11-libs/libxcb
+ dev-libs/libxml2
+ || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+ /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto "-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+ # move all over
+ mv "${S}/opt" "${D}/opt" || die
+
+ # the autogenerated symlinks point into sandbox, redo
+ rm "${D}/opt/bin/"* || die
+ dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer opt/bin/wolframcdfplayer
+ dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer opt/bin/WolframCDFPlayer
+
+ # fix some embedded paths and install desktop files
+ insinto /usr/share/applications
+ for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+ echo Fixing "${filename}"
+ sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+ echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+ doins "${filename}"
+ done
+}
+
+pkg_nofetch() {
+ einfo "Sadly Wolfram provides no permanent link to the player files."
+ einfo "Please download the Wolfram CFD Player installation file ${SRC_URI} from"
+ einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}
diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000000000000..80a71f597854
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dilfridge@gentoo.org</email>
+ <name>Andreas K. Huettel</name>
+ </maintainer>
+</pkgmetadata>