Browse Source

l/intel-media: Upgraded to intel-media-20.1.0.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
dd68ae7074
  1. 19
      l/intel-media/doinst.sh
  2. 11
      l/intel-media/intel-media-19.2.1-fix-bogus-cflag.patch
  3. 1
      l/intel-media/intel-media-19.2.1.tar.gz.sha256
  4. 1
      l/intel-media/intel-media-20.1.0.tar.gz.sha256
  5. 7
      l/intel-media/intel-media.SlackBuild

19
l/intel-media/doinst.sh

@ -1,19 +0,0 @@
#!/bin/sh
config()
{
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
rm $NEW
fi
}
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database ./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

11
l/intel-media/intel-media-19.2.1-fix-bogus-cflag.patch

@ -1,11 +0,0 @@
diff -Naur intel-media-19.2.1.orig/media_driver/cmake/linux/media_compile_flags_linux.cmake intel-media-19.2.1/media_driver/cmake/linux/media_compile_flags_linux.cmake
--- intel-media-19.2.1.orig/media_driver/cmake/linux/media_compile_flags_linux.cmake 2019-07-31 03:33:34.000000000 +0100
+++ intel-media-19.2.1/media_driver/cmake/linux/media_compile_flags_linux.cmake 2019-12-20 00:23:16.217578768 +0000
@@ -32,7 +32,6 @@
-Wno-overflow
-Wno-parentheses
-Wno-delete-incomplete
- -Werror=implicit-function-declaration
-Werror=address
-Werror=format-security
-Werror=non-virtual-dtor

1
l/intel-media/intel-media-19.2.1.tar.gz.sha256

@ -1 +0,0 @@
79279c991d918deaa52239dac55787b9c7562e520cd58744171b468d28b8af40 intel-media-19.2.1.tar.gz

1
l/intel-media/intel-media-20.1.0.tar.gz.sha256

@ -0,0 +1 @@
dfb212d83c30e04c91e7b97ebd9f03c25854edb4e521cd240cc3aec424c7d30d intel-media-20.1.0.tar.gz

7
l/intel-media/intel-media.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-intel-media}
VERSION=${VERSION:-19.2.1}
VERSION=${VERSION:-20.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/intel/media-driver/archive/$ARCHIVE}
@ -86,7 +86,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/intel-media-19.2.1-fix-bogus-cflag.patch
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
@ -110,7 +109,7 @@ install -m 644 ../LICENSE.md ../README.md ../docs/media_features.md \
install -D -m 644 $CWD/intel-media.sh $PKG/etc/profile.d/intel-media.sh
install -m 644 $CWD/intel-media.csh $PKG/etc/profile.d/intel-media.csh
# Copy slack-desc and doinst.sh files
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos

Loading…
Cancel
Save