From 34f316d5943e2bc9782f82fa5e421ae66aaf4ee4 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 16 Mar 2019 23:59:31 +0000 Subject: [PATCH] graphics/nvidia-texture-tools: remove COMPRESSUI option (Qt4 deprecation) Approved by: portmgr (implicit) --- graphics/nvidia-texture-tools/Makefile | 23 ++--------------------- graphics/nvidia-texture-tools/pkg-plist | 1 - 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/graphics/nvidia-texture-tools/Makefile b/graphics/nvidia-texture-tools/Makefile index 077eafbe8aa8..6b29585b5696 100644 --- a/graphics/nvidia-texture-tools/Makefile +++ b/graphics/nvidia-texture-tools/Makefile @@ -3,7 +3,7 @@ PORTNAME= nvidia-texture-tools PORTVERSION= 2.0.8.1 # needed to not bump PORTEPOCH; remove on next update -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org @@ -31,28 +31,9 @@ CXXFLAGS+= -fPIC PORTDOCS= NVIDIA_Texture_Tools_README.txt ChangeLog -OPTIONS_DEFINE= COMPRESSUI DOCS +OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes -COMPRESSUI_DESC=Build compressor UI (requires Qt4) -COMPRESSUI_USES= qt:4 -COMPRESSUI_USE= QT=qmake_build,moc_build,uic_build,rcc_build,corelib,gui,opengl - -.include - -.if ${PORT_OPTIONS:MCOMPRESSUI} -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 -.endif - -post-patch-COMPRESSUI-on: - @${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ s|)$$| REQUIRED&|' \ - ${WRKSRC}/src/CMakeLists.txt - -post-patch-COMPRESSUI-off: - @${REINPLACE_CMD} -e '/FIND_PACKAGE.*Qt4/ d' \ - ${WRKSRC}/src/CMakeLists.txt - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} diff --git a/graphics/nvidia-texture-tools/pkg-plist b/graphics/nvidia-texture-tools/pkg-plist index 4edd49cbe836..772e8eccd79c 100644 --- a/graphics/nvidia-texture-tools/pkg-plist +++ b/graphics/nvidia-texture-tools/pkg-plist @@ -1,6 +1,5 @@ bin/nvassemble bin/nvcompress -%%COMPRESSUI%%bin/nvcompressui bin/nvddsinfo bin/nvdecompress bin/nvimgdiff