1
0
forked from ports/contrib

jasper: 2.0.23 -> 2.0.24

This commit is contained in:
Danny Rawlins 2021-01-09 17:52:19 +11:00
parent d8742ad7a7
commit 2782eae6f2
2 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38sRqBY7cOkWUoDsDGlNx3D2jHVjzI7eGje/8g1zg6QCZf8KS3dkajKzvmf1xQ1GxMquVEO5QlBaNHYphRHJPAM=
SHA256 (Pkgfile) = 3fd674d1063597c3303a53e87d263d0bf058930a8037daad60d671edd1216a29
RWSagIOpLGJF3y4cUZB5hR7kaMRFjRNuFkHacvloHEkHUZarjbYlpLYxdtPn8okt4UxG5fCiutfp8gVmPKz1bHqJ9jKshuEpngs=
SHA256 (Pkgfile) = 2a7a7f3e8bae43a03108f8a0a12630b87aa8edde7c7acb33765524d35122abf0
SHA256 (.footprint) = 2663af88aeb3fd06c40efc05558af405f50dbda6d410a36f3b02f005e0f0abf0
SHA256 (jasper-2.0.23.tar.gz) = 20facc904bd9d38c20e0c090b1be3ae02ae5b2703b803013be2ecad586a18927
SHA256 (jasper-2.0.24.tar.gz) = d2d28e115968d38499163cf8086179503668ce0d71b90dd33855b3de96a1ca1d
SHA256 (jasper-1.900.1-fix-filename-buffer-overflow.patch) = f51377e9b3e4faaa6b17b2d5fcf6f6d94fe2916a65dc9c78b5a99b891f5726dc

View File

@ -4,7 +4,7 @@
# Depends on: freeglut libjpeg-turbo xorg-libxmu
name=jasper
version=2.0.23
version=2.0.24
release=1
source=(https://github.com/jasper-software/jasper/archive/version-$version/$name-$version.tar.gz
jasper-1.900.1-fix-filename-buffer-overflow.patch)
@ -18,24 +18,24 @@ build() {
mkdir -p build-{shared,static}
local config="
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_BUILD_TYPE=Release
-DJAS_ENABLE_OPENGL=ON
-DJAS_ENABLE_LIBJPEG=ON
-DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF
-DCMAKE_SKIP_RPATH=ON
-DOpenGL_GL_PREFERENCE=GLVND"
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_INSTALL_LIBDIR=lib
-D CMAKE_BUILD_TYPE=Release
-D JAS_ENABLE_OPENGL=ON
-D JAS_ENABLE_LIBJPEG=ON
-D JAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF
-D CMAKE_SKIP_RPATH=ON
-D OpenGL_GL_PREFERENCE=GLVND"
#build static lib
(cd build-static
cmake .. $config -DJAS_ENABLE_SHARED=OFF
( cd build-static
cmake .. $config -D JAS_ENABLE_SHARED=OFF
make
)
#build shared lib
(cd build-shared
cmake .. $config -DJAS_ENABLE_SHARED=ON
( cd build-shared
cmake .. $config -D JAS_ENABLE_SHARED=ON
make
)