diff options
author | Sam James <sam@gentoo.org> | 2024-03-12 03:51:05 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-12 03:51:05 +0000 |
commit | 106722979357a8ca0db6ee1d9b721e044d0f5d63 (patch) | |
tree | 2749607dd3b2f536b146567468b39bc364b86237 /sys-apps/usbredir | |
parent | sys-apps/usbredir: drop 0.13.0 (diff) | |
download | gentoo-106722979357a8ca0db6ee1d9b721e044d0f5d63.tar.gz gentoo-106722979357a8ca0db6ee1d9b721e044d0f5d63.tar.bz2 gentoo-106722979357a8ca0db6ee1d9b721e044d0f5d63.zip |
sys-apps/usbredir: add 0.14.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/usbredir')
-rw-r--r-- | sys-apps/usbredir/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/usbredir/usbredir-0.14.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/usbredir/Manifest b/sys-apps/usbredir/Manifest index 3b6ee088f950..6dc43de25bce 100644 --- a/sys-apps/usbredir/Manifest +++ b/sys-apps/usbredir/Manifest @@ -1 +1,2 @@ DIST usbredir-usbredir-0.13.0.tar.bz2 68836 BLAKE2B c0efabd12dec51bffa6e639db0a82547ec5c93ca649de823a6240373154d0929df599924ab3868d24ad74c7795202ad92ff1221589f37799944e34424acadf2d SHA512 b71eb1814ef456bebf62bac2e273f9a41b1451ae50941018c36d79298d74ac29c1137b66a4a928fd46c1fcd2905b83d3774fab703d88f9ea7e3e4e14420958ca +DIST usbredir-usbredir-0.14.0.tar.bz2 69515 BLAKE2B c521a08b789eade8947c4deac1c840efa519b67efd376121371dd9999b9a4864b3e3a6a6cbc999f5f4ee2b1c60e8ff12ddf8656b6386928b2312c2d782120c13 SHA512 cbae84c472de71d8784b24bb4e903fdb350f58d80cb595c180b8cfc3e1e727c6c6ce9de9e2929c88b0c041c7ed91de4d1c89a3dd2016a97fd32d66e6c0b34998 diff --git a/sys-apps/usbredir/usbredir-0.14.0.ebuild b/sys-apps/usbredir/usbredir-0.14.0.ebuild new file mode 100644 index 000000000000..55f0935bdece --- /dev/null +++ b/sys-apps/usbredir/usbredir-0.14.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="TCP daemon and set of libraries for usbredir protocol (redirecting USB traffic)" +HOMEPAGE="https://www.spice-space.org/usbredir.html https://gitlab.freedesktop.org/spice/usbredir" +SRC_URI="https://gitlab.freedesktop.org/spice/usbredir/-/archive/${P}/${PN}-${P}.tar.bz2" +S="${WORKDIR}"/usbredir-${P} + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/glib:2 + virtual/libusb:1 +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + # This overrides our toolchain default. + sed -i -e '/-D_FORTIFY_SOURCE=2/d' meson.build || die + + local emesonargs=( + -Dgit_werror=disabled + $(meson_feature test tests) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + dodoc -r docs/. +} |