diff options
Diffstat (limited to 'gui-apps')
| -rw-r--r-- | gui-apps/gtkgreet/Manifest | 1 | ||||
| -rw-r--r-- | gui-apps/gtkgreet/gtkgreet-0.7.ebuild | 45 | ||||
| -rw-r--r-- | gui-apps/waybar/waybar-9999.ebuild | 13 | ||||
| -rw-r--r-- | gui-apps/wayland-logout/Manifest | 2 | ||||
| -rw-r--r-- | gui-apps/wayland-logout/wayland-logout-1.4.ebuild (renamed from gui-apps/wayland-logout/wayland-logout-1.0.ebuild) | 12 | ||||
| -rw-r--r-- | gui-apps/wayland-logout/wayland-logout-9999.ebuild | 12 | ||||
| -rw-r--r-- | gui-apps/waypipe/Manifest | 1 | ||||
| -rw-r--r-- | gui-apps/waypipe/files/waypipe-0.7.2-no-simd.patch | 38 | ||||
| -rw-r--r-- | gui-apps/waypipe/files/waypipe-0.7.2-werror.patch | 12 | ||||
| -rw-r--r-- | gui-apps/waypipe/metadata.xml | 25 | ||||
| -rw-r--r-- | gui-apps/waypipe/waypipe-0.7.2.ebuild | 72 | ||||
| -rw-r--r-- | gui-apps/waypipe/waypipe-9999.ebuild | 72 | ||||
| -rw-r--r-- | gui-apps/wayvnc/Manifest | 1 | ||||
| -rw-r--r-- | gui-apps/wayvnc/metadata.xml | 25 | ||||
| -rw-r--r-- | gui-apps/wayvnc/wayvnc-0.4.0.ebuild | 44 | ||||
| -rw-r--r-- | gui-apps/wayvnc/wayvnc-9999.ebuild | 44 |
16 files changed, 395 insertions, 24 deletions
diff --git a/gui-apps/gtkgreet/Manifest b/gui-apps/gtkgreet/Manifest index 61ab147dc314..7e6058fc69ab 100644 --- a/gui-apps/gtkgreet/Manifest +++ b/gui-apps/gtkgreet/Manifest @@ -1 +1,2 @@ DIST gtkgreet-0.6.tar.gz 25973 BLAKE2B f05926f9c05b8e164a8f8ca9b4f7091ab42d5d5db08133941ac97c2b6ab0452bf1a75b55dbbcf96579783688501be2148d4728528b63a609a9677587cd59be08 SHA512 00bdd61ea45592c432ba07c62301be7fd89aa3e09dbdaeb0dddd03b4e55e8092b68999ed4d6f2917b66cced57bf55ad68ac61912894683c9dc05b8b5f983ba76 +DIST gtkgreet-0.7.tar.gz 26414 BLAKE2B a066cf35928179adc03e2ec7061cd9fef457a96bab9f012566ef4d23ea27236fe38b08686b28c6ba68dff54ee4741193807573fdc4a71a974e6cd9bdb3acc8b2 SHA512 f0d32fe7a701912c5b9318df17a42f35890ec8d6e01677ba38e442bb7f998572995f53b4c1c4e486eaee562a73b10283036d7f438e6ce084840d6944a0b82c53 diff --git a/gui-apps/gtkgreet/gtkgreet-0.7.ebuild b/gui-apps/gtkgreet/gtkgreet-0.7.ebuild new file mode 100644 index 000000000000..f3d4237b47df --- /dev/null +++ b/gui-apps/gtkgreet/gtkgreet-0.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="gtk based greeter for greetd" +HOMEPAGE="https://git.sr.ht/~kennylevinsen/gtkgreet" + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/gtkgreet" +else + SRC_URI="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="+layershell man" + +DEPEND=" + dev-libs/json-c:= + layershell? ( gui-libs/gtk-layer-shell ) + x11-libs/gtk+:3 +" +RDEPEND=" + ${DEPEND} + gui-libs/greetd +" +BDEPEND=" + virtual/pkgconfig + man? ( app-text/scdoc ) +" + +PATCHES=( "${FILESDIR}"/${PN}-0.6-r1-werror.patch ) + +src_configure() { + local emesonargs=( + $(meson_feature man man-pages) + $(meson_feature layershell) + ) + meson_src_configure +} diff --git a/gui-apps/waybar/waybar-9999.ebuild b/gui-apps/waybar/waybar-9999.ebuild index 8d09470b4d47..664cb2388f3c 100644 --- a/gui-apps/waybar/waybar-9999.ebuild +++ b/gui-apps/waybar/waybar-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,19 +18,19 @@ fi LICENSE="MIT" SLOT="0" -IUSE="mpd network popups pulseaudio tray +udev" +IUSE="mpd network popups pulseaudio tray +udev wifi" BDEPEND=" >=app-text/scdoc-1.9.2 virtual/pkgconfig - " +" DEPEND=" dev-cpp/gtkmm:3.0 dev-libs/jsoncpp:= dev-libs/libinput:= dev-libs/libsigc++:2 >=dev-libs/libfmt-5.3.0:= - >=dev-libs/spdlog-1.3.1:= + >=dev-libs/spdlog-1.8.0:= dev-libs/date:= dev-libs/wayland dev-libs/wayland-protocols @@ -45,7 +45,8 @@ DEPEND=" dev-libs/libappindicator ) udev? ( virtual/libudev:= ) - " + wifi? ( || ( sys-apps/util-linux net-wireless/rfkill ) ) +" RDEPEND="${DEPEND}" src_configure() { @@ -56,6 +57,8 @@ src_configure() { $(meson_feature pulseaudio) $(meson_feature tray dbusmenu-gtk) $(meson_feature udev libudev) + $(meson_feature wifi rfkill) + -Dsndio=disabled ) meson_src_configure } diff --git a/gui-apps/wayland-logout/Manifest b/gui-apps/wayland-logout/Manifest index abc4336a7b56..cc4e86866164 100644 --- a/gui-apps/wayland-logout/Manifest +++ b/gui-apps/wayland-logout/Manifest @@ -1 +1 @@ -DIST wayland-logout-1.0.tar.gz 16663 BLAKE2B 7f8932342cd584f9e8c6abcaf83b2a5ff7ff14eda00f6d47a402206cff5786a9f4d5fbd75b8704fd0c39fad9550e47dbd499ac4a9b233f63ee6ed80b544d4556 SHA512 2c31fe11d4e6de53c7e873e7d235c4dcfbcb1425f4d7d2969b623574dd0bea77ee1fd482949b09cd86a1755ed48f2a8b39e4b2db6adedaf6d465144e9ef71652 +DIST wayland-logout-1.4.tar.gz 16878 BLAKE2B abc7cd6a6c6916aac97459e733e20cda71068654b30939feac50af94c76db393e94ec2b2df1b3488e0897857ede669e637e5db734c1323db2964fa7bcd821cf6 SHA512 376f39283851478723e3d846055ad76b6ae8b887b487cd98ebcdf87b1d95c3b5de5cad07f2d8921740c4e4102ce988833a9b7ebe662e51654316de9f85daabcf diff --git a/gui-apps/wayland-logout/wayland-logout-1.0.ebuild b/gui-apps/wayland-logout/wayland-logout-1.4.ebuild index edb385b32abf..d29f95b176ff 100644 --- a/gui-apps/wayland-logout/wayland-logout-1.0.ebuild +++ b/gui-apps/wayland-logout/wayland-logout-1.4.ebuild @@ -1,10 +1,11 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -DESCRIPTION="general logout scripts for wayland compositors" +inherit meson +DESCRIPTION="general logout scripts for wayland compositors" HOMEPAGE="https://github.com/soreau/wayland-logout" if [[ ${PV} == 9999 ]]; then @@ -17,10 +18,3 @@ fi LICENSE="MIT" SLOT="0" - -RDEPEND="sys-process/lsof" - -src_install() { - newbin wayland-logout.sh wayland-logout - dosym wayland-logout /usr/bin/wlogout -} diff --git a/gui-apps/wayland-logout/wayland-logout-9999.ebuild b/gui-apps/wayland-logout/wayland-logout-9999.ebuild index edb385b32abf..d29f95b176ff 100644 --- a/gui-apps/wayland-logout/wayland-logout-9999.ebuild +++ b/gui-apps/wayland-logout/wayland-logout-9999.ebuild @@ -1,10 +1,11 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -DESCRIPTION="general logout scripts for wayland compositors" +inherit meson +DESCRIPTION="general logout scripts for wayland compositors" HOMEPAGE="https://github.com/soreau/wayland-logout" if [[ ${PV} == 9999 ]]; then @@ -17,10 +18,3 @@ fi LICENSE="MIT" SLOT="0" - -RDEPEND="sys-process/lsof" - -src_install() { - newbin wayland-logout.sh wayland-logout - dosym wayland-logout /usr/bin/wlogout -} diff --git a/gui-apps/waypipe/Manifest b/gui-apps/waypipe/Manifest new file mode 100644 index 000000000000..50c4b956b8a0 --- /dev/null +++ b/gui-apps/waypipe/Manifest @@ -0,0 +1 @@ +DIST waypipe-0.7.2.tar.gz 202601 BLAKE2B bc8a03c8b47ee65a158ca45047f1989761c36b7b6fb5196784637f4e937fa2e5076497079f8368daf20592351e60a12fda5f4500b7220320b4c4a73ca9e5b1e0 SHA512 b126ea9d30864ecba67447793f39dbbe8bc73ab33c79879ac243023c64930e9aae887f13c0fdcc4cdf307b0ca6766b1012915dc88c596b7c250e3b35f6ba9190 diff --git a/gui-apps/waypipe/files/waypipe-0.7.2-no-simd.patch b/gui-apps/waypipe/files/waypipe-0.7.2-no-simd.patch new file mode 100644 index 000000000000..df464810e1b3 --- /dev/null +++ b/gui-apps/waypipe/files/waypipe-0.7.2-no-simd.patch @@ -0,0 +1,38 @@ +make simd instructions optional + +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -5,3 +5,7 @@ option('with_lz4', type : 'feature', value : 'auto', description : 'Support LZ4 + option('with_zstd', type : 'feature', value : 'auto', description : 'Support ZStandard as a compression mechanism') + option('with_vaapi', type : 'feature', value : 'auto', description : 'Link with libva and use VAAPI to perform hardware video output color space conversions on GPU') + option('with_systemtap', type: 'boolean', value: true, description: 'Enable tracing using sdt and provide static tracepoints for profiling') ++option('with_avx512f', type: 'boolean', value: true, description: 'Enable avx512f SIMD instructions') ++option('with_avx2', type: 'boolean', value: true, description: 'Enable avx2 SIMD instructions') ++option('with_sse3', type: 'boolean', value: true, description: 'Enable sse3 SIMD instructions') ++option('with_neon_opts', type: 'boolean', value: true, description: 'Enable optimizations for ARM64 neon cpus') +--- a/src/meson.build ++++ b/src/meson.build +@@ -25,19 +25,19 @@ endif + # Conditionally compile SIMD-optimized code. + # (The meson simd module is a bit too limited for this) + kernel_libs = [] +-if cc.has_argument('-mavx512f') and cc.has_argument('-mlzcnt') and cc.has_argument('-mbmi') ++if cc.has_argument('-mavx512f') and cc.has_argument('-mlzcnt') and cc.has_argument('-mbmi') and get_option('with_avx512f') + kernel_libs += static_library('kernel_avx512f', 'kernel_avx512f.c', c_args:['-mavx512f', '-mlzcnt', '-mbmi']) + config_data.set('HAVE_AVX512F', 1, description: 'Compiler supports AVX-512F') + endif +-if cc.has_argument('-mavx2') and cc.has_argument('-mlzcnt') and cc.has_argument('-mbmi') ++if cc.has_argument('-mavx2') and cc.has_argument('-mlzcnt') and cc.has_argument('-mbmi') and get_option('with_avx2') + kernel_libs += static_library('kernel_avx2', 'kernel_avx2.c', c_args:['-mavx2', '-mlzcnt', '-mbmi']) + config_data.set('HAVE_AVX2', 1, description: 'Compiler supports AVX2') + endif +-if cc.has_argument('-msse3') ++if cc.has_argument('-msse3') and get_option('with_sse3') + kernel_libs += static_library('kernel_sse3', 'kernel_sse3.c', c_args:['-msse3']) + config_data.set('HAVE_SSE3', 1, description: 'Compiler supports SSE 3') + endif +-if host_machine.cpu_family() == 'aarch64' or cc.has_argument('-mfpu=neon') ++if ( host_machine.cpu_family() == 'aarch64' or cc.has_argument('-mfpu=neon') ) and get_option('with_neon_opts') + neon_args = host_machine.cpu_family() == 'aarch64' ? [] : ['-mfpu=neon'] + + # Clang additionally enforces that NEON code only be compiled diff --git a/gui-apps/waypipe/files/waypipe-0.7.2-werror.patch b/gui-apps/waypipe/files/waypipe-0.7.2-werror.patch new file mode 100644 index 000000000000..289a0c29acb5 --- /dev/null +++ b/gui-apps/waypipe/files/waypipe-0.7.2-werror.patch @@ -0,0 +1,12 @@ +diff --git a/meson.build b/meson.build +index d023f1f..372f0e3 100644 +--- a/meson.build ++++ b/meson.build +@@ -6,7 +6,6 @@ project( + default_options: [ + 'c_std=c11', + 'warning_level=3', +- 'werror=true', + ], + version: '0.7.2', + ) diff --git a/gui-apps/waypipe/metadata.xml b/gui-apps/waypipe/metadata.xml new file mode 100644 index 000000000000..9851ac09e38c --- /dev/null +++ b/gui-apps/waypipe/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + waypipe is a proxy for wayland clients to allow streaming. + sessions over tcp. It forwards Wayland messages and + serializes changes to shared memory buffers over a single socket. + This makes application forwarding similar to ssh -X feasible. + </longdescription> + <use> + <flag name="dmabuf">Use dmabuf for data exchange and hardware decoding</flag> + <flag name="ffmpeg">Link with ffmpeg for software decoding</flag> + <flag name="man">Build and install man pages</flag> + <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gui-apps/waypipe/waypipe-0.7.2.ebuild b/gui-apps/waypipe/waypipe-0.7.2.ebuild new file mode 100644 index 000000000000..229dbcb4fd48 --- /dev/null +++ b/gui-apps/waypipe/waypipe-0.7.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit meson python-any-r1 + +DESCRIPTION="network transparency with Wayland" +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.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-v${PV} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +CPU_FLAGS_X86=( "avx2" "avx512f" "sse3" ) +IUSE="dmabuf ffmpeg lz4 man neon systemtap test vaapi zstd ${CPU_FLAGS_X86[@]/#/cpu_flags_x86_}" +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? ( x11-libs/libva[drm,wayland] ) + ffmpeg? ( + media-video/ffmpeg[x264,vaapi?] + ) + zstd? ( app-arch/zstd ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + man? ( app-text/scdoc ) + test? ( dev-libs/weston[wayland-compositor,screen-sharing] ) +" + +PATCHES=( + "${FILESDIR}"/waypipe-0.7.2-werror.patch + "${FILESDIR}"/waypipe-0.7.2-no-simd.patch +) + +src_configure() { + local mymesonargs=( + $(meson_use systemtap with_systemtap) + $(meson_use neon with_neon_opts) + $(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) + ) + local fl + for fl in "${CPU_FLAGS_X86[@]}"; do + mymesonargs+=( $(meson_use cpu_flags_x86_$fl with_$fl ) ) + done + meson_src_configure +} diff --git a/gui-apps/waypipe/waypipe-9999.ebuild b/gui-apps/waypipe/waypipe-9999.ebuild new file mode 100644 index 000000000000..7e86b6a03939 --- /dev/null +++ b/gui-apps/waypipe/waypipe-9999.ebuild @@ -0,0 +1,72 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +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.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-v${PV} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +CPU_FLAGS_X86=( "avx2" "avx512f" "sse3" ) +IUSE="dmabuf ffmpeg lz4 man neon systemtap test vaapi zstd ${CPU_FLAGS_X86[@]/#/cpu_flags_x86_}" +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? ( x11-libs/libva[drm,wayland] ) + ffmpeg? ( + media-video/ffmpeg[x264,vaapi?] + ) + zstd? ( app-arch/zstd ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + man? ( app-text/scdoc ) + test? ( dev-libs/weston[wayland-compositor,screen-sharing] ) +" + +PATCHES=( + "${FILESDIR}"/waypipe-0.7.2-werror.patch + "${FILESDIR}"/waypipe-0.7.2-no-simd.patch +) + +src_configure() { + local mymesonargs=( + $(meson_use systemtap with_systemtap) + $(meson_use neon with_neon_opts) + $(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) + ) + local fl + for fl in "${CPU_FLAGS_X86[@]}"; do + mymesonargs+=( $(meson_use cpu_flags_x86_$fl with_$fl ) ) + done + meson_src_configure +} diff --git a/gui-apps/wayvnc/Manifest b/gui-apps/wayvnc/Manifest new file mode 100644 index 000000000000..1bc4a3ef8614 --- /dev/null +++ b/gui-apps/wayvnc/Manifest @@ -0,0 +1 @@ +DIST wayvnc-0.4.0.tar.gz 52157 BLAKE2B 7c8456d5136ef361ca7dd72ffa7501514eeb7a61ae1777a02391fb7fceea6b020d68951300ab76254f2afd5e2610fe66ce0f461d18dc38522706691438f4620e SHA512 b8f1af24213077dc6126ae1f613b9cdeed8f365f9d1989a5b053563f0eb4bc49921e746e0f1026fe0e02bfeea23b912798678a5a337a052d977aa04496a75570 diff --git a/gui-apps/wayvnc/metadata.xml b/gui-apps/wayvnc/metadata.xml new file mode 100644 index 000000000000..ec738f0ea539 --- /dev/null +++ b/gui-apps/wayvnc/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + VNC server for wlroots based Wayland compositors. + It attaches to a running Wayland session, creates + virtual input devices and exposes a single display + via the RFB protocol. The Wayland session may be a + headless one, so it is also possible to run wayvnc + without a physical display attached. + </longdescription> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="gbm">enable GPU-side screencopy (experimental)</flag> + <flag name="tracing">Trace kernel and memory calls</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/gui-apps/wayvnc/wayvnc-0.4.0.ebuild b/gui-apps/wayvnc/wayvnc-0.4.0.ebuild new file mode 100644 index 000000000000..369ff2e67cac --- /dev/null +++ b/gui-apps/wayvnc/wayvnc-0.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="VNC server for wlroots based Wayland compositors" +HOMEPAGE="https://github.com/any1/wayvnc" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/any1/wayvnc.git" +else + SRC_URI="https://github.com/any1/wayvnc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="gbm tracing" + +RDEPEND=" + dev-libs/aml + dev-libs/wayland + gui-libs/neatvnc[tracing?] + media-libs/mesa:=[egl,gles2,gbm?] + x11-libs/libxkbcommon + x11-libs/pixman + tracing? ( dev-util/systemtap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-libs/wayland-protocols +" + +src_configure() { + local emesonargs=( + $(meson_feature gbm screencopy-dmabuf) + $(meson_use tracing systemtap) + ) + meson_src_configure +} diff --git a/gui-apps/wayvnc/wayvnc-9999.ebuild b/gui-apps/wayvnc/wayvnc-9999.ebuild new file mode 100644 index 000000000000..369ff2e67cac --- /dev/null +++ b/gui-apps/wayvnc/wayvnc-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="VNC server for wlroots based Wayland compositors" +HOMEPAGE="https://github.com/any1/wayvnc" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/any1/wayvnc.git" +else + SRC_URI="https://github.com/any1/wayvnc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="gbm tracing" + +RDEPEND=" + dev-libs/aml + dev-libs/wayland + gui-libs/neatvnc[tracing?] + media-libs/mesa:=[egl,gles2,gbm?] + x11-libs/libxkbcommon + x11-libs/pixman + tracing? ( dev-util/systemtap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-libs/wayland-protocols +" + +src_configure() { + local emesonargs=( + $(meson_feature gbm screencopy-dmabuf) + $(meson_use tracing systemtap) + ) + meson_src_configure +} |
