graphics/renderdoc: Updated for version 1.11.

Signed-off-by: orbea <orbea@riseup.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
orbea 2020-12-28 15:25:24 -08:00 committed by Willy Sudiarto Raharjo
parent 3b9c954d76
commit f23e6bb5fd
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 26 additions and 8 deletions

View File

@ -4,3 +4,9 @@ any application using Vulkan, D3D11, OpenGL & OpenGL ES or D3D12.
qt5 and python3 are optional dependencies required to build the
qrenderdoc GUI.
To disable building the qrenderdoc GUI use:
QT=no ./renderdoc.SlackBuild
To build debugging symbols use:
DEBUG=yes ./renderdoc.SlackBuild

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=renderdoc
VERSION=${VERSION:-1.10}
VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -64,7 +64,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if pkg-config --exists python3 && pkg-config --exists Qt5Core; then
if [ "${DEBUG:=0}" != 0 ]; then
RELEASE=Debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
else
RELEASE=Release
fi
if [ "${QT:-yes}" = yes ] && pkg-config --exists Qt5Core python3; then
GUI=ON
else
GUI=OFF
@ -89,13 +96,18 @@ cd build
-DBUILD_VERSION_STABLE=ON \
-DBUILD_VERSION_DIST_NAME=slackware \
-DBUILD_VERSION_DIST_CONTACT='https://lists.slackbuilds.org/' \
-DCMAKE_BUILD_TYPE=Release ..
-DCMAKE_BUILD_TYPE=$RELEASE ..
make
make install DESTDIR=$PKG
cd ..
# renderdoc explicity depends on CMAKE_INSTALL_RPATH
# -DCMAKE_SKIP_RPATH=TRUE \
if [ "$DEBUG" = 0 ]; then
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
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,11 +1,11 @@
PRGNAM="renderdoc"
VERSION="1.10"
VERSION="1.11"
HOMEPAGE="https://renderdoc.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/baldurk/renderdoc/archive/v1.10/renderdoc-1.10.tar.gz \
DOWNLOAD_x86_64="https://github.com/baldurk/renderdoc/archive/v1.11/renderdoc-1.11.tar.gz \
https://github.com/baldurk/swig/archive/renderdoc-modified-7/swig-renderdoc-modified-7.tar.gz"
MD5SUM_x86_64="e7007dcb83197431af85ce73f0c0565d \
MD5SUM_x86_64="023a7cb3d7980a1aa054695059262b86 \
5558ee4e2fcf33b8dceb191ed4795a23"
REQUIRES=""
MAINTAINER="Hunter Sezen"