Skip to content

Commit

Permalink
graphics/waifu2x-converter-cpp: convert to USES=cmake:testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed May 18, 2021
1 parent 67a311c commit 0534139
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graphics/waifu2x-converter-cpp/Makefile
Expand Up @@ -15,14 +15,14 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl
LIB_DEPENDS= libopencv_imgcodecs.so:graphics/opencv

USES= cmake compiler:c++17-lang localbase:ldflags
USES= cmake:testing compiler:c++17-lang localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= DeadSix27
CMAKE_ON= INSTALL_MODELS
CMAKE_TESTING_ON= ENABLE_TESTS
CMAKE_ARGS= -DOPENCV_PREFIX:PATH="${LOCALBASE}" \
-DOpenCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libOpenCL.so"
CMAKE_ON= INSTALL_MODELS ENABLE_TESTS
TEST_TARGET= test
PLIST_FILES= bin/${PORTNAME} \
include/w2xconv.h \
lib/libw2xc.so
Expand Down

0 comments on commit 0534139

Please sign in to comment.