From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpl-tools/
Date: Sat, 18 May 2024 17:00:38 +0000 (UTC) [thread overview]
Message-ID: <1716051615.b486f36fea247b526d628e3e04b5de2846eff730.andrewammerlaan@gentoo> (raw)
commit: b486f36fea247b526d628e3e04b5de2846eff730
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 16:58:20 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 18 17:00:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b486f36f
media-libs/libvpl-tools: rework USE flags
Seems a bunch of things changed when this was separated from libvpl.
Rework this now properly, fix required_use, enable vaapi and drm by default.
Fix build failure when X flag disabled.
Closes: https://bugs.gentoo.org/932141
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
....0.0-r1.ebuild => libvpl-tools-1.0.0-r2.ebuild} | 28 +++++++++++++++-------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild b/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild
similarity index 79%
rename from media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild
rename to media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild
index 503d1172c45c..ba84438f5c04 100644
--- a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild
+++ b/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild
@@ -13,19 +13,21 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="dri drm test vaapi wayland X"
+IUSE="dri +drm opencl test +vaapi wayland X"
RESTRICT="!test? ( test )"
REQUIRED_USE="
- dri? ( X drm )
+ dri? ( X )
+ opencl? ( X )
+ vaapi? ( drm )
+ wayland? ( vaapi )
X? ( vaapi )
- wayland? ( drm )
"
RDEPEND="
- x11-libs/libpciaccess
- vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
drm? ( x11-libs/libdrm )
+ opencl? ( virtual/opencl )
+ vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
wayland? (
dev-libs/wayland
)
@@ -33,25 +35,35 @@ RDEPEND="
x11-libs/libX11
x11-libs/libxcb
)
+ x11-libs/libpciaccess
>=media-libs/libvpl-2.11.0
"
+
DEPEND="${RDEPEND}
wayland? (
dev-libs/wayland-protocols
)
"
+
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTS="$(usex test)"
+
+ -DBUILD_EXPERIMENTAL="$(usex X)"
-DTOOLS_ENABLE_X11="$(usex X)"
- -DENABLE_WAYLAND="$(usex wayland)"
- -DENABLE_X11="$(usex X)"
+ -DTOOLS_ENABLE_SCREEN_CAPTURE="$(usex X)"
+ -DTOOLS_ENABLE_RENDER="$(usex X)"
+ -DTOOLS_ENABLE_OPENCL="$(usex opencl)"
+
-DENABLE_DRI3="$(usex dri)"
- -DENABLE_VA="$(usex vaapi)"
-DENABLE_DRM="$(usex drm)"
+ -DENABLE_VA="$(usex vaapi)"
+ -DENABLE_WAYLAND="$(usex wayland)"
+ -DENABLE_X11="$(usex X)"
+
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
)
next reply other threads:[~2024-05-18 17:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 17:00 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-26 12:06 [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpl-tools/ Nowa Ammerlaan
2024-12-19 15:08 Nowa Ammerlaan
2024-12-19 15:08 Nowa Ammerlaan
2024-12-19 15:08 Nowa Ammerlaan
2024-09-29 15:02 Andrew Ammerlaan
2024-07-05 11:57 Andrew Ammerlaan
2024-07-05 11:57 Andrew Ammerlaan
2024-05-17 18:47 Andrew Ammerlaan
2024-05-17 14:13 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=1716051615.b486f36fea247b526d628e3e04b5de2846eff730.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