diff options
Diffstat (limited to 'media-libs/openjpeg/openjpeg-2.1.0.ebuild')
-rw-r--r-- | media-libs/openjpeg/openjpeg-2.1.0.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/media-libs/openjpeg/openjpeg-2.1.0.ebuild b/media-libs/openjpeg/openjpeg-2.1.0.ebuild deleted file mode 100644 index f2e23b516750..000000000000 --- a/media-libs/openjpeg/openjpeg-2.1.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit cmake-utils multilib - -DESCRIPTION="An open-source JPEG 2000 library" -HOMEPAGE="https://github.com/uclouvain/openjpeg" -SRC_URI="mirror://sourceforge/${PN}.mirror/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="2/7" # based on SONAME -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs test" - -RDEPEND="media-libs/lcms:2=[static-libs?] - media-libs/libpng:0=[static-libs?] - media-libs/tiff:0=[static-libs?] - sys-libs/zlib:=[static-libs?]" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -DOCS=( AUTHORS CHANGES NEWS README THANKS ) - -RESTRICT="test" #409263 - -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 -} - -src_configure() { - local mycmakeargs=( - -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)" - $(cmake-utils_use_build doc) - $(cmake-utils_use_build test TESTING) - ) - - cmake-utils_src_configure - - if use static-libs; then - mycmakeargs=( - -DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)" - $(cmake-utils_use_build test TESTING) - -DBUILD_SHARED_LIBS=OFF - ) - BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure - fi -} - -src_compile() { - cmake-utils_src_compile - - if use static-libs; then - BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_compile - fi -} - -src_install() { - if use static-libs; then - BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_install - #static bins overwritten by shared install - fi - - cmake-utils_src_install -} |