summaryrefslogtreecommitdiff
path: root/media-libs/libvpl-tools
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libvpl-tools')
-rw-r--r--media-libs/libvpl-tools/Manifest2
-rw-r--r--media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild (renamed from media-libs/libvpl-tools/libvpl-tools-1.0.0-r1.ebuild)28
2 files changed, 21 insertions, 9 deletions
diff --git a/media-libs/libvpl-tools/Manifest b/media-libs/libvpl-tools/Manifest
index ad056e6dca68..e7d58e8d7486 100644
--- a/media-libs/libvpl-tools/Manifest
+++ b/media-libs/libvpl-tools/Manifest
@@ -1,3 +1,3 @@
DIST libvpl-tools-1.0.0.tar.gz 1280283 BLAKE2B 67e2d0339893751a572c133ef34bbde05a254de1d460da3226088608e85aa253c585fe00d3edca05d629d65d0ddb8617c85e0cb87ff25b2cb56d85717834e959 SHA512 d4225eadbed4993a80461119db1175f196b271086d79be5312e74ac7c8d1395c9ba13149145d979441cd6958ef80c7a1755c37374091fa7b7ce7581df570ffb1
-EBUILD libvpl-tools-1.0.0-r1.ebuild 1204 BLAKE2B 33aa3353395dc32461de4a07b7653335250e48b192ef3ccfaf7cf6e08f3f4b353e2519149b7f0c9e057c71cfd5e4670fd75cec4d323ceecdbe315113b88d9d57 SHA512 7d061ce9b44c7c6229cc1cc9859e3885f08bcceea1d49b37586a4392c317d94ab120fdd0acee4136eca2ae0bf527819364df614ea2313bffe03727c0e12dc405
+EBUILD libvpl-tools-1.0.0-r2.ebuild 1431 BLAKE2B 34b4acb192ddc82e233ddf715730aa05da58df3443d0844c2634c9093dd039e64fc822dd0ca187f20a9cdd524297ec92bce4a2339c6b26240d99b3eaaa922349 SHA512 c32618d8e4fd93168a51babe2f886f0b13182397b61ce89dd6a1c532d8271e35dd8dcd0b55dc96e253d94f498e83a920306f8a6fd52655ac29d8447799082a76
MISC metadata.xml 405 BLAKE2B c982a523bf698ab07b871f4c15d1b5b690721dadeddf845c3dacfdaf8c9335b66df03b12b0d90ad684843e0ca1af0d92ef73c40ae6d93380c5bb580d718bc7ec SHA512 809830c4eed32d149a73ce87f9a1de441335cd5adb7ec9649873954af1eceb7635402eda79cbc9ec39162c8875455309d29d9da16caaf6e683f13de21534a69f
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
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"
)