summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <jchelmert3@posteo.net>2020-07-30 02:01:27 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-23 19:12:57 +0100
commit3ba62aa6a060734ae14a0e6f978c584746635248 (patch)
treecf3f9641dcfaf871302f91caa0735e9fb53eba53 /media-libs/openjpeg
parentmedia-gfx/xpaint: Drop 2.10.2 (r0) (diff)
downloadgentoo-3ba62aa6a060734ae14a0e6f978c584746635248.tar.gz
gentoo-3ba62aa6a060734ae14a0e6f978c584746635248.tar.bz2
gentoo-3ba62aa6a060734ae14a0e6f978c584746635248.zip
media-libs/openjpeg: Security cleanup (drop :0)
Bug: https://bugs.gentoo.org/711260 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/16909 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/openjpeg')
-rw-r--r--media-libs/openjpeg/Manifest1
-rw-r--r--media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild77
2 files changed, 0 insertions, 78 deletions
diff --git a/media-libs/openjpeg/Manifest b/media-libs/openjpeg/Manifest
index 0179013e339c..4421745b1143 100644
--- a/media-libs/openjpeg/Manifest
+++ b/media-libs/openjpeg/Manifest
@@ -1,4 +1,3 @@
-DIST openjpeg-1.5.2.tar.gz 1385702 BLAKE2B 936ab6e0fb48f2839df13113c716c39b9572bd590206cd823dedccfd4001444d73a81ccbf82616a40a35ad8b1fae8d2f08d7c265a771d9d9ef413beac5e84ac1 SHA512 b945cf4f8b5e3227a0c07120c94b0ed5bf30c901de73059ee1d47975f46744fb62bbe84cdb2917c6431128f400020874eb07160af870b5448ced897998b08862
DIST openjpeg-2.3.1.tar.gz 2214401 BLAKE2B ecc7e573592a5302dcdbade791f6aa6e48f6791c7412fdd44976f3619c8fc0cca7d904fa42013f33ab17dd0f569a76d3c49a73eccaf0a749d34f305362367af9 SHA512 339fbc899bddf2393d214df71ed5d6070a3a76b933b1e75576c8a0ae9dfcc4adec40bdc544f599e4b8d0bc173e4e9e7352408497b5b3c9356985605830c26c03
DIST openjpeg-2.4.0.tar.gz 2233229 BLAKE2B ab8907638ac041ce7dcbcbcd9624ea5e4b7542c9ec38a850e363c071c27c4bc8b16e207700b12e67d8d32bdd9b0838735bede27084090ce95105d32c539b09cf SHA512 55daab47d33823af94e32e5d345b52c251a5410f0c8e0a13b693f17899eedc8b2bb107489ddcba9ab78ef17dfd7cd80d3c5ec80c1e429189cb041124b67e07a8
DIST openjpeg-data_20180620.tar.gz 497894373 BLAKE2B 3a596f8f9ee56037bf567b6f2d3731b97299dba24e0c9d3562d38c15ddf58d352a918edaccb528f054cf288f87d6362d90d3450d4a5b968e9c8dfe05f54d89fe SHA512 32189a10c4d8cf00c23cda455f9e4353deb2175189d85f9b3aab1c4375a02a491ec2de89815725ebbcaea86c2c7ab274b89ee2583ffd8bf0dc32d4fc2d8f7507
diff --git a/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild b/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild
deleted file mode 100644
index 59ab4ced81a1..000000000000
--- a/media-libs/openjpeg/openjpeg-1.5.2-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-multilib
-
-DESCRIPTION="An open-source JPEG 2000 library"
-HOMEPAGE="https://www.openjpeg.org"
-SRC_URI="mirror://sourceforge/${PN}.mirror/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0/5" # based on SONAME
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc static-libs test"
-
-RDEPEND="
- media-libs/lcms:2=
- media-libs/libpng:0=
- media-libs/tiff:0=
- sys-libs/zlib:="
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
-
-DOCS=( AUTHORS CHANGES NEWS README THANKS )
-
-RESTRICT="test" # bug 409263
-
-src_prepare() {
- cmake-utils_src_prepare
- # Stop installing LICENSE file, and install CHANGES from DOCS instead:
- sed -i -e '/INSTALL.*FILES.*DESTINATION.*OPENJPEG_INSTALL_DOC_DIR/d' CMakeLists.txt || die
-}
-
-multilib_src_configure() {
- local mycmakeargs=(
- -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
- -DBUILD_TESTING=$(usex test)
- -DBUILD_DOC=$(multilib_native_usex doc ON OFF)
- -DBUILD_CODEC=$(multilib_is_native_abi && echo ON || echo OFF)
- )
-
- cmake-utils_src_configure
-
- if use static-libs; then
- mycmakeargs=(
- -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
- -DBUILD_TESTING=$(usex test)
- -DBUILD_SHARED_LIBS=OFF
- -DBUILD_CODEC=OFF
- )
- BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure
- fi
-}
-
-multilib_src_compile() {
- cmake-utils_src_compile
-
- if use static-libs; then
- BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_compile
- fi
-}
-
-multilib_src_install() {
- if use static-libs; then
- BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_install
- fi
-
- cmake-utils_src_install
-
- dosym openjpeg-1.5/openjpeg.h /usr/include/openjpeg.h
- dosym libopenjpeg1.pc /usr/$(get_libdir)/pkgconfig/libopenjpeg.pc
-
- if use doc && multilib_is_native_abi; then
- dodoc -r doc/html
- fi
-}