mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
1
app-emulation/looking-glass/Manifest
Normal file
1
app-emulation/looking-glass/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST looking-glass-1_beta6.tar.gz 2774858 BLAKE2B 351d7805447552d9945ae9a4e24cb853eda8f5bbff32d882355aa634ad67912881830dd36e5c48b1796b2f26f83f6db061004bfb6af4dfbc7704162190629efe SHA512 558981d6b32098076ef0775a748da349941551352cbef836e37310e43e5cd6072df3dec6fa2418a9abecc7729ef0c1c6869e3168d05a3d76bea46c6eb8c4e82c
|
||||
@@ -1,21 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3 desktop xdg-utils
|
||||
inherit cmake desktop xdg
|
||||
|
||||
MY_PV="${PV/1_beta/B}"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git"
|
||||
EGIT_BRANCH="Release/B6"
|
||||
DESCRIPTION="A low latency KVM FrameRelay implementation for guests with VGA PCI Passthrough"
|
||||
HOMEPAGE="https://looking-glass.io https://github.com/gnif/LookingGlass"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git"
|
||||
else
|
||||
SRC_URI="https://looking-glass.io/artifact/${MY_PV}/source -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="binutils gnome pipewire pulseaudio wayland X"
|
||||
REQUIRED_USE="|| ( binutils gnome pipewire pulseaudio wayland X ) pipewire? ( !pulseaudio ) pulseaudio? ( !pipewire ) "
|
||||
REQUIRED_USE="|| ( wayland X )"
|
||||
|
||||
RDEPEND="dev-libs/libconfig
|
||||
RDEPEND="
|
||||
dev-libs/libconfig
|
||||
dev-libs/nettle
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
@@ -24,35 +34,44 @@ RDEPEND="dev-libs/libconfig
|
||||
virtual/glu
|
||||
media-libs/libsamplerate
|
||||
binutils? ( sys-devel/binutils )
|
||||
X? ( x11-libs/libX11 x11-libs/libXfixes x11-libs/libXi x11-libs/libXScrnSaver x11-libs/libXpresent )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXpresent
|
||||
)
|
||||
wayland? ( dev-libs/wayland )
|
||||
media-libs/libpulse
|
||||
pipewire? ( media-video/pipewire )
|
||||
gnome? ( gui-libs/libdecor )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-emulation/spice-protocol
|
||||
wayland? ( dev-libs/wayland-protocols )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
wayland? ( dev-util/wayland-scanner )
|
||||
"
|
||||
|
||||
CMAKE_USE_DIR="${S}"/client
|
||||
|
||||
src_prepare () {
|
||||
default
|
||||
|
||||
src_configure () {
|
||||
# Base on build.rst from the project
|
||||
# doc/build.rst
|
||||
MYCMAKEARGS=(
|
||||
-DENABLE_BACKTRACE=$(usex binutils) \
|
||||
-DENABLE_X11=$(usex X) -DENABLE_WAYLAND=$(usex wayland) \
|
||||
-DENABLE_PIPEWIRE=$(usex pipewire) \
|
||||
-DENABLE_PULSEAUDIO=$(usex pulseaudio) \
|
||||
local mycmakeargs=(
|
||||
-DENABLE_BACKTRACE=$(usex binutils)
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DENABLE_WAYLAND=$(usex wayland)
|
||||
-DENABLE_PIPEWIRE=$(usex pipewire)
|
||||
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DENABLE_LIBDECOR=$(usex gnome)
|
||||
)
|
||||
|
||||
cmake_src_prepare
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -71,12 +90,13 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_pkg_postinst
|
||||
|
||||
if use X && ! use wayland || ! use X && use wayland; then
|
||||
ewarn "The desktop file located located at /usr/share/applications/LookingGlass.desktop"
|
||||
ewarn "The desktop file located at /usr/share/applications/LookingGlass.desktop"
|
||||
fi
|
||||
if use X && use wayland; then
|
||||
ewarn "The desktop files located located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop"
|
||||
ewarn "The desktop files located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop"
|
||||
fi
|
||||
ewarn "Use the Right Control (Control_R) as the modifier key to control the action in LookingGlass"
|
||||
ewarn "Note: Key was change because my laptop dosent have ScrLk"
|
||||
|
||||
@@ -1,20 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3 desktop xdg-utils
|
||||
inherit cmake desktop xdg
|
||||
|
||||
MY_PV="${PV/1_beta/B}"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git"
|
||||
DESCRIPTION="A low latency KVM FrameRelay implementation for guests with VGA PCI Passthrough"
|
||||
HOMEPAGE="https://looking-glass.io https://github.com/gnif/LookingGlass"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gnif/LookingGlass.git"
|
||||
else
|
||||
SRC_URI="https://looking-glass.io/artifact/${MY_PV}/source -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="binutils gnome pipewire pulseaudio wayland X"
|
||||
REQUIRED_USE="|| ( binutils gnome pipewire pulseaudio wayland X ) pipewire? ( !pulseaudio ) pulseaudio? ( !pipewire ) "
|
||||
REQUIRED_USE="|| ( wayland X )"
|
||||
|
||||
RDEPEND="dev-libs/libconfig
|
||||
RDEPEND="
|
||||
dev-libs/libconfig
|
||||
dev-libs/nettle
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
@@ -23,39 +34,44 @@ RDEPEND="dev-libs/libconfig
|
||||
virtual/glu
|
||||
media-libs/libsamplerate
|
||||
binutils? ( sys-devel/binutils )
|
||||
X? ( x11-libs/libX11 x11-libs/libXfixes x11-libs/libXi x11-libs/libXScrnSaver x11-libs/libXpresent )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXpresent
|
||||
)
|
||||
wayland? ( dev-libs/wayland )
|
||||
media-libs/libpulse
|
||||
pipewire? ( media-video/pipewire )
|
||||
gnome? ( gui-libs/libdecor )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-emulation/spice-protocol
|
||||
wayland? ( dev-libs/wayland-protocols )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
wayland? ( dev-util/wayland-scanner )
|
||||
"
|
||||
|
||||
CMAKE_USE_DIR="${S}"/client
|
||||
|
||||
src_prepare () {
|
||||
default
|
||||
|
||||
src_configure () {
|
||||
# Base on build.rst from the project
|
||||
# doc/build.rst
|
||||
MYCMAKEARGS=(
|
||||
-DENABLE_BACKTRACE=$(usex binutils) \
|
||||
-DENABLE_X11=$(usex X) -DENABLE_WAYLAND=$(usex wayland) \
|
||||
-DENABLE_PIPEWIRE=$(usex pipewire) \
|
||||
-DENABLE_PULSEAUDIO=$(usex pulseaudio) \
|
||||
local mycmakeargs=(
|
||||
-DENABLE_BACKTRACE=$(usex binutils)
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DENABLE_WAYLAND=$(usex wayland)
|
||||
-DENABLE_PIPEWIRE=$(usex pipewire)
|
||||
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DENABLE_LIBDECOR=$(usex gnome)
|
||||
)
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -74,12 +90,13 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_pkg_postinst
|
||||
|
||||
if use X && ! use wayland || ! use X && use wayland; then
|
||||
ewarn "The desktop file located located at /usr/share/applications/LookingGlass.desktop"
|
||||
ewarn "The desktop file located at /usr/share/applications/LookingGlass.desktop"
|
||||
fi
|
||||
if use X && use wayland; then
|
||||
ewarn "The desktop files located located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop"
|
||||
ewarn "The desktop files located at /usr/share/applications/LookingGlass-X.desktop /usr/share/applications/LookingGlass-Wayland.desktop"
|
||||
fi
|
||||
ewarn "Use the Right Control (Control_R) as the modifier key to control the action in LookingGlass"
|
||||
ewarn "Note: Key was change because my laptop dosent have ScrLk"
|
||||
|
||||
@@ -13,7 +13,7 @@ HOMEPAGE="
|
||||
https://pypi.org/project/find-work/
|
||||
"
|
||||
|
||||
LICENSE="WTFPL"
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -92,9 +92,6 @@ src_prepare() {
|
||||
# Allow skip submodule downloading
|
||||
rm .gitmodules || die
|
||||
|
||||
# Unbundle cubeb
|
||||
use cubeb && sed -i '$afind_package(Threads REQUIRED)' CMakeLists.txt || die
|
||||
|
||||
if ! use discord; then
|
||||
sed -i -e '/^if.*discord-rpc/,/^endif()/d' externals/CMakeLists.txt || die
|
||||
else
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -117,7 +117,6 @@ src_prepare() {
|
||||
fi
|
||||
|
||||
# Unbundle cubeb
|
||||
use cubeb && sed -i '$afind_package(Threads REQUIRED)' CMakeLists.txt || die
|
||||
sed -i '/^if.*cubeb/,/^endif()/d' externals/CMakeLists.txt || die
|
||||
|
||||
# Unbundle cpp-httplib
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST discord-canary-0.0.233.deb 92534522 BLAKE2B 8b75d2c77c6f80afd5ff9fc5641c219ef82d18a3baa014ed5fdd32b245edfc3b57db171e22b7b4a2a079e2b9fbdcdf5d7fa5c44385e4c7603c254cad85bb27b6 SHA512 5d8f6855e07dd275ecf40b5a7c7170256721c7564f5a40478426fef98b15ff6eea0169255f3261337e7a018359e329cdf7a768c0c36311a40dfee6e9047d766d
|
||||
DIST discord-canary-0.0.235.deb 92534568 BLAKE2B 6491b5c9b7086e2399c8157a49ef767108c22a232cf6c2482b35d202ac1ca1ba8af71f62218c84ad5b4e3b85b9a544f81e1d2b6bac8b2177fcc002496109b5b8 SHA512 44b80c16d56b7892010e37e247ba848e4f9c882d341a0a832b9c09a8060548cc5b40b9b20f4de4e18765cddd284885c192bca35dad144e9552d9a0eaadd343ab
|
||||
|
||||
Reference in New Issue
Block a user