From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/
Date: Tue, 21 Mar 2023 20:56:20 +0000 (UTC) [thread overview]
Message-ID: <1679432079.dc3742d93a480dbd8e8e8eda0a53b1254bffdb28.andrewammerlaan@gentoo> (raw)
commit: dc3742d93a480dbd8e8e8eda0a53b1254bffdb28
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 08:46:44 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 20:54:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3742d9
media-libs/oneVPL: add multilib support
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
...L-2023.1.3.ebuild => oneVPL-2023.1.3-r1.ebuild} | 41 ++++++++++++----------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/media-libs/oneVPL/oneVPL-2023.1.3.ebuild b/media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
similarity index 74%
rename from media-libs/oneVPL/oneVPL-2023.1.3.ebuild
rename to media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
index 223184c18698..0758b6389a95 100644
--- a/media-libs/oneVPL/oneVPL-2023.1.3.ebuild
+++ b/media-libs/oneVPL/oneVPL-2023.1.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake optfeature
+inherit cmake-multilib optfeature
DESCRIPTION="oneAPI Video Processing Library, dispatcher, tools, and examples"
HOMEPAGE="https://github.com/oneapi-src/oneVPL"
@@ -13,34 +13,37 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="dri drm examples experimental +tools test vaapi wayland X"
+IUSE="dri drm examples experimental tools test vaapi wayland X"
RESTRICT="!test? ( test )"
-# Most of these flags only have an effect on the tools
+# Tools fails to compile on 32-bit
REQUIRED_USE="
dri? ( X drm )
- drm? ( tools )
- X? ( tools vaapi )
- wayland? ( tools drm )
- vaapi? ( tools )
+ X? ( vaapi )
+ wayland? ( drm )
+ abi_x86_32? ( !tools )
+ abi_x86_x32? ( !tools )
"
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- x11-libs/libpciaccess
- vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
- drm? ( x11-libs/libdrm )
+RDEPEND="
+ x11-libs/libpciaccess[${MULTILIB_USEDEP}]
+ vaapi? ( media-libs/libva[X?,wayland?,drm(+)?,${MULTILIB_USEDEP}] )
+ drm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] )
wayland? (
- dev-libs/wayland
- dev-libs/wayland-protocols
+ dev-libs/wayland[${MULTILIB_USEDEP}]
)
X? (
- x11-libs/libX11
- x11-libs/libxcb
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libxcb[${MULTILIB_USEDEP}]
)
"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ wayland? (
+ dev-libs/wayland-protocols
+ )
+"
+BDEPEND="virtual/pkgconfig"
-src_configure() {
+multilib_src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DBUILD_DISPATCHER=ON
@@ -65,7 +68,7 @@ src_configure() {
cmake_src_configure
}
-src_install() {
+multilib_src_install() {
cmake_src_install
# Remove these license files
rm -r "${ED}/usr/share/vpl/licensing" || die
next reply other threads:[~2023-03-21 20:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 20:56 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-07 19:55 [gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL/ Andrew Ammerlaan
2024-03-07 19:55 Andrew Ammerlaan
2024-03-07 19:55 Andrew Ammerlaan
2023-11-30 10:01 Andrew Ammerlaan
2023-10-20 15:54 Andrew Ammerlaan
2023-08-17 7:49 Andrew Ammerlaan
2023-06-14 20:02 Andrew Ammerlaan
2023-05-31 6:55 Andrew Ammerlaan
2023-04-30 9:05 Andrew Ammerlaan
2023-04-30 9:05 Andrew Ammerlaan
2023-04-11 18:19 Andrew Ammerlaan
2023-03-07 8:27 Andrew Ammerlaan
2023-02-23 9:27 Andrew Ammerlaan
2023-02-23 9:27 Andrew Ammerlaan
2023-01-03 19:32 Andrew Ammerlaan
2022-12-06 18:09 Andrew Ammerlaan
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=1679432079.dc3742d93a480dbd8e8e8eda0a53b1254bffdb28.andrewammerlaan@gentoo \
--to=andrewammerlaan@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