summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/maya/ChangeLog89
-rw-r--r--media-gfx/maya/Manifest16
-rw-r--r--media-gfx/maya/files/50maya4
-rw-r--r--media-gfx/maya/files/digest-maya-6.50
-rw-r--r--media-gfx/maya/files/maya-docs17
-rw-r--r--media-gfx/maya/maya-6.5.ebuild240
-rw-r--r--media-gfx/maya/maya-8.0.ebuild208
-rw-r--r--media-gfx/maya/metadata.xml9
8 files changed, 0 insertions, 583 deletions
diff --git a/media-gfx/maya/ChangeLog b/media-gfx/maya/ChangeLog
deleted file mode 100644
index 20f8c0d..0000000
--- a/media-gfx/maya/ChangeLog
+++ /dev/null
@@ -1,89 +0,0 @@
-# ChangeLog for media-gfx/maya
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/ChangeLog,v 1.22 2005/10/13 17:31:24 dang Exp $
-
- 13 Oct 2005; <dang@gentoo.org> maya-6.5.ebuild:
- Make maya use virtual/fam. Bug #67170
-
- 15 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
- -files/maya-5.0.1.md5sum, -files/aw_flexlm, -files/aw_flexlm.conf.d,
- -maya-5.0.1-r1.ebuild:
- Removing old maya-5 from portage. If someone is still using that old verion,
- let me know, and I'll add 5.0 back. If someone needs 6.0, you'll need to get
- me a CD.
-
- 11 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> maya-6.5.ebuild:
- Don't install the aw_flexlm init script. Add support for installing the
- shader library.
-
- 11 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> maya-6.5.ebuild:
- Create /usr/aw symlink for compatibility and COM/bin/installKey runtime lib
- path.
-
-*maya-6.5 (02 Aug 2005)
-
- 02 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> +files/50maya,
- files/aw_flexlm, maya-5.0.1-r1.ebuild, +maya-6.5.ebuild:
- Version bump. Ebuild made by me with support from Depthvfx,
- http://www.depthvfx.com.
-
- 30 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
- -files/maya-6.0.md5sum, files/aw_flexlm, files/aw_flexlm.conf.d,
- files/maya-docs, maya-5.0.1-r1.ebuild, -maya-6.0.ebuild:
- Cleaned up init scripts. Removed 6.0 since nobody ever gave me a CD to
- complete the ebuild with. 6.5 will be coming shortly.
-
- 06 May 2005; Sven Wegener <swegener@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Removed * postfix from <, <=, >= and > dependencies.
-
- 19 Apr 2005; Simon Stelling <blubb@gentoo.org> maya-6.0.ebuild:
- added ~amd64
-
- 08 Aug 2004; Tom Martin <slarti@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Typo in DESCRIPTION: Comercial -> Commercial. Bug 59717.
-
- 19 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-6.0.ebuild:
- Fix RDEPEND.
-
- 18 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> maya-5.0.1-r1.ebuild:
- fix RDEPEND
-
- 18 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild,
- maya-6.0.ebuild:
- Preliminary amd64 support... Docs don't work right because of funky java.
-
-*maya-6.0 (07 Jun 2004)
-
- 07 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-6.0.ebuild,
- files/maya-6.0.md5sum:
- In-progress maya6 ebuild. Docs aren't working, but everything else is.
-
- 07 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Fixed postinstall->postinst
-
- 30 May 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Stable x86.
-
- 04 May 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild:
- Now using cdrom_get_cds if MAYA_INSTALL_LOC is not set. Closes bug #49765.
-
-*maya-5.0.1-r1 (30 Apr 2004)
-
- 30 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1-r1.ebuild,
- files/maya-5.0.1.md5sum:
- Better install-from-cd support. Thanks to Henti Smith <henti@geekware.co.za>
- for helping me test it out.
- app-shells/tcsh or csh RDEPEND for Render.
- /usr/aw/maya5.0/bin/maya symlink made to make Render work.
-
- 29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1.ebuild:
- Fixed permissions and RDEPEND statement
-
-*maya-5.0.1 (26 Apr 2004)
-
- 26 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> maya-5.0.1.ebuild,
- metadata.xml, files/aw_flexlm, files/aw_flexlm.conf.d, files/maya-docs:
- Initial ebuild by me.
-
diff --git a/media-gfx/maya/Manifest b/media-gfx/maya/Manifest
deleted file mode 100644
index 4cb17db..0000000
--- a/media-gfx/maya/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 9cffffa1b1fdcc02103f0d9623de25b6 ChangeLog 3469
-MD5 9bd53be7de27bdf7b1964a15ed99b93d files/50maya 106
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-maya-6.5 0
-MD5 aa3d8c97154f1ce2d263a2a071811c28 files/maya-docs 314
-MD5 a9308ad8600c89224489d42c07a3e554 maya-6.5.ebuild 8663
-MD5 c1e212329f9083e2405b16dd382d6632 metadata.xml 259
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDTpoMomPajV0RnrERAj/eAJ91w9x2AhjVSifMk/jHUYs5wUV/ZQCePkPT
-8o6tuCde1x7zf2+t1QSUU7A=
-=u6yy
------END PGP SIGNATURE-----
diff --git a/media-gfx/maya/files/50maya b/media-gfx/maya/files/50maya
deleted file mode 100644
index b9e9a92..0000000
--- a/media-gfx/maya/files/50maya
+++ /dev/null
@@ -1,4 +0,0 @@
-AW_COMMON=/opt/aw
-MAYA_LOCATION=${AW_COMMON}/maya
-PATH=${MAYA_LOCATION}/bin
-ROOTPATH=${MAYA_LOCATION}/bin
diff --git a/media-gfx/maya/files/digest-maya-6.5 b/media-gfx/maya/files/digest-maya-6.5
deleted file mode 100644
index e69de29..0000000
--- a/media-gfx/maya/files/digest-maya-6.5
+++ /dev/null
diff --git a/media-gfx/maya/files/maya-docs b/media-gfx/maya/files/maya-docs
deleted file mode 100644
index 58f4fb2..0000000
--- a/media-gfx/maya/files/maya-docs
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Maya Doc Server"
- start-stop-daemon --start --quiet --exec /opt/aw/maya/docs/startDocServer.sh
- eend $?
-}
-
-stop() {
- ebegin "Stopping Maya Doc Server"
- start-stop-daemon --start --quiet --exec /opt/aw/maya/docs/shutdownDocServer.sh
- eend $?
-}
diff --git a/media-gfx/maya/maya-6.5.ebuild b/media-gfx/maya/maya-6.5.ebuild
deleted file mode 100644
index 0629fca..0000000
--- a/media-gfx/maya/maya-6.5.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-6.5.ebuild,v 1.4 2005/10/13 17:31:24 dang Exp $
-
-inherit rpm eutils versionator
-
-# RPM versions within the tarballs which will get installed
-AWCOMMON_RPM="AWCommon-6.3-1.i686.rpm"
-AWCOMMON_SERVER_RPM="AWCommon-server-6.3-1.i686.rpm"
-MAYA_RPM="Maya6_5-6.5-253.i686.rpm"
-MAYA_DOCS_RPM="Maya6_5-docs-6.5-253.i686.rpm"
-
-DESCRIPTION="Commercial modeling and animation package"
-HOMEPAGE="http://www.alias.com/eng/products-services/maya/index.shtml"
-
-# Patches to download go into SRC_URI
-SRC_URI=""
-
-SLOT="$(get_version_component_range 1-2)"
-LICENSE="maya-5.0 mayadoc-5.0"
-KEYWORDS="~amd64 ~x86"
-# Still having trouble getting the docs working right.
-IUSE="bundled-libs maya-shaderlibrary doc"
-RESTRICT="fetch userpriv"
-
-DEPEND="app-arch/unzip"
-
-RDEPEND="|| ( app-shells/tcsh app-shells/csh )
- x86? ( virtual/fam
- !bundled-libs? ( =x11-libs/qt-3*
- =virtual/libstdc++-3.3*
- >=x11-libs/openmotif-2.2 ) )
- amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.1.4
- app-emulation/emul-linux-x86-xlibs
- !bundled-libs? ( app-emulation/emul-linux-x86-qtlibs ) )
- doc? ( !bundled-libs? ( >=virtual/jre-1.4.2 ) )
- virtual/opengl"
-
-S="${WORKDIR}"
-
-AWDIR="/opt/aw"
-MAYADIR="${AWDIR}/maya${SLOT}"
-
-CDROM_NAME_1="Maya 6.5 Installation CD"
-
-pkg_nofetch() {
- einfo "Please place the required files in ${DISTDIR}:"
-# einfo
-# einfo "Downloads from Alias's support server:"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_107/myr_maya501_gold_linux_update.tgz"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_79/myr_TechDocs.zip"
-}
-
-src_unpack() {
- cdrom_get_cds AWCommon-${AWCOMMON_RPM}.rpm
-
- # Unpack downloaded tarballs containing RPMs
- #mkdir ${S}/RPMS
- #cd ${S}/RPMS
- #unpack myr_maya501_gold_linux_update.tgz
-
- # rpm_unpack unpacks in ${WORKDIR} no matter what we try... so get it out of the way...
- cd ${S}
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_SERVER_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${MAYA_RPM} || die
-
- if use doc ; then
- rpm_unpack ${CDROM_ROOT}/${MAYA_DOCS_RPM} || die
-
- if ! use bundled-libs; then
- rm -rf ${S}/usr/aw/maya6.5/docs/jre || die
- sed -i -e 's:JAVACMD=\./jre/bin/java:JAVACMD=java:g' ${S}/usr/aw/maya6.5/docs/startDocServer.sh || die
- fi
- fi
-
- if use maya-shaderlibrary ; then
- pushd ${CDROM_ROOT} >& /dev/null
- [[ -d shaderLibrary ]] || die "Could not locate shaderLibrary on Maya Installation CD."
-
- tar -c -f - shaderLibrary | (cd ${S}/usr/aw/maya${SLOT}; tar -x -f -) || die "Failed to copy over maya shader library"
-
- popd >& /dev/null
- fi
-
- # Use app-admin/flexlm
- rm -rf ${S}/usr/COM/{bin/lmutil,etc/lmgrd} || die
-
- # Don't need RedHat's init script
- rm -rf ${S}/etc || die
-
- mkdir ${S}/insroot || die
- mv ${S}/usr ${S}/insroot/opt || die
- rm -rf ${S}/insroot/opt/sbin || die
-
- cp -a ${CDROM_ROOT}/README.html ${S} || die
-
- # Remove unneeded libs (provided by RDEPEND).
- if ! use bundled-libs; then
- #rm -f ${S}/insroot/${AWDIR}/COM/lib/libXm.so.2.1 || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libgcc_s.so.1 || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libstdc++.so.5.0.6 || die
-
- # We keep this one because of possible C++ ABI changes...
- # Maya 6.5 was compiled with CXXABI_1.2 (libstdc++.so.5)
- # rm -f ${S}/insroot/${MAYADIR}/lib/libqt.so.3 || die
-
- rm -f ${S}/insroot/${MAYADIR}/lib/libXm.so.3 || die
- fi
-}
-
-src_install() {
- dohtml README.html
-
- cd ${S}/insroot
- cp -a . ${D} || die
-
- # We use our own Motif runtime unless USE=bundled-libs
- #if use bundled-libs; then
- dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so
- dosym libXm.so.2.1 ${AWDIR}/COM/lib/libXm.so.2
- #fi
-
- # SLOT the COM directory to avoid conflicts
- mv ${D}${AWDIR}/COM ${D}${AWDIR}/COM-${SLOT}
- dosym COM-${SLOT} ${AWDIR}/COM
- dosym COM ${AWDIR}/COM2
- # End rpm -qp --scripts AWCommon-6.3-1.i686.rpm
-
- # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
- keepdir /var/flexlm
-
- dosym maya6.5 ${AWDIR}/maya
-
- # The RPM puts these in /usr/local/bin
- dosym Maya6.5 ${MAYADIR}/bin/maya
-
- dodir /usr/bin
- for mayaexec in Render fcheck imgcvt maya; do
- dosym ../../${AWDIR}/maya/bin/${mayaexec} /usr/bin/${mayaexec}
- done
-
- # links for pcw
- dosym libawcsprt.so.1 ${MAYADIR}/lib/libawcsprt.so
- dosym libpcw_opa.so.1 ${MAYADIR}/lib/libpcw_opa.so
- dosym libpcwfindkey.so.1 ${MAYADIR}/lib/libpcwfindkey.so
- dosym libpcwxml.so.1 ${MAYADIR}/lib/libpcwxml.so
-
- # We use our own gcc3 runtime unless USE=bundled-libs
- if use bundled-libs; then
- dosym libgcc_s.so.1 ${MAYADIR}/lib/libgcc_s.so
- dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so.5
- dosym libstdc++.so.5.0.6 ${MAYADIR}/lib/libstdc++.so
- fi
-
- # update the mental ray configuration files in place
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/mentalray/maya.rayrc
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayarender_with_mr
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/mayaexport_with_mr
- fperms 755 ${MAYADIR}/bin/mayarender_with_mr
-
- # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
-
- doenvd ${FILESDIR}/50maya
-
- if use maya-shaderlibrary ; then
- echo "MAYA_SHADER_LIBRARY_PATH=\"${AWDIR}/maya/shaderLibrary/shaders\"" >> ${D}/etc/env.d/50maya
- fi
-
- # Fix permissions
- find ${D}${AWDIR} -type d -exec chmod 755 {} \;
-
- dosed 's:tail -1: tail -n 1:g' /opt/aw/maya${SLOT}/bin/Maya${SLOT}
-
- # For compatibility purposes. Also, COM/bin/installKey uses
- # /usr/aw/COM/lib as runtime lib path to find libXm.so.2
- dosym ../opt/aw /usr/aw
-}
-
-pkg_postinst() {
- # What follows is modified from rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-ray/ { found++; print ; next } {print} END {if (0==found) print "mi-ray 7003/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
-
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-raysat/ { found++; print ; next } {print} END {if (0==found) print "mi-raysat 7103/tcp" }' ${T}/services.maya_save > ${ROOT}/etc/services
-
- # update the magic file
- if [[ -e ${ROOT}/usr/share/magic ]]; then
- mv ${ROOT}/usr/share/magic ${T}/magic.rpmsave
- awk '/Alias.Wavefront Maya files. begin/ {p=1} /Alias.Wavefront Maya files. end/ {p=2} {if (p==2) { p=0} else if (p==0) print }' ${T}/magic.rpmsave > ${ROOT}/usr/share/magic
- cat ${ROOT}${MAYADIR}/.tmpdata/awmagic >> ${ROOT}/usr/share/magic;
- # get file to rebuild the cache
- file -C > /dev/null 2>&1
- rm -Rf ${ROOT}${MAYADIR}/.tmpdata/awmagic 2>&1 > /dev/null
- fi
- # End rpm -qp --scripts Maya6_5-6.5-253.i686.rpm
-
- einfo "There may be a more recent license for this workstation available on the"
- einfo "Alias|Wavefront web site. Please visit the following URL to check for"
- einfo "updated licenses:"
- einfo "http://www.aliaswavefront.com/en/Community/Special/keys/maya/"
- echo
- einfo "To install your key, either place aw.dat in /var/flexlm or run the following"
- einfo "command from an X session:"
- einfo "${AWDIR}/COM/bin/installKey -input ${MAYADIR}/license_data/maya_prekey_data"
- echo
- einfo "One init scripts has been installed:"
- einfo "maya-docs is for the document server (help system)."
- echo
- einfo "If you want to use the flexlm license server, emerge '>=app-admin/flexlm-9.5'"
- echo
-
- # GCC_3.0
- # GLIBC_2.1.3
- # GLIBC_2.0
- # GLIBCPP_3.2
- # CXXABI_1.2
- einfo "Maya 6.5 was compiled on the following system configuration:"
- einfo "Linux 2.4.7-10 (RedHat 7.2, glibc-2.2.4-13), i686, gcc3"
- einfo "If you intend to compile plugins for Maya, you will need to"
- einfo "'emerge \=sys-devel/gcc-3.3*' and use gcc-config to switch compilers."
- einfo "The Maya SDK headers are located in ${MAYADIR}/include, and libs"
- einfo "are in ${MAYADIR}/lib."
- echo
- # http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
- ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
- ewarn "utilities as they have been shown to cause maya-5.0.1 to crash."
- ewarn "Feedback on whether or not this is still true ion Maya 6.5 would be"
- ewarn "appreciated at http://bugs.gentoo.org"
-
- if use doc && [[ ! -x /usr/bin/mozilla ]] ; then
- echo
- ewarn "The Maya document system has been installed, but we have detected"
- ewarn "that you don't have Mozilla installed on your system. Maya"
- ewarn "launches mozilla to start the help program, so it is advised that"
- ewarn "you either install mozilla or place a stub executable at /usr/bin/mozilla"
- ewarn "which will launch another browser on your system."
- fi
-}
diff --git a/media-gfx/maya/maya-8.0.ebuild b/media-gfx/maya/maya-8.0.ebuild
deleted file mode 100644
index aabfa42..0000000
--- a/media-gfx/maya/maya-8.0.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/maya/maya-6.5.ebuild,v 1.4 2005/10/13 17:31:24 dang Exp $
-
-inherit rpm eutils versionator
-
-DESCRIPTION="Commercial modeling and animation package"
-HOMEPAGE="http://www.alias.com/eng/products-services/maya/index.shtml"
-# Patches to download go into SRC_URI
-SRC_URI=""
-
-SLOT="$(get_version_component_range 1-2)"
-LICENSE="maya-5.0 mayadoc-5.0"
-KEYWORDS="~amd64 ~x86"
-# Still having trouble getting the docs working right.
-IUSE="bundled-libs doc"
-RESTRICT="fetch strip"
-
-DEPEND="app-arch/unzip"
-
-RDEPEND="|| ( app-shells/tcsh app-shells/csh )
- x86? ( virtual/fam
- !bundled-libs? ( =x11-libs/qt-3*
- =virtual/libstdc++-3.3*
- >=x11-libs/openmotif-2.2 ) )
- amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.1.4
- app-emulation/emul-linux-x86-xlibs
- !bundled-libs? ( app-emulation/emul-linux-x86-qtlibs ) )
- doc? ( !bundled-libs? ( >=virtual/jre-1.4.2 ) )
- virtual/opengl"
-
-S="${WORKDIR}"
-
-AWDIR="/usr/aw"
-MAYADIR="${AWDIR}/maya${SLOT}"
-
-pkg_nofetch() {
- einfo "Please place the required files in ${DISTDIR}:"
-# einfo
-# einfo "Downloads from Alias's support server:"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_107/myr_maya501_gold_linux_update.tgz"
-# einfo "http://aliaswavefront.topdownloads.com/pub/bws/bws_79/myr_TechDocs.zip"
-}
-
-src_unpack() {
- # We have two disks for Maya. CD1 is for x86, where CD2 is for AMD64.
- if use amd64
- then
- AWCOMMON_RPM="AWCommon-10.80-7.x86_64.rpm"
- AWCOMMON_SERVER_RPM="AWCommon-server-10.80-7.x86_64.rpm"
- MAYA_RPM="Maya8_0_64-8.0-179.x86_64.rpm"
- MAYA_DOCS_RPM="Maya8_0-docs_en_US-8.0-103.x86_64.rpm"
- CDROM_NAME_1="Maya 8.0 Installation CD (x86_64)"
- elif use x86
- then
- AWCOMMON_RPM="AWCommon-10.80-12.i686.rpm"
- AWCOMMON_SERVER_RPM="AWCommon-server-10.80-12.i686.rpm"
- MAYA_RPM="Maya8_0-8.0-163.i686.rpm"
- MAYA_DOCS_RPM="Maya8_0-docs_en_US-8.0-104.i686.rpm"
- CDROM_NAME_1="Maya 8.0 Installation CD"
- fi
-
- cdrom_get_cds ${AWCOMMON_RPM}
-
- cd "${S}"
- einfo "Unpacking RPM packages from ${CDROM_ROOT}..."
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${AWCOMMON_SERVER_RPM} || die
- rpm_unpack ${CDROM_ROOT}/${MAYA_RPM} || die
-
- if use doc ; then
- rpm_unpack ${CDROM_ROOT}/${MAYA_DOCS_RPM} || die
- fi
-
- # Use app-admin/flexlm
- rm -rf ${S}/usr/aw/COM/{bin/lmutil,etc/lmgrd} || die
-
- cp -a ${CDROM_ROOT}/README.html ${S} || die
-
- # Remove unneeded libs (provided by RDEPEND).
- if ! use bundled-libs; then
- rm -f ${S}/insroot/${MAYADIR}/lib/libgcc_s.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libGLU.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libstdc++.so* || die
- rm -f ${S}/insroot/${MAYADIR}/lib/libXm.so* || die
-
- # We keep this one because of possible C++ ABI changes...
- rm -f ${S}/insroot/${MAYADIR}/lib/libqt-mt.so* || die
- fi
-}
-
-src_install() {
- dohtml README.html
- insinto "${AWDIR}"
-
- doins -r usr/aw/* || die
-
- ### Start rpm -qp --scripts AWCommon-10.80-12.i686.rpm
- keepdir /var/flexlm
- # We use our own Motif runtime unless USE=bundled-libs
- #if use bundled-libs; then
- dosym libXm.so.3 ${AWDIR}/COM/lib/libXm.so
- dosym libXm.so.3 ${AWDIR}/COM/lib/libXm.so.2
- #fi
-
- # SLOT the COM directory to avoid conflicts
- mv ${D}${AWDIR}/COM ${D}${AWDIR}/COM-${SLOT}
- dosym COM-${SLOT} ${AWDIR}/COM
- dosym COM ${AWDIR}/COM2
- # End rpm -qp --scripts AWCommon-10.80-12.i686.rpm
-
- # What follows is modified from rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
- fperms 777 /var/flexlm
- dosym maya8.0 ${AWDIR}/maya
-
- # The RPM puts these in /usr/local/bin
- dosym Maya8.0 ${MAYADIR}/bin/maya
-
- dodir /usr/bin
- for mayaexec in Render fcheck imgcvt maya; do
- dosym ../../${AWDIR:1}/maya/bin/${mayaexec} /usr/bin/${mayaexec}
- done
-
- # links for pcw
- dosym libawcsprt.so.1 ${MAYADIR}/lib/libawcsprt.so
- dosym libpcw_opa.so.1 ${MAYADIR}/lib/libpcw_opa.so
- dosym libpcwfindkey.so.1 ${MAYADIR}/lib/libpcwfindkey.so
- dosym libpcwxml.so.1 ${MAYADIR}/lib/libpcwxml.so
-
- # We use our own gcc runtime unless USE=bundled-libs
- if use bundled-libs; then
- dosym libgcc_s.so.1 ${MAYADIR}/lib/libgcc_s.so
- dosym libstdc++.so.6.0.6 ${MAYADIR}/lib/libstdc++.so.6
- dosym libstdc++.so.6.0.6 ${MAYADIR}/lib/libstdc++.so
- dosym libGLU.so.1.3 ${MAYADIR}/lib/libGLU.so.1
- fi
-
- # update the mental ray configuration files in place
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/mentalray/maya.rayrc
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/unsupported/mayarender_with_mr
- dosed "/\[PREFIX\]/s//\/opt/" ${MAYADIR}/bin/unsuppoered/mayaexport_with_mr
- fperms 755 ${MAYADIR}/bin/unsupported/mayarender_with_mr
- fperms 755 ${MAYADIR}/bin/unsupported/mayaexport_with_mr
- chmod -R +x ${D}/${AWDIR}
- ### End rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
-
- doenvd ${FILESDIR}/50maya
-
- # Fix permissions
- find ${D} -type d -exec chmod 755 {} \;
-
- dosed 's:tail -1: tail -n 1:g' ${AWDIR}/maya${SLOT}/bin/Maya${SLOT}
-
- # For compatibility purposes. Also, COM/bin/installKey uses
- # /usr/aw/COM/lib as runtime lib path to find libXm.so.2
-# dosym ../opt/aw /usr/aw
-}
-
-pkg_postinst() {
- # What follows is modified from rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
- cp ${ROOT}/etc/services ${T}/services.maya_save
- awk '/mi-ray3_2maya5_0/ { found++; print ; next } {print} END {if (0==found)
- print "mi-ray3_2maya5_0 7054/tcp" }' /tmp/services.maya_save > ${ROOT}/etc/services
-
- # update the magic file
- if [[ -e ${ROOT}/usr/share/magic ]]; then
- mv ${ROOT}/usr/share/magic ${T}/magic.rpmsave
- awk '/Alias.Wavefront Maya files. begin/ {p=1} /Alias.Wavefront Maya files. end/ {p=2} {if (p==2) { p=0} else if (p==0) print }' ${T}/magic.rpmsave > ${ROOT}/usr/share/magic
- cat ${ROOT}${MAYADIR}/.tmpdata/awmagic >> ${ROOT}/usr/share/magic;
- # get file to rebuild the cache
- file -C > /dev/null 2>&1
- rm -Rf ${ROOT}${MAYADIR}/.tmpdata/awmagic 2>&1 > /dev/null
- fi
- # End rpm -qp --scripts Maya8_0-8.0-163.i686.rpm
-
- einfo "There may be a more recent license for this workstation available on the"
- einfo "Autodesk web site. Please visit the following URL to check for"
- einfo "updated licenses:"
- einfo "http://www.autodesk.com/maya-webkey"
- echo
- einfo "To install your key, either place aw.dat in /var/flexlm or run the following"
- einfo "command from an X session:"
- einfo "${AWDIR}/COM/bin/installKey -input ${MAYADIR}/license_data/maya_prekey_data"
- echo
- einfo "One init scripts has been installed:"
- einfo "maya-docs is for the document server (help system)."
- echo
- einfo "If you want to use the flexlm license server, emerge '>=app-admin/flexlm-9.5'"
- echo
- einfo "The Maya SDK headers are located in ${MAYADIR}/include, and libs"
- einfo "are in ${MAYADIR}/lib."
- echo
- # http://www.highend2d.com/boards/showthreaded.php?Cat=&Board=linuxforum&Number=174726&page=&view=&sb=&o=
- ewarn "You should disable klipper, xfce4-clipman, and any other clipboard"
- ewarn "utilities as they have been shown to cause maya to crash."
- ewarn "Feedback on whether or not this is still true on Maya 8.0 would be"
- ewarn "appreciated at http://bugs.gentoo.org"
-
- if use doc && [[ ! -x /usr/bin/mozilla ]] ; then
- echo
- ewarn "The Maya document system has been installed, but we have detected"
- ewarn "that you don't have Mozilla installed on your system. Maya"
- ewarn "launches mozilla to start the help program, so it is advised that"
- ewarn "you either install mozilla or place a stub executable at /usr/bin/mozilla"
- ewarn "which will launch another browser on your system."
- fi
- echo
-}
diff --git a/media-gfx/maya/metadata.xml b/media-gfx/maya/metadata.xml
deleted file mode 100644
index b61685c..0000000
--- a/media-gfx/maya/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>eradicator@gentoo.org</email>
- <name>Jeremy Huddleston</name>
-</maintainer>
-</pkgmetadata>