summaryrefslogtreecommitdiff
path: root/gui-apps/waypipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-27 08:42:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-27 08:42:41 +0100
commit0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch)
treeba392915815492b0ce486fc0e3ad5afb4a849b6f /gui-apps/waypipe
parente30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff)
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'gui-apps/waypipe')
-rw-r--r--gui-apps/waypipe/Manifest4
-rw-r--r--gui-apps/waypipe/waypipe-0.8.6.ebuild71
-rw-r--r--gui-apps/waypipe/waypipe-9999.ebuild10
3 files changed, 79 insertions, 6 deletions
diff --git a/gui-apps/waypipe/Manifest b/gui-apps/waypipe/Manifest
index 61cc0921115b..48a933c457dd 100644
--- a/gui-apps/waypipe/Manifest
+++ b/gui-apps/waypipe/Manifest
@@ -1,4 +1,6 @@
DIST waypipe-0.8.0.tar.gz 217533 BLAKE2B a2aebb9939acafae3eb693aa8fe344ab775e8d3e9a071e7291ab15a0f9869b681156b5730e42c04401648a32ad2a67d7a3bf95ff5f38e909e9309e00b1c69381 SHA512 853d36a9779e2fcb5ac7bcca6575d456685beadd8d918ec430a57b8359867849bdcb5d9c1edcd19eb8505f06a7758e8f53ba5354daa05f99491d5a45c330eeb2
+DIST waypipe-v0.8.6.tar.bz2 189836 BLAKE2B 4023ddb325982d5cb189bafb9c4bf87f1ccd692c423371b05d273ab2d8ceeeacace256400e5755e89670407746f25ff4499643d3fb722053e5958547ac15600f SHA512 d02afa15e363009820e7e7ad75e8f294a58b42ec74f8a2cd310fc3c65a252b71524a89fb95e3e105cec8d6802fb30470c6842ae69d7c16d687edde96d4ff1263
EBUILD waypipe-0.8.0-r2.ebuild 1863 BLAKE2B b41a116b470e9e3f12956f1f323cd7f0c1fc5eb5f779eb276b66cf962642fc4a4a69a81fa1045edc370247d8ab18e7efb9f1dc6e4ecaca74cc0e70e29d9f66d0 SHA512 88efd3f3a197ec05f33a1818126d2489be9df465575448d88e48eb0622a625950dcdc795c13c8d32e3f1c52f1c8e9d950fb770b7f654bdb5ebd225b715fb6c7f
-EBUILD waypipe-9999.ebuild 1863 BLAKE2B b41a116b470e9e3f12956f1f323cd7f0c1fc5eb5f779eb276b66cf962642fc4a4a69a81fa1045edc370247d8ab18e7efb9f1dc6e4ecaca74cc0e70e29d9f66d0 SHA512 88efd3f3a197ec05f33a1818126d2489be9df465575448d88e48eb0622a625950dcdc795c13c8d32e3f1c52f1c8e9d950fb770b7f654bdb5ebd225b715fb6c7f
+EBUILD waypipe-0.8.6.ebuild 1825 BLAKE2B 62e14137e3004cfbdff893e684241f00397ca857dd9758de3bd8e194ad0638e5c05c3f7ccbd47b03252187569950d33c4be983273b19e5d02b6fdcbbde8932f0 SHA512 f7351e172ea37dbd965c84d8e9ef6cdf8a91b9e9b4825fc6944f6eaea0c799a49aa536492d1f65296cffa818f8eea1676ac64287c58a0ae6e35f62da0e2f3be2
+EBUILD waypipe-9999.ebuild 1825 BLAKE2B 62e14137e3004cfbdff893e684241f00397ca857dd9758de3bd8e194ad0638e5c05c3f7ccbd47b03252187569950d33c4be983273b19e5d02b6fdcbbde8932f0 SHA512 f7351e172ea37dbd965c84d8e9ef6cdf8a91b9e9b4825fc6944f6eaea0c799a49aa536492d1f65296cffa818f8eea1676ac64287c58a0ae6e35f62da0e2f3be2
MISC metadata.xml 790 BLAKE2B 8928c96854495a9bd18ee980c4ab1a3d5d93e06b3ed5f11a1fa90b719f24391fbfbb99cafddaf6fa75ff4b59a0aa72f92cf1db48d9f3d62df8f0603e628e6aac SHA512 eab5538af33b220a5f7896c80d42429677da4cb39426ddbaa18594a39fd23aa1fd00e500f7599c3956105ab47380cee75e1aa42b413f540a5425d6563d9f1c07
diff --git a/gui-apps/waypipe/waypipe-0.8.6.ebuild b/gui-apps/waypipe/waypipe-0.8.6.ebuild
new file mode 100644
index 000000000000..0cc69b7a164e
--- /dev/null
+++ b/gui-apps/waypipe/waypipe-0.8.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+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-util/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 0d8968a8db52..0cc69b7a164e 100644
--- a/gui-apps/waypipe/waypipe-9999.ebuild
+++ b/gui-apps/waypipe/waypipe-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit meson python-any-r1
@@ -13,7 +13,7 @@ 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.gz -> ${P}.tar.gz"
+ 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
@@ -28,7 +28,7 @@ WAYPIPE_FLAG_MAP=(
"${WAYPIPE_FLAG_MAP_ARM[@]/#/cpu_flags_arm_}"
)
-IUSE="dmabuf ffmpeg lz4 man systemtap test vaapi zstd ${WAYPIPE_FLAG_MAP[@]%:*}"
+IUSE="dmabuf ffmpeg lz4 systemtap test vaapi zstd ${WAYPIPE_FLAG_MAP[@]%:*}"
REQUIRED_USE="vaapi? ( ffmpeg )"
RESTRICT="!test? ( test )"
@@ -48,18 +48,18 @@ DEPEND="
RDEPEND="${DEPEND}"
BDEPEND="
${PYTHON_DEPS}
+ app-text/scdoc
virtual/pkgconfig
- man? ( app-text/scdoc )
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 man man-pages)
$(meson_feature vaapi with_vaapi)
$(meson_feature zstd with_zstd)
)