diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
commit | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch) | |
tree | b4cfe2332c7a6c5da27b6985bf05db4508df1a92 /media-libs/libaom/libaom-9999.ebuild | |
parent | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff) |
gentoo resync : 20.02.2019
Diffstat (limited to 'media-libs/libaom/libaom-9999.ebuild')
-rw-r--r-- | media-libs/libaom/libaom-9999.ebuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/media-libs/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild index e0f9c64ac4f3..3dbea1ddc955 100644 --- a/media-libs/libaom/libaom-9999.ebuild +++ b/media-libs/libaom/libaom-9999.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + inherit cmake-multilib if [[ ${PV} == *9999* ]]; then @@ -28,8 +29,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,17 +42,7 @@ 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" ) - -src_prepare() { - sed -e 's/lib"/lib${LIB_SUFFIX}"/' -i CMakeLists.txt || die - cmake-utils_src_prepare -} +PATCHES=( "${FILESDIR}/pthread_lib2.patch" ) multilib_src_configure() { local mycmakeargs=( @@ -58,7 +53,6 @@ multilib_src_configure() { -DENABLE_WERROR=OFF -DENABLE_NEON=$(usex cpu_flags_arm_neon ON OFF) - -DENABLE_NEON_ASM=$(usex cpu_flags_arm_neon ON OFF) # ENABLE_DSPR2 / ENABLE_MSA for mips -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF) -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF) @@ -68,17 +62,13 @@ 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 - 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-utils_src_install } |