summaryrefslogtreecommitdiff
path: root/gui-apps/waypipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
commit59d772d9463f8cf6a145a677bedbf377a0625aff (patch)
tree5a0e382968fd656a056c886e36cfb4491535b489 /gui-apps/waypipe
parent2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff)
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'gui-apps/waypipe')
-rw-r--r--gui-apps/waypipe/Manifest4
-rw-r--r--gui-apps/waypipe/waypipe-0.9.2.ebuild71
-rw-r--r--gui-apps/waypipe/waypipe-9999.ebuild2
3 files changed, 75 insertions, 2 deletions
diff --git a/gui-apps/waypipe/Manifest b/gui-apps/waypipe/Manifest
index b90124800536..807042fbf8d1 100644
--- a/gui-apps/waypipe/Manifest
+++ b/gui-apps/waypipe/Manifest
@@ -1,6 +1,8 @@
DIST waypipe-v0.9.0.tar.bz2 193493 BLAKE2B 891b1015951459faf15c181c35499558458fd69c63695f4b6be67e686c8ba7806f0193ed0fc4500b370345b570536b6fdbb3c01f2fe861e87e00b1d4db7c05d7 SHA512 c37b630f4659ccc52d2a85a749971d552d5d535fc33e30aea1c2d22b057aaf3cf2756d6347cc89e3068ce59a14e871e7ffae9016608803549d0e7b1b6a0bd1cf
DIST waypipe-v0.9.1.tar.bz2 193469 BLAKE2B adffa29092eae327e6e07f5b20c136121018f3da6de01fcef8cde49a4bca3da8c5785db4e3e9e825bee49779fe9274fb357ac25b93fc632ce5ede53ebe74f9db SHA512 bd9899e2e8adba453861022c1e95ad41a5979d72cbbd1a346949450fb8da5450aa240bdd555a5774ed9e360f07bbf52bc10bb5e46ff579535033fe2ccc600511
+DIST waypipe-v0.9.2.tar.bz2 196024 BLAKE2B 6a8e14a2eaee5f9936b97ce7742d0c0c45c8f1dc4784b83dcd673c4c5c9f2378764179e632cd9cb07d9d31157157c822febdea2d5cc7822e517fb7ee147c1799 SHA512 0ffdb49cb5dbee717798721505e4661710fcd234a55bbfe2452888024d4a8b99a0e0e99cdce23ba0b92ee456aeb9f14324baba1c7c5724cb8cca7bb6e9c276bb
EBUILD waypipe-0.9.0.ebuild 1822 BLAKE2B dc0418459dc2f0a7a7cf132644a3accb90b7340d249848ae5454b172b61c8b2d5d6ad0115cbabcc4c627c687374609529a4ef4ddaf8f33286ea2fff51e95dfe4 SHA512 36d6370345cbd91d8fbbecbc78054df1c7720df8b1e6c7b56fe1e7f265bf5b4c4f89bf374352e1f56d572fa83d218d65394706bc4a6a7cdcedf41a5f60d2f8a6
EBUILD waypipe-0.9.1.ebuild 1826 BLAKE2B 380b3784b240dfe08a3e6e17cb34037a7efda2e55d1b02b74e186c2684c17a76eb044b8a92b38203378244781a0a610c33beb9ce5531903bda95684e8e5964c9 SHA512 b3a64e29e9a880dbf89dee94ad683c52e102dc3619b72bdcad1b1ae786d413dff7738decb2b2bf126ffa5d0af13f6ca3e9e387c5fe7ef797a878edcaab513a4d
-EBUILD waypipe-9999.ebuild 1827 BLAKE2B 457c988b7f87cd6f8a2b99fb134668dabb279644e97601ed60ceb4a438ce62137e8e811634d92f638719b0c46ed757670b4ae4f7efbaaa371df1a5c13eca0f7f SHA512 400f494cb596bdfd279f67dec4506f5bf88d52813c4b0356a742ea98fd6166c00e6e3086ab5074676bd8a60db07528b50e9e494f742b445503c6d3b5ae4faf76
+EBUILD waypipe-0.9.2.ebuild 1827 BLAKE2B d42a8547130bc478dc1f2a26ae0fdcacc179fc2118240d239ed3067f76f46898593a95addb1070ed6ed1af1a80c1c496c94f26a411d50271e5064c23ca480d40 SHA512 95358897678f1f87bef9440cf472ed116bc996d3bc8861a76934d703645bed95ab1b7fa6ff48cf4b109b56f9c787311f287c5d9918eeb862e2b6d68b59fb570b
+EBUILD waypipe-9999.ebuild 1827 BLAKE2B d42a8547130bc478dc1f2a26ae0fdcacc179fc2118240d239ed3067f76f46898593a95addb1070ed6ed1af1a80c1c496c94f26a411d50271e5064c23ca480d40 SHA512 95358897678f1f87bef9440cf472ed116bc996d3bc8861a76934d703645bed95ab1b7fa6ff48cf4b109b56f9c787311f287c5d9918eeb862e2b6d68b59fb570b
MISC metadata.xml 790 BLAKE2B d7e9e09b70c1ed38044b63dc1065e22df6b07d5fab073b233ecfd83b2ef12efe98219421a09932a3b7f8316d7866cd9e6c11f6c6daad4996dc867e1ad6526839 SHA512 9809cd800edce75db912f61e16323a40e08a0bfd36615ada31727a6e1dc0eb9fc044300b4ed1e1f0f27c9179040b311f17a0c6e8dd62be350ef3f5b395223cb0
diff --git a/gui-apps/waypipe/waypipe-0.9.2.ebuild b/gui-apps/waypipe/waypipe-0.9.2.ebuild
new file mode 100644
index 000000000000..dfab69171f2c
--- /dev/null
+++ b/gui-apps/waypipe/waypipe-0.9.2.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..13} )
+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
+}
diff --git a/gui-apps/waypipe/waypipe-9999.ebuild b/gui-apps/waypipe/waypipe-9999.ebuild
index 844cedd732dc..dfab69171f2c 100644
--- a/gui-apps/waypipe/waypipe-9999.ebuild
+++ b/gui-apps/waypipe/waypipe-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-any-r1
DESCRIPTION="Transparent network proxy for Wayland compositors"