diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /media-libs/libaom/libaom-1.0.0-r2.ebuild | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'media-libs/libaom/libaom-1.0.0-r2.ebuild')
-rw-r--r-- | media-libs/libaom/libaom-1.0.0-r2.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/media-libs/libaom/libaom-1.0.0-r2.ebuild b/media-libs/libaom/libaom-1.0.0-r2.ebuild index 7ff67cd2f15e..3565b7b17727 100644 --- a/media-libs/libaom/libaom-1.0.0-r2.ebuild +++ b/media-libs/libaom/libaom-1.0.0-r2.ebuild @@ -1,7 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +CMAKE_ECLASS=cmake inherit cmake-multilib if [[ ${PV} == *9999* ]]; then @@ -16,7 +18,7 @@ else SRC_URI="mirror://gentoo/${P}.tar.gz" S="${WORKDIR}" fi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ppc ppc64 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86" fi DESCRIPTION="Alliance for Open Media AV1 Codec SDK" @@ -28,8 +30,12 @@ IUSE="doc examples" IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_avx cpu_flags_x86_avx2" IUSE="${IUSE} cpu_flags_arm_neon" -RDEPEND="" -DEPEND="abi_x86_32? ( dev-lang/yasm ) +REQUIRED_USE=" + cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) + cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) +" + +BDEPEND="abi_x86_32? ( dev-lang/yasm ) abi_x86_64? ( dev-lang/yasm ) abi_x86_x32? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm ) @@ -37,11 +43,6 @@ DEPEND="abi_x86_32? ( dev-lang/yasm ) doc? ( app-doc/doxygen ) " -REQUIRED_USE=" - cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) - cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) -" - PATCHES=( "${FILESDIR}/libdirpc2.patch" "${FILESDIR}/pthread_lib2.patch" @@ -55,7 +56,7 @@ DOCS=( PATENTS ) src_prepare() { sed -e 's/lib"/lib${LIB_SUFFIX}"/' -i CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } multilib_src_configure() { @@ -77,17 +78,14 @@ multilib_src_configure() { -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF) -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF) -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) - - -DBUILD_SHARED_LIBS=ON ) - cmake-utils_src_configure + cmake_src_configure rm aom.pc # ensure it is rebuilt with proper libdir } multilib_src_install() { - cmake-utils_src_install if multilib_is_native_abi && use doc ; then - docinto html - dodoc docs/html/* + local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) fi + cmake_src_install } |