diff options
author | Adrien Nader <adrien@notk.org> | 2015-03-02 21:39:37 +0100 |
---|---|---|
committer | Adrien Nader <adrien@notk.org> | 2015-03-02 21:39:37 +0100 |
commit | fb4e8b167c3ae798c8e2b97203a0cef8869f9e00 (patch) | |
tree | a90f30330cada6712429a38dd07493c5e443ca32 | |
parent | ac20b4c8f48af44ef66efe872e7389e43e0e5feb (diff) |
openjpeg: enable JPIP, JP3D, .pc files (all upstream ones).
-rw-r--r-- | libraries/openjpeg/openjpeg.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/openjpeg/openjpeg.SlackBuild b/libraries/openjpeg/openjpeg.SlackBuild index 629d915691..6b925f01a7 100644 --- a/libraries/openjpeg/openjpeg.SlackBuild +++ b/libraries/openjpeg/openjpeg.SlackBuild @@ -47,6 +47,8 @@ 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 {} \; +sed -i '/typedef SSIZE_T ssize_t;/ d' src/lib/openjpip/sock_manager.c + mkdir -p build cd build cmake \ @@ -61,7 +63,9 @@ cd build -DOPENJPEG_INSTALL_DOC_DIR="doc/$PRGNAM-$VERSION/" \ -DBUILD_JPWL:BOOL=ON \ -DBUILD_MJ2:BOOL=ON \ - -DBUILD_JPIP:BOOL=OFF \ + -DBUILD_JPIP:BOOL=ON \ + -DBUILD_JP3D:BOOL=ON \ + -DBUILD_PKGCONFIG_FILES:BOOL=ON \ -DCMAKE_SYSTEM_NAME=Windows \ -DCMAKE_C_COMPILER=${HOST_TRIPLET}-gcc \ -DCMAKE_FIND_ROOT_PATH=/${PREFIX} \ |