# HG changeset patch # User Hans-G?nter Theisgen # Date 1647079908 -3600 # Node ID 73f2eb72a8fe8b28f858716fce501fa8d34c8824 # Parent 6ee95ce8dd55b281c6900fed8f10d33e177b166c updated jasper and jasper-dev (2.0.16 -> 3.0.2) diff -r 6ee95ce8dd55 -r 73f2eb72a8fe jasper-dev/receipt --- a/jasper-dev/receipt Sat Mar 12 10:51:35 2022 +0100 +++ b/jasper-dev/receipt Sat Mar 12 11:11:48 2022 +0100 @@ -1,23 +1,20 @@ # SliTaz package receipt. PACKAGE="jasper-dev" -VERSION="2.0.16" +VERSION="3.0.2" CATEGORY="development" SHORT_DESC="Jasper development files." MAINTAINER="jozee@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.ece.uvic.ca/~mdadams/jasper/" +WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" +DEPENDS="jasper pkg-config" WANTED="jasper" -DEPENDS="jasper pkg-config" + HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - - #cp -a $install/usr/lib/*.*a $fs/usr/lib - #cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + get_dev_files } diff -r 6ee95ce8dd55 -r 73f2eb72a8fe jasper/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jasper/description.txt Sat Mar 12 11:11:48 2022 +0100 @@ -0,0 +1,14 @@ +The JasPer Project is an open-source initiative to provide a free +software-based reference implementation of the codec specified in +the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). +This project was started as a collaborative effort between Image +Power, Inc. and the University of British Columbia. +Presently, the ongoing maintenance and development of the JasPer +software is being coordinated by its principal author, Michael Adams, +who is affiliated with the Digital Signal Processing Group (DSPG) +in the Department of Electrical and Computer Engineering at the +University of Victoria. + +JasPer includes a software-based implementation of the codec +specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). +The JasPer software is written in the C programming language. diff -r 6ee95ce8dd55 -r 73f2eb72a8fe jasper/receipt --- a/jasper/receipt Sat Mar 12 10:51:35 2022 +0100 +++ b/jasper/receipt Sat Mar 12 11:11:48 2022 +0100 @@ -1,19 +1,20 @@ # SliTaz package receipt. PACKAGE="jasper" -VERSION="2.0.16" +VERSION="3.0.2" CATEGORY="graphics" TAGS="jpeg jpg photo" SHORT_DESC="Implementation of JPEG-2000 codec." MAINTAINER="jozee@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" +WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz" DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu" BUILD_DEPENDS="cmake jpeg-dev xorg-libXi-dev xorg-libXmu-dev" + HOST_ARCH="i486 arm" current_version() @@ -25,22 +26,19 @@ # Rules to configure and make the package. compile_rules() { - mkdir builddir - cmake . \ + mkdir _build && + cd _build && + cmake .. \ -G "Unix Makefiles" \ - -Bbuilddir \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DJAS_ENABLE_SHARED=yes && - cd builddir - make -j 1 && - make DESTDIR=$DESTDIR install - + -D CMAKE_INSTALL_PREFIX=/usr \ + -D JAS_ENABLE_SHARED=yes && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*so* $fs/usr/lib + cook_copy_folders bin + cook_copy_files *.so* }