summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2023-07-14 12:15:08 +0200
committer Willy Sudiarto Raharjo2023-07-15 12:30:18 +0200
commit8d2288cdb48efdea237421db19d52517d0eed788 (patch)
tree0a55a3f120c44d23d3575f671ab71e2170d9e2ba
parentf13afae57e129b1c1eecd8eb843dde7d4631edf8 (diff)
downloadslackbuilds-8d2288cdb48efdea237421db19d52517d0eed788.tar.gz
development/oneVPL: Removed (duplicate of onevpl).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/oneVPL/README21
-rw-r--r--development/oneVPL/oneVPL.SlackBuild132
-rw-r--r--development/oneVPL/oneVPL.info10
-rw-r--r--development/oneVPL/slack-desc19
4 files changed, 0 insertions, 182 deletions
diff --git a/development/oneVPL/README b/development/oneVPL/README
deleted file mode 100644
index 1d1d72d07f..0000000000
--- a/development/oneVPL/README
+++ /dev/null
@@ -1,21 +0,0 @@
- The oneAPI Video Processing Library (oneVPL) is a programming
-interface for video decoding, encoding, and processing to build
-portable media pipelines on CPUs, GPUs, and other accelerators.
-
- It provides device discovery and selection in media centric and
-video analytics workloads and API primitives for zero-copy buffer
-sharing. oneVPL is backwards and cross-architecture compatible to
-ensure optimal execution on current and next generation hardware
-without source code changes.
-
- To use oneVPL for video processing you need to install at least
-one implementation. Here is a list of current implementations.
- - oneVPL-cpu for use on CPU
- - oneVPL-intel-gpu for use on Intel Xe graphics and newer
- - Media SDK for use on legacy Intel graphics
-
-
- If you want to enable Python binding set the environment
-variable: PYTHON=yes. This requires pybind11
-
- * 64 bit only
diff --git a/development/oneVPL/oneVPL.SlackBuild b/development/oneVPL/oneVPL.SlackBuild
deleted file mode 100644
index 27ae94400a..0000000000
--- a/development/oneVPL/oneVPL.SlackBuild
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for oneVPL
-
-# Copyright 2022 William PC - Seattle, USA
-# 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=oneVPL
-VERSION=${VERSION:-2022.2.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-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" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -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 $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-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 {} \;
-
-
-# at 32 bit it's failing for build some tools
-# NOTE: nonetheless it's building at 32-bit, keep it for trying later
-case "$ARCH" in
- i?86) MAKE_TARGET="VPL vpl-inspect decvpp_tool"
- sed -i '26d;32,34d' dispatcher/linux/mfxloader.cpp ;;
- *) MAKE_TARGET="all" ;;
-esac
-
-# enable Python binding
-# default installation of the pyvpl is at "lib64/python"
-if [ "${PYTHON:-no}" == "yes" ];then
- OPTS="-DBUILD_PYTHON_BINDING=ON \
- -DPYTHON_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/python3.9/lib-dynload"
-fi
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DCMAKE_INSTALL_MANDIR=/usr/man \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DONEAPI_INSTALL_FULL_ENVDIR=/etc/vpl \
- -DONEAPI_INSTALL_ENVDIR=/etc/vpl \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc \
- $OPTS \
- -DCMAKE_BUILD_TYPE=Release ..
- make $MAKE_TARGET
- make install/strip DESTDIR=$PKG
-cd ..
-
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
-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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md LICENSE README.md third-party-programs.txt version.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/oneVPL/oneVPL.info b/development/oneVPL/oneVPL.info
deleted file mode 100644
index fffd5b0a67..0000000000
--- a/development/oneVPL/oneVPL.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="oneVPL"
-VERSION="2022.2.0"
-HOMEPAGE="https://www.oneapi.io"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/oneapi-src/oneVPL/archive/v2022.2.0/oneVPL-2022.2.0.tar.gz"
-MD5SUM_x86_64="f65d87d40a5f7219edbdc7be2f1328d3"
-REQUIRES=""
-MAINTAINER="William PC"
-EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/development/oneVPL/slack-desc b/development/oneVPL/slack-desc
deleted file mode 100644
index 85732cb701..0000000000
--- a/development/oneVPL/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------------------------------------------------------|
-oneVPL: oneVPL (oneAPI Video Processing Library)
-oneVPL:
-oneVPL:
-oneVPL: The oneAPI Video Processing Library (oneVPL) is a programming
-oneVPL: interface for video decoding, encoding, and processing to build
-oneVPL: portable media pipelines on CPUs, GPUs, and other accelerators.
-oneVPL:
-oneVPL: Requires a runtime implementation, oneVPL-cpu, oneVPL-intel-gpu or
-oneVPL: MEDIA SDK (legacy Intel graphics)
-oneVPL:
-oneVPL: