Fix dependency for pkg-config (issue #594) (#795)

openjpeg provides libopenjp2.pc, so the require statements must refer to
libopenjp2 instead of openjp2.
Fixes #594

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-07-12 00:45:51 +02:00 committed by Mathieu Malaterre
parent 37b1679a27
commit ae2095ef14
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Name: openjpip
Description: JPEG2000 Interactivity tools, APIs and protocols (Part 9) Description: JPEG2000 Interactivity tools, APIs and protocols (Part 9)
URL: http://www.openjpeg.org/ URL: http://www.openjpeg.org/
Version: @OPENJPEG_VERSION@ Version: @OPENJPEG_VERSION@
Requires: openjp2 Requires: libopenjp2
Libs: -L${libdir} -lopenjpip Libs: -L${libdir} -lopenjpip
Libs.private: -lm -lcurl -lfcgi -lpthread Libs.private: -lm -lcurl -lfcgi -lpthread
Cflags: -I${includedir} Cflags: -I${includedir}

View File

@ -9,7 +9,7 @@ Name: openjpwl
Description: JPEG2000 Wireless library (Part 11) Description: JPEG2000 Wireless library (Part 11)
URL: http://www.openjpeg.org/ URL: http://www.openjpeg.org/
Version: @OPENJPEG_VERSION@ Version: @OPENJPEG_VERSION@
Requires: openjp2 Requires: libopenjp2
Libs: -L${libdir} -lopenjpwl Libs: -L${libdir} -lopenjpwl
Libs.private: -lm Libs.private: -lm
Cflags: -I${includedir} Cflags: -I${includedir}