From efabb123793ece866b824722555f485c9e6b1362 Mon Sep 17 00:00:00 2001 From: klaatu Date: Tue, 8 Mar 2022 07:36:17 +1300 Subject: graphics/luxrender: Migrated to luxcorerender 2.6. Signed-off-by: Willy Sudiarto Raharjo --- graphics/luxcorerender/README | 40 +++ graphics/luxcorerender/application-x-luxcore.svg | 306 +++++++++++++++++++++++ graphics/luxcorerender/doinst.sh | 18 ++ graphics/luxcorerender/luxcore.svg | 252 +++++++++++++++++++ graphics/luxcorerender/luxcorerender.SlackBuild | 125 +++++++++ graphics/luxcorerender/luxcorerender.info | 10 + graphics/luxcorerender/luxcoreui.desktop | 9 + graphics/luxcorerender/mime-luxcore.xml | 12 + graphics/luxcorerender/pyluxcoretools.sh | 12 + graphics/luxcorerender/slack-desc | 19 ++ graphics/luxrender/README | 45 ---- graphics/luxrender/application-x-lux.svg | 306 ----------------------- graphics/luxrender/doinst.sh | 18 -- graphics/luxrender/luxrender.SlackBuild | 146 ----------- graphics/luxrender/luxrender.desktop | 9 - graphics/luxrender/luxrender.info | 12 - graphics/luxrender/luxrender.svg | 252 ------------------- graphics/luxrender/mime-lux.xml | 12 - graphics/luxrender/slack-desc | 19 -- 19 files changed, 803 insertions(+), 819 deletions(-) create mode 100644 graphics/luxcorerender/README create mode 100644 graphics/luxcorerender/application-x-luxcore.svg create mode 100644 graphics/luxcorerender/doinst.sh create mode 100644 graphics/luxcorerender/luxcore.svg create mode 100644 graphics/luxcorerender/luxcorerender.SlackBuild create mode 100644 graphics/luxcorerender/luxcorerender.info create mode 100644 graphics/luxcorerender/luxcoreui.desktop create mode 100644 graphics/luxcorerender/mime-luxcore.xml create mode 100644 graphics/luxcorerender/pyluxcoretools.sh create mode 100644 graphics/luxcorerender/slack-desc delete mode 100644 graphics/luxrender/README delete mode 100644 graphics/luxrender/application-x-lux.svg delete mode 100644 graphics/luxrender/doinst.sh delete mode 100644 graphics/luxrender/luxrender.SlackBuild delete mode 100644 graphics/luxrender/luxrender.desktop delete mode 100644 graphics/luxrender/luxrender.info delete mode 100644 graphics/luxrender/luxrender.svg delete mode 100644 graphics/luxrender/mime-lux.xml delete mode 100644 graphics/luxrender/slack-desc diff --git a/graphics/luxcorerender/README b/graphics/luxcorerender/README new file mode 100644 index 0000000000..4d65059b97 --- /dev/null +++ b/graphics/luxcorerender/README @@ -0,0 +1,40 @@ +LuxCoreRender 3D rendering engine + +LuxRender is a physically based and unbiased rendering engine. +LuxRender simulates the flow of light according to physical equations, +producing realistic images of photographic quality. + +It is fully-featured, with a command-line application (`pyluxcoretools`) +as well as a GUI (`luxrenderui`), widespread render farm support, +instancing, volumetrics, motion blur, and more. + +This package supports 64-bit systems only, because it installs the +pre-compiled LuxRender package. It is possible to install LuxRender on +32-bit systems, but it requires building from source. + +Optional Depencencies: +------------ + +* cudatoolkit +* nvidia-driver + +Install Options: +---------------- + +You must rename `/etc/OpenCL/vendors/mesa.icd` so LuxCore can locate +a usable OpenCL device. + +Use the OPENCL variable when running this script if you want that +done for you (but if you uninstall this package, you must remember +to change it back yourself). + +``` +$ OPENCL=yes ./luxcorerender.SlackBuild +``` + +Blender Plugin +-------------- + +This package is for the stand-alone LuxCoreRender engine. + +A Blender plugin is available from luxcorerender.org diff --git a/graphics/luxcorerender/application-x-luxcore.svg b/graphics/luxcorerender/application-x-luxcore.svg new file mode 100644 index 0000000000..2c1da03832 --- /dev/null +++ b/graphics/luxcorerender/application-x-luxcore.svg @@ -0,0 +1,306 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/graphics/luxcorerender/doinst.sh b/graphics/luxcorerender/doinst.sh new file mode 100644 index 0000000000..dfa772beb5 --- /dev/null +++ b/graphics/luxcorerender/doinst.sh @@ -0,0 +1,18 @@ +if [ -x /usr/bin/xdg-mime ]; then + /usr/bin/xdg-mime install /usr/doc/luxcorerender-2.6/mime-luxcore.xml +fi + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/graphics/luxcorerender/luxcore.svg b/graphics/luxcorerender/luxcore.svg new file mode 100644 index 0000000000..9d8cb65ba0 --- /dev/null +++ b/graphics/luxcorerender/luxcore.svg @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/graphics/luxcorerender/luxcorerender.SlackBuild b/graphics/luxcorerender/luxcorerender.SlackBuild new file mode 100644 index 0000000000..b5f1bfdb69 --- /dev/null +++ b/graphics/luxcorerender/luxcorerender.SlackBuild @@ -0,0 +1,125 @@ +#!/bin/bash + +# Slackware build script for luxrender + +# Copyright 2013 Giorgio Peron Campodarsego, PD, Italy +# Copyright 2015-22 Klaatu Wellington, NZ +# +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=luxcorerender +SHORTNAM=LuxCore +SHORT=luxcore +VERSION=${VERSION:-2.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) echo "This package is available for x86_64 only." && exit 1 + ;; + arm*) echo "This package is available for x86_64 only." && exit 1 + ;; + *) ARCH=$( uname -m ) + LIBDIRSUFFIX="64" + ;; + esac +fi + +# If PRINT_PACKAGE_NAME is set, print name of package +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +tar xvjf $CWD/$PRGNAM-v"$VERSION"-linux64.tar.bz2 \ + --strip-components=1 -C $PRGNAM-$VERSION +cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +## install to opt +mkdir $PKG/opt +mv $TMP/$PRGNAM-$VERSION $PKG/opt/$PRGNAM-$VERSION + +# if user requests it using OPENCL=yes, then set doinst.sh to +# rename dummy OpenCL definition so Lux can find valid OpenCL device +if [ $OPENCL ]; then + cat <>$CWD/doinst.sh +if [ -e /etc/OpenCL/vendors/mesa.icd ]; then + mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/mesa.icd-dummy +fi +EOF +fi + +# desktop conveniences +mkdir -p $PKG/usr/share/applications +cp $CWD/luxcoreui.desktop $PKG/usr/share/applications +cp $CWD/pyluxcoretools.desktop $PKG/usr/share/applications + +# icons +mkdir -p $PKG/usr/share/icons/hicolor/scalable/{mimetypes,apps} +cp $CWD/application-x-$SHORT.svg \ + $PKG/usr/share/icons/hicolor/scalable/mimetypes +cp $CWD/$SHORT.svg $PKG/usr/share/icons/hicolor/scalable/apps + +# mimetypes +mkdir -p $PKG/usr/share/mime/application/ + +# no front-end is provided for it, so +# provide a command to the Python zipapp +mkdir $PKG/usr/bin/ +cat $CWD/pyluxcoretools.sh > $PKG/usr/bin/pyluxcoretools +chmod +x $PKG/usr/bin/pyluxcoretools + +# docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv README.md AUTHORS.txt COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/mime-"$SHORT".xml > $PKG/usr/doc/$PRGNAM-$VERSION/mime-"$SHORT".xml + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/graphics/luxcorerender/luxcorerender.info b/graphics/luxcorerender/luxcorerender.info new file mode 100644 index 0000000000..3bfa2b92ff --- /dev/null +++ b/graphics/luxcorerender/luxcorerender.info @@ -0,0 +1,10 @@ +PRGNAM="luxrender" +VERSION="2.6" +HOMEPAGE="https://luxcorerender.org" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/LuxCoreRender/LuxCore/releases/download/luxcorerender_v2.6/luxcorerender-v2.6-linux64.tar.bz2" +MD5SUM_x86_64="d4a2166db693751d52d8234c0e6fbe47" +REQUIRES="" +MAINTAINER="Klaatu" +EMAIL="klaatu@member.fsf.org" diff --git a/graphics/luxcorerender/luxcoreui.desktop b/graphics/luxcorerender/luxcoreui.desktop new file mode 100644 index 0000000000..dca4437865 --- /dev/null +++ b/graphics/luxcorerender/luxcoreui.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Lux Core UI +GenericName=Lux Core UI +Comment=LuxCore rendering +Exec=LD_LIBRARY_PATH=/usr/lib64/luxcorerender-2.6 /opt/luxcorerender-2.6/luxcoreui +Icon=/usr/share/icons/hicolor/scalable/apps/luxcore.svg +Terminal=false +Type=Application +Categories=Graphics;3DGraphics; diff --git a/graphics/luxcorerender/mime-luxcore.xml b/graphics/luxcorerender/mime-luxcore.xml new file mode 100644 index 0000000000..4d71d2c654 --- /dev/null +++ b/graphics/luxcorerender/mime-luxcore.xml @@ -0,0 +1,12 @@ + + + +LuxRender File + + + + + + + diff --git a/graphics/luxcorerender/pyluxcoretools.sh b/graphics/luxcorerender/pyluxcoretools.sh new file mode 100644 index 0000000000..9e7fde118e --- /dev/null +++ b/graphics/luxcorerender/pyluxcoretools.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "$1" = "--help" -o "$1" = "-h" ]; then + PYTHONPATH=$PYTHONPATH:/opt/luxcorerender-2.6 python3 \ + /opt/luxcorerender-2.6/pyluxcoretools.zip \ + help + exit +fi + +PYTHONPATH=$PYTHONPATH:/opt/luxcorerender-2.6 python3 \ + /opt/luxcorerender-2.6/pyluxcoretools.zip "$@" + diff --git a/graphics/luxcorerender/slack-desc b/graphics/luxcorerender/slack-desc new file mode 100644 index 0000000000..126ee717cc --- /dev/null +++ b/graphics/luxcorerender/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +luxrender: luxrender (rendering engine) +luxrender: +luxrender: LuxRender is a physically based and unbiased rendering engine. +luxrender: Based on state of the art algorithms, LuxRender simulates the flow +luxrender: of light according to physical equations, thus producing realistic +luxrender: images of photographic quality. +luxrender: +luxrender: homepage: http://www.luxcorerender.org +luxrender: +luxrender: +luxrender: diff --git a/graphics/luxrender/README b/graphics/luxrender/README deleted file mode 100644 index a4f7f82aa5..0000000000 --- a/graphics/luxrender/README +++ /dev/null @@ -1,45 +0,0 @@ -luxrender (rendering engine) - -LuxRender is a physically based and unbiased rendering engine. -Based on state of the art algorithms, LuxRender simulates the flow of -light according to physical equations, thus producing realistic images -of photographic quality. It is fully-featured, with a command line -application as well as a GUI, widespread render farm support, instancing, -volumetrics, motion blur, and more. - -This package supports 64-bit systems only, because it installs the -pre-compiled LuxRender package. It is possible to install LuxRender on -32-bit systems, but it requires building from source. - -Optional Depencencies: ------------- -cudatoolkit -nvidia-driver - -Install Options: ----------------- -To install without OpenCL support, launch this script like this: - -$ OPENCL=no ./luxrender.SlackBuild - -Blender Plugin --------------- -By default, this SlackBuild: - -1. Attempts to auto-detect where your Blender install is by grepping - /var/log/packages. -2. Attempts to install the Blender plugin to that location. - -If you do not want it to attempt to do this, do: - -$ BLENDER=no ./luxrender.SlackBuild - -The Blender plugin will be copied to /usr/share/luxrender-VERSION - -If you do have Blender, but in a different path than the SlackBuilds.org -path, or not listed in /var/log/packages for some reason, then you can -hardcode the path: - -$ BLENDER=/path/to/blender/scripts ./luxrender.SlackBuild - -IMPORTANT: Point to your Blender **scripts** directory. diff --git a/graphics/luxrender/application-x-lux.svg b/graphics/luxrender/application-x-lux.svg deleted file mode 100644 index 2c1da03832..0000000000 --- a/graphics/luxrender/application-x-lux.svg +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphics/luxrender/doinst.sh b/graphics/luxrender/doinst.sh deleted file mode 100644 index 8a4aed8b97..0000000000 --- a/graphics/luxrender/doinst.sh +++ /dev/null @@ -1,18 +0,0 @@ -if [ -x /usr/bin/xdg-mime ]; then - /usr/bin/xdg-mime install /usr/doc/luxrender-1.4/mime-lux.xml -fi - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -x /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild deleted file mode 100644 index c326964a29..0000000000 --- a/graphics/luxrender/luxrender.SlackBuild +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/bash - -# Slackware build script for luxrender - -# Copyright 2013 Giorgio Peron Campodarsego, PD, Italy -# Copyright 2015 Klaatu Wellington, NZ -# -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=luxrender -SHORT=lux -VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z $OPENCL ]; then - OPENCL="-OpenCL" -else - OPENCL="" -fi - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) echo "32 bit builds not supported." && exit 1 - ;; - arm*) ARCH=arm - LIBDIRSUFFIX="" - ;; - *) ARCH=$( uname -m ) - LIBDIRSUFFIX="64" - ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SHORT-$VERSION -tar xvjf $CWD/$SHORT-v"$VERSION"-x86_64-sse2"$OPENCL".tar.bz2 -cd $SHORT-v"$VERSION"-$(uname -m)-sse2"$OPENCL" -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# manual installation -mkdir -p $PKG/usr/bin/ -cp luxconsole $PKG/usr/bin/ -cp lux*r $PKG/usr/bin/ -cp slg4 $PKG/usr/bin/ -chmod +x $PKG/usr/bin/slg4 -mkdir -p $PKG/usr/lib"$LIBDIRSUFFIX" -cp *.so $PKG/usr/lib"$LIBDIRSUFFIX" - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# are we using default SBo location of blender? -if [ -z $BLENDER ]; then - BLENDER=$(egrep '^opt\/blender\/2\....?\/scripts\/$' /var/log/packages/blender-*_SBo 2> /dev/null) || BLENDER="no" -fi - -if [ X"$BLENDER" != "Xno" ]; then - mkdir -p $PKG/$BLENDER - unzip luxblend/luxblend.zip -d $PKG/$BLENDER/addons/ - unzip luxblend/luxblend-presets.zip -d $PKG/$BLENDER/presets/ -else - mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/luxblend - cp luxblend/luxblend.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend - cp luxblend/luxblend-presets.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend -fi - -mkdir -p $PKG/usr/share/applications -mkdir -p $PKG/usr/share/$PRGNAM-$VERSION -cp -r examples $PKG/usr/share/$PRGNAM-$VERSION -cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications - -#icons -mkdir -p $PKG/usr/share/icons/hicolor/scalable/mimetypes -cp $CWD/application-x-lux.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes -cp $CWD/luxrender.svg $PKG/usr/share/icons/hicolor/scalable/apps - -#mimetypes -mkdir -p $PKG/usr/share/mime/application/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/mime-"$SHORT".xml > $PKG/usr/doc/$PRGNAM-$VERSION/mime-"$SHORT".xml - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/graphics/luxrender/luxrender.desktop b/graphics/luxrender/luxrender.desktop deleted file mode 100644 index b0829ea7b6..0000000000 --- a/graphics/luxrender/luxrender.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Lux -GenericName=Lux Renderer -Comment=LuxRender unbiased rendering system -Exec=luxrender -Icon=/usr/share/pixmaps/luxrender.svg -Terminal=false -Type=Application -Categories=Graphics;3DGraphics; diff --git a/graphics/luxrender/luxrender.info b/graphics/luxrender/luxrender.info deleted file mode 100644 index 9a42103b7b..0000000000 --- a/graphics/luxrender/luxrender.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="luxrender" -VERSION="1.4" -HOMEPAGE="http://www.luxrender.net/" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/lux-v1.4-x86_64-sse2-OpenCL.tar.bz2 \ - https://slackware.uk/~urchlay/src/lux-v1.4-x86_64-sse2.tar.bz2" -MD5SUM_x86_64="6635929c033c55c4300c8fc928fa1647 \ - ec37591dd3efca4c0ab2051bcc9e64e1" -REQUIRES="FreeImage" -MAINTAINER="Klaatu" -EMAIL="klaatu@member.fsf.org" diff --git a/graphics/luxrender/luxrender.svg b/graphics/luxrender/luxrender.svg deleted file mode 100644 index 9d8cb65ba0..0000000000 --- a/graphics/luxrender/luxrender.svg +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/graphics/luxrender/mime-lux.xml b/graphics/luxrender/mime-lux.xml deleted file mode 100644 index 3843873ab8..0000000000 --- a/graphics/luxrender/mime-lux.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - -LuxRender File - - - - - - - diff --git a/graphics/luxrender/slack-desc b/graphics/luxrender/slack-desc deleted file mode 100644 index 873200a009..0000000000 --- a/graphics/luxrender/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -luxrender: luxrender (rendering engine) -luxrender: -luxrender: LuxRender is a physically based and unbiased rendering engine. -luxrender: Based on state of the art algorithms, LuxRender simulates the flow -luxrender: of light according to physical equations, thus producing realistic -luxrender: images of photographic quality. -luxrender: -luxrender: homepage: http://www.luxrender.net -luxrender: -luxrender: -luxrender: -- cgit v1.2.3