10 |
10 |
inherit git-r3
|
11 |
11 |
EGIT_REPO_URI="https://aomedia.googlesource.com/aom"
|
12 |
12 |
else
|
13 |
|
SRC_URI="https://storage.googleapis.com/aom-releases/${P}.tar.gz"
|
14 |
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
|
|
13 |
# To update test data tarball, follow these steps:
|
|
14 |
# 1. Clone the upstream repo and check out the relevant tag,
|
|
15 |
# or download the release tarball
|
|
16 |
# 2. Regular cmake configure (options don't matter here):
|
|
17 |
# cd build && cmake ..
|
|
18 |
# 3. Set LIBAOM_TEST_DATA_PATH to the directory you want and
|
|
19 |
# run the "make testdata" target:
|
|
20 |
# LIBAOM_TEST_DATA_PATH=../libaom-1.2.3-testdata make testdata
|
|
21 |
# This will download the test data from the internet.
|
|
22 |
# 4. Create a tarball out of that directory.
|
|
23 |
# cd .. && tar cvzf libaom-1.2.3-testdata.tar.gz libaom-1.2.3-testdata
|
|
24 |
SRC_URI="https://storage.googleapis.com/aom-releases/${P}.tar.gz
|
|
25 |
test? ( https://dev.gentoo.org/~ionen/distfiles/${P}-testdata.tar.gz )"
|
|
26 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
15 |
27 |
fi
|
16 |
28 |
|
17 |
29 |
DESCRIPTION="Alliance for Open Media AV1 Codec SDK"
|
... | ... | |
23 |
35 |
IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3"
|
24 |
36 |
IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2"
|
25 |
37 |
IUSE="${IUSE} cpu_flags_arm_neon"
|
26 |
|
# Tests need more wiring up
|
27 |
|
RESTRICT="!test? ( test ) test"
|
|
38 |
RESTRICT="!test? ( test )"
|
28 |
39 |
|
29 |
40 |
REQUIRED_USE="
|
30 |
41 |
cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
|
... | ... | |
97 |
108 |
}
|
98 |
109 |
|
99 |
110 |
multilib_src_test() {
|
100 |
|
"${BUILD_DIR}"/test_libaom || die
|
|
111 |
LIBAOM_TEST_DATA_PATH="${WORKDIR}/${P}-testdata" "${BUILD_DIR}"/test_libaom || die
|
101 |
112 |
}
|
102 |
113 |
|
103 |
114 |
multilib_src_install() {
|