Gentoo added jasper back to the main tree. It has newer version and
it's better maintained. No more reasons to keep it in the overlay.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 84f79a8db7
)
r14.1.x
parent
eadddd91f8
commit
826868a075
@ -1 +0,0 @@
|
|||||||
DIST jasper-2.0.16.tar.gz 1311944 BLAKE2B 7402a3f08911e375ab51d531c8bcc57ccb3266763f2d92f45070e52697b99ca41dab4032a3d795105c05ddccd0641a6de24a6d7b148635efce37cd0be07c3e65 SHA512 b3bca227f833567c9061c4a29c0599784ed6a131b5cceddfd1696542d19add821eda445ce6d83782b454b266723b24d0f028cbc644a25c0e3a75304e615b34ee
|
|
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Copyright 2020 The Trinity Desktop Project
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="8"
|
|
||||||
CMAKE_ECLASS="cmake"
|
|
||||||
inherit cmake-multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard"
|
|
||||||
HOMEPAGE="https://www.ece.uvic.ca/~mdadams/jasper/"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/mdadams/jasper.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/mdadams/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
|
||||||
S="${WORKDIR}/${PN}-version-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We limit memory usage to 128 MiB by default, specified in bytes
|
|
||||||
: ${JASPER_MEM_LIMIT:=134217728}
|
|
||||||
|
|
||||||
LICENSE="JasPer2.0"
|
|
||||||
SLOT="0/4"
|
|
||||||
IUSE="doc jpeg opengl"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
|
|
||||||
opengl? (
|
|
||||||
>=virtual/opengl-7.0-r1:0[${MULTILIB_USEDEP}]
|
|
||||||
>=media-libs/freeglut-2.8.1:0[${MULTILIB_USEDEP}]
|
|
||||||
virtual/glu[${MULTILIB_USEDEP}]
|
|
||||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
|
||||||
x11-libs/libXmu[${MULTILIB_USEDEP}]
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
doc? ( app-text/doxygen )
|
|
||||||
"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DALLOW_IN_SOURCE_BUILD=OFF
|
|
||||||
-DBASH_PROGRAM="${EPREFIX}"/bin/bash
|
|
||||||
-DJAS_ENABLE_ASAN=OFF
|
|
||||||
-DJAS_ENABLE_LSAN=OFF
|
|
||||||
-DJAS_ENABLE_MSAN=OFF
|
|
||||||
-DJAS_ENABLE_SHARED=ON
|
|
||||||
-DJAS_ENABLE_STRICT=ON
|
|
||||||
-DJAS_ENABLE_USAN=OFF
|
|
||||||
-DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
|
|
||||||
|
|
||||||
# JPEG
|
|
||||||
-DJAS_ENABLE_LIBJPEG=$(usex jpeg)
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg)
|
|
||||||
|
|
||||||
# OpenGL
|
|
||||||
-DJAS_ENABLE_OPENGL=$(usex opengl)
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=$(usex !opengl)
|
|
||||||
|
|
||||||
# Doxygen
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON)
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Copyright 2020 The Trinity Desktop Project
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="8"
|
|
||||||
CMAKE_ECLASS="cmake"
|
|
||||||
inherit cmake-multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard"
|
|
||||||
HOMEPAGE="https://www.ece.uvic.ca/~mdadams/jasper/"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/mdadams/jasper.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/mdadams/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
|
||||||
S="${WORKDIR}/${PN}-version-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We limit memory usage to 128 MiB by default, specified in bytes
|
|
||||||
: ${JASPER_MEM_LIMIT:=134217728}
|
|
||||||
|
|
||||||
LICENSE="JasPer2.0"
|
|
||||||
SLOT="0/4"
|
|
||||||
IUSE="doc jpeg opengl"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
|
|
||||||
opengl? (
|
|
||||||
>=virtual/opengl-7.0-r1:0[${MULTILIB_USEDEP}]
|
|
||||||
>=media-libs/freeglut-2.8.1:0[${MULTILIB_USEDEP}]
|
|
||||||
virtual/glu[${MULTILIB_USEDEP}]
|
|
||||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
|
||||||
x11-libs/libXmu[${MULTILIB_USEDEP}]
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
doc? ( app-text/doxygen )
|
|
||||||
"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DALLOW_IN_SOURCE_BUILD=OFF
|
|
||||||
-DBASH_PROGRAM="${EPREFIX}"/bin/bash
|
|
||||||
-DJAS_ENABLE_ASAN=OFF
|
|
||||||
-DJAS_ENABLE_LSAN=OFF
|
|
||||||
-DJAS_ENABLE_MSAN=OFF
|
|
||||||
-DJAS_ENABLE_SHARED=ON
|
|
||||||
-DJAS_ENABLE_STRICT=ON
|
|
||||||
-DJAS_ENABLE_USAN=OFF
|
|
||||||
-DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
|
|
||||||
|
|
||||||
# JPEG
|
|
||||||
-DJAS_ENABLE_LIBJPEG=$(usex jpeg)
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg)
|
|
||||||
|
|
||||||
# OpenGL
|
|
||||||
-DJAS_ENABLE_OPENGL=$(usex opengl)
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=$(usex !opengl)
|
|
||||||
|
|
||||||
# Doxygen
|
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON)
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
</pkgmetadata>
|
|
Loading…
Reference in new issue