diff options
author | orbea <orbea@riseup.net> | 2020-12-28 15:25:24 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-02 10:48:35 +0700 |
commit | f23e6bb5fdbcac89943a83dd0fa9e0f25ce965fb (patch) | |
tree | 86ed986f05836a20025bf054391fcc6d55643b20 | |
parent | 3b9c954d76af822fc0ebfa724ff6bd9abc14441e (diff) | |
download | slackbuilds-f23e6bb5fdbcac89943a83dd0fa9e0f25ce965fb.tar.gz |
graphics/renderdoc: Updated for version 1.11.
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/renderdoc/README | 6 | ||||
-rw-r--r-- | graphics/renderdoc/renderdoc.SlackBuild | 22 | ||||
-rw-r--r-- | graphics/renderdoc/renderdoc.info | 6 |
3 files changed, 26 insertions, 8 deletions
diff --git a/graphics/renderdoc/README b/graphics/renderdoc/README index 1319c62737..415012ab7d 100644 --- a/graphics/renderdoc/README +++ b/graphics/renderdoc/README @@ -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 diff --git a/graphics/renderdoc/renderdoc.SlackBuild b/graphics/renderdoc/renderdoc.SlackBuild index 660ade67b2..573f723403 100644 --- a/graphics/renderdoc/renderdoc.SlackBuild +++ b/graphics/renderdoc/renderdoc.SlackBuild @@ -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 .. -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 +# 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 diff --git a/graphics/renderdoc/renderdoc.info b/graphics/renderdoc/renderdoc.info index 951655327a..5fcede2da5 100644 --- a/graphics/renderdoc/renderdoc.info +++ b/graphics/renderdoc/renderdoc.info @@ -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" |