summaryrefslogtreecommitdiff
path: root/gui-apps/waypipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-28 07:59:59 +0100
commitb8325835c82367d22428eb41afa0f2d375338d3c (patch)
treec416b8853bd14fc346da5d0129843cc4a68a30a0 /gui-apps/waypipe
parentd2ed973482fdd800013658e83a61709b29e0a80f (diff)
gentoo auto-resync : 28:06:2024 - 07:59:59
Diffstat (limited to 'gui-apps/waypipe')
-rw-r--r--gui-apps/waypipe/Manifest2
-rw-r--r--gui-apps/waypipe/waypipe-0.9.1.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/gui-apps/waypipe/Manifest b/gui-apps/waypipe/Manifest
index e69ba8001e49..e6d372227309 100644
--- a/gui-apps/waypipe/Manifest
+++ b/gui-apps/waypipe/Manifest
@@ -1,4 +1,6 @@
DIST waypipe-v0.9.0.tar.bz2 193493 BLAKE2B 891b1015951459faf15c181c35499558458fd69c63695f4b6be67e686c8ba7806f0193ed0fc4500b370345b570536b6fdbb3c01f2fe861e87e00b1d4db7c05d7 SHA512 c37b630f4659ccc52d2a85a749971d552d5d535fc33e30aea1c2d22b057aaf3cf2756d6347cc89e3068ce59a14e871e7ffae9016608803549d0e7b1b6a0bd1cf
+DIST waypipe-v0.9.1.tar.bz2 193469 BLAKE2B adffa29092eae327e6e07f5b20c136121018f3da6de01fcef8cde49a4bca3da8c5785db4e3e9e825bee49779fe9274fb357ac25b93fc632ce5ede53ebe74f9db SHA512 bd9899e2e8adba453861022c1e95ad41a5979d72cbbd1a346949450fb8da5450aa240bdd555a5774ed9e360f07bbf52bc10bb5e46ff579535033fe2ccc600511
EBUILD waypipe-0.9.0.ebuild 1824 BLAKE2B 8685fe74be51b1e10e68709e43ed99ac40ed4328e878e2c1a55e51ebf224a14640482ccae3f7a4e89a9b69b9478428994a3b97b0dfe485eae5555b45323174d4 SHA512 21b145e4c3564f98d449a54d77d293697fbe1164a016defd36787ea227bed17e5b9f6c59edbd360b30a33cd94ded00301ab83fdbbdb8b3885d8a71487ded1bff
+EBUILD waypipe-0.9.1.ebuild 1827 BLAKE2B 457c988b7f87cd6f8a2b99fb134668dabb279644e97601ed60ceb4a438ce62137e8e811634d92f638719b0c46ed757670b4ae4f7efbaaa371df1a5c13eca0f7f SHA512 400f494cb596bdfd279f67dec4506f5bf88d52813c4b0356a742ea98fd6166c00e6e3086ab5074676bd8a60db07528b50e9e494f742b445503c6d3b5ae4faf76
EBUILD waypipe-9999.ebuild 1827 BLAKE2B 457c988b7f87cd6f8a2b99fb134668dabb279644e97601ed60ceb4a438ce62137e8e811634d92f638719b0c46ed757670b4ae4f7efbaaa371df1a5c13eca0f7f SHA512 400f494cb596bdfd279f67dec4506f5bf88d52813c4b0356a742ea98fd6166c00e6e3086ab5074676bd8a60db07528b50e9e494f742b445503c6d3b5ae4faf76
MISC metadata.xml 790 BLAKE2B 8928c96854495a9bd18ee980c4ab1a3d5d93e06b3ed5f11a1fa90b719f24391fbfbb99cafddaf6fa75ff4b59a0aa72f92cf1db48d9f3d62df8f0603e628e6aac SHA512 eab5538af33b220a5f7896c80d42429677da4cb39426ddbaa18594a39fd23aa1fd00e500f7599c3956105ab47380cee75e1aa42b413f540a5425d6563d9f1c07
diff --git a/gui-apps/waypipe/waypipe-0.9.1.ebuild b/gui-apps/waypipe/waypipe-0.9.1.ebuild
new file mode 100644
index 000000000000..844cedd732dc
--- /dev/null
+++ b/gui-apps/waypipe/waypipe-0.9.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson python-any-r1
+
+DESCRIPTION="Transparent network proxy for Wayland compositors"
+HOMEPAGE="https://gitlab.freedesktop.org/mstoeckl/waypipe"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/mstoeckl/waypipe"
+else
+ SRC_URI="https://gitlab.freedesktop.org/mstoeckl/waypipe/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+ S="${WORKDIR}"/${PN}-v${PV}
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+WAYPIPE_FLAG_MAP_X86=( avx2:with_avx2 avx512f:with_avx512f sse3:with_sse3 )
+WAYPIPE_FLAG_MAP_ARM=( neon:with_neon_opts )
+WAYPIPE_FLAG_MAP=(
+ "${WAYPIPE_FLAG_MAP_X86[@]/#/cpu_flags_x86_}"
+ "${WAYPIPE_FLAG_MAP_ARM[@]/#/cpu_flags_arm_}"
+)
+
+IUSE="dmabuf ffmpeg lz4 systemtap test vaapi zstd ${WAYPIPE_FLAG_MAP[@]%:*}"
+REQUIRED_USE="vaapi? ( ffmpeg )"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dmabuf? (
+ media-libs/mesa[gbm(+),vaapi?,wayland]
+ x11-libs/libdrm
+ )
+ lz4? ( app-arch/lz4 )
+ systemtap? ( dev-debug/systemtap )
+ vaapi? ( media-libs/libva[drm(+),wayland] )
+ ffmpeg? (
+ media-video/ffmpeg[x264,vaapi?]
+ )
+ zstd? ( app-arch/zstd )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ app-text/scdoc
+ virtual/pkgconfig
+ test? ( dev-libs/weston[examples,headless,remoting,screen-sharing,wayland-compositor] )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dman-pages=enabled
+ $(meson_use systemtap with_systemtap)
+ $(meson_feature dmabuf with_dmabuf)
+ $(meson_feature ffmpeg with_video)
+ $(meson_feature lz4 with_lz4)
+ $(meson_feature vaapi with_vaapi)
+ $(meson_feature zstd with_zstd)
+ )
+ local fl
+ for fl in "${WAYPIPE_FLAG_MAP[@]}"; do
+ emesonargs+=( $(meson_use "${fl%:*}" "${fl#*:}") )
+ done
+ meson_src_configure
+}