From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C742D59CAF for ; Sat, 9 Apr 2016 21:03:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0602821C00C; Sat, 9 Apr 2016 21:03:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9445421C01F for ; Sat, 9 Apr 2016 21:02:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA945340BDE for ; Sat, 9 Apr 2016 21:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DB6A2C9 for ; Sat, 9 Apr 2016 21:02:54 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1460235646.7e522f4c82eeed079aad0eb47702f8ec7619dbe5.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/cdfplayer/Manifest sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild sci-misc/cdfplayer/metadata.xml X-VCS-Directories: sci-misc/cdfplayer/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5 X-VCS-Branch: master Date: Sat, 9 Apr 2016 21:02:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 44760872-c766-4a74-8be5-009fbe8300cb X-Archives-Hash: 7d7e770716591d7184c3a7ab23831ab5 commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Apr 9 20:06:09 2016 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sat Apr 9 21:00:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c sci-misc/cdfplayer: New application, fetch-restricted sci-misc/cdfplayer/Manifest | 1 + sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++++++++++++++++++++++++++++++ sci-misc/cdfplayer/metadata.xml | 8 +++ 3 files changed, 90 insertions(+) diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest new file mode 100644 index 0000000..a8c35fb --- /dev/null +++ b/sci-misc/cdfplayer/Manifest @@ -0,0 +1 @@ +DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 13205dad6d3a57937b55f41d895e6eef5c7ebf1f416622226cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1 WHIRLPOOL 36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3 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 0000000..49d8e1a --- /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 +# $Id$ + +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 +" + +# 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/metadata.xml b/sci-misc/cdfplayer/metadata.xml new file mode 100644 index 0000000..80a71f5 --- /dev/null +++ b/sci-misc/cdfplayer/metadata.xml @@ -0,0 +1,8 @@ + + + + + dilfridge@gentoo.org + Andreas K. Huettel + +