From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
Date: Fri, 3 Jul 2020 16:15:48 +0000 (UTC) [thread overview]
Message-ID: <1593792921.2c614ff3eadeaac60d0f62d34b1f21db3869fceb.whissi@gentoo> (raw)
commit: 2c614ff3eadeaac60d0f62d34b1f21db3869fceb
Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
AuthorDate: Fri Jul 3 14:07:22 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jul 3 16:15:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c614ff3
media-libs/openh264: fix cross compiling
Closes: https://bugs.gentoo.org/730520
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/16571
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 1247581b4db..b18de1c269b 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cpu_flags_x86_avx2 +plugin utils"
+IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
@@ -36,24 +36,29 @@ multilib_src_configure() {
}
emakecmd() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \
PREFIX="${EPREFIX}/usr" \
LIBDIR_NAME="$(get_libdir)" \
SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \
HAVE_AVX2=$(usex cpu_flags_x86_avx2 Yes No) \
+ ARCH="$(tc-arch)" \
$@
}
multilib_src_compile() {
- local mybits="ENABLE64BIT=No"
+ local myopts="ENABLE64BIT=No"
case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
+ s390x|alpha|*64) myopts="ENABLE64BIT=Yes";;
esac
- emakecmd ${mybits}
- use plugin && emakecmd ${mybits} plugin
+ if use arm; then
+ myopts+=" USE_ASM=$(usex cpu_flags_arm_neon Yes No)"
+ fi
+
+ emakecmd ${myopts}
+ use plugin && emakecmd ${myopts} plugin
}
multilib_src_install() {
next reply other threads:[~2020-07-03 16:15 UTC|newest]
Thread overview: 125+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-03 16:15 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 9:31 [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/ Joonas Niilola
2025-02-23 0:11 Jakov Smolić
2025-02-22 20:52 Sam James
2025-02-22 20:52 Sam James
2025-02-13 7:01 Joonas Niilola
2025-02-08 8:00 Joonas Niilola
2025-01-04 16:17 Sam James
2025-01-04 16:17 Sam James
2025-01-02 14:00 Sam James
2025-01-02 6:43 Joonas Niilola
2025-01-02 6:43 Joonas Niilola
2024-11-13 11:45 Joonas Niilola
2024-04-01 6:47 Joonas Niilola
2024-03-19 9:16 Sam James
2024-03-18 7:21 Sam James
2024-03-18 6:43 Joonas Niilola
2024-03-18 5:50 Joonas Niilola
2024-02-03 8:27 Joonas Niilola
2024-02-02 4:21 Ionen Wolkens
2024-01-20 18:35 Arthur Zamarin
2024-01-20 18:35 Arthur Zamarin
2024-01-20 18:35 Arthur Zamarin
2024-01-20 14:05 Joonas Niilola
2024-01-20 14:05 Joonas Niilola
2023-12-08 6:50 Joonas Niilola
2023-11-30 5:58 Arthur Zamarin
2023-11-25 8:55 Joonas Niilola
2023-10-02 10:48 Sam James
2023-10-02 10:14 Arthur Zamarin
2023-10-02 10:14 Arthur Zamarin
2023-10-02 6:35 Joonas Niilola
2023-10-02 6:35 Joonas Niilola
2023-10-02 6:27 Joonas Niilola
2023-08-31 7:07 Joonas Niilola
2023-08-26 4:37 Joonas Niilola
2023-07-27 7:43 Joonas Niilola
2023-04-08 17:56 Arthur Zamarin
2023-01-30 6:16 Joonas Niilola
2023-01-15 15:12 Sam James
2023-01-15 15:12 Sam James
2023-01-15 15:12 Sam James
2023-01-15 8:48 Georgy Yakovlev
2022-11-29 15:58 WANG Xuerui
2022-10-25 11:35 Joonas Niilola
2022-10-25 9:49 Joonas Niilola
2022-10-25 9:45 Arthur Zamarin
2022-09-21 10:26 Joonas Niilola
2022-09-21 6:50 Joonas Niilola
2022-09-09 5:26 Joonas Niilola
2022-09-02 10:41 Arthur Zamarin
2022-09-02 10:41 Arthur Zamarin
2022-09-02 8:37 Arthur Zamarin
2022-09-02 6:37 Arthur Zamarin
2022-09-02 6:37 Arthur Zamarin
2022-09-02 6:09 Joonas Niilola
2022-09-02 6:09 Joonas Niilola
2022-03-20 6:22 Joonas Niilola
2022-03-12 12:01 Arthur Zamarin
2022-03-07 7:28 Agostino Sarubbo
2022-03-06 17:30 Joonas Niilola
2022-03-06 17:30 Joonas Niilola
2022-03-06 17:30 Joonas Niilola
2022-03-06 9:45 Sam James
2022-03-06 9:45 Sam James
2022-03-06 8:46 Sam James
2022-01-31 15:11 Joonas Niilola
2022-01-31 15:11 Joonas Niilola
2022-01-27 13:40 Joonas Niilola
2022-01-15 11:46 Joonas Niilola
2022-01-07 18:28 Joonas Niilola
2022-01-07 17:46 Joonas Niilola
2021-11-11 2:23 Sam James
2021-11-11 2:23 Sam James
2021-11-11 2:22 Sam James
2021-11-11 2:22 Sam James
2021-11-11 2:22 Sam James
2021-11-10 22:26 Jakov Smolić
2021-11-10 18:49 Arthur Zamarin
2021-09-07 18:47 Joonas Niilola
2021-06-21 21:38 Jonas Stein
2020-07-22 20:03 Sergei Trofimovich
2020-07-17 15:17 Agostino Sarubbo
2020-07-17 15:12 Agostino Sarubbo
2020-07-17 15:09 Agostino Sarubbo
2020-07-17 12:49 Sam James
2020-07-17 7:21 Agostino Sarubbo
2020-07-17 7:02 Agostino Sarubbo
2020-07-15 20:18 Sergei Trofimovich
2020-07-06 19:39 Thomas Deutschmann
2020-07-06 19:39 Thomas Deutschmann
2020-06-30 13:53 Thomas Deutschmann
2020-06-10 1:18 Thomas Deutschmann
2018-04-16 20:43 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-01-15 14:44 Ian Stakenvicius
2018-01-15 14:44 Ian Stakenvicius
2017-09-26 22:21 Sergei Trofimovich
2017-09-26 8:55 Sergei Trofimovich
2017-09-26 8:55 Sergei Trofimovich
2017-08-31 1:26 Matt Turner
2017-08-29 11:48 Alexis Ballier
2017-08-18 20:10 Thomas Deutschmann
2017-08-08 4:33 Markus Meier
2017-07-28 14:54 Agostino Sarubbo
2017-07-28 7:41 Sergei Trofimovich
2017-06-16 9:36 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-05-11 18:18 Ian Stakenvicius
2017-04-05 14:07 Tobias Klausmann
2017-03-02 15:52 Tobias Klausmann
2017-02-23 12:35 Michael Weber
2017-02-22 13:22 Michael Weber
2017-02-22 13:19 Jeroen Roovers
2017-02-20 19:38 Michael Weber
2017-02-18 8:51 Jeroen Roovers
2017-02-17 17:28 Markus Meier
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2017-02-05 12:46 Jeroen Roovers
2017-02-05 11:59 Jeroen Roovers
2017-01-31 14:11 Alexis Ballier
2016-02-17 17:44 Ian Stakenvicius
2015-10-16 10:20 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593792921.2c614ff3eadeaac60d0f62d34b1f21db3869fceb.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox