From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C536C15814C for ; Wed, 4 Oct 2023 15:29:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94CBB2BC025; Wed, 4 Oct 2023 15:28:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 803982BC025 for ; Wed, 4 Oct 2023 15:28:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87C6B335CE3 for ; Wed, 4 Oct 2023 15:28:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8BF5963 for ; Wed, 4 Oct 2023 15:28:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1696432243.b3a8f24047faec87c0820731de6b8df4e82166b7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usbredir/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/usbredir/usbredir-0.13.0-r1.ebuild X-VCS-Directories: sys-apps/usbredir/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b3a8f24047faec87c0820731de6b8df4e82166b7 X-VCS-Branch: master Date: Wed, 4 Oct 2023 15:28:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0a27f8d-b2bb-4227-96e4-60b54c77539a X-Archives-Hash: f811971df6e60f0ef1062253622c7209 commit: b3a8f24047faec87c0820731de6b8df4e82166b7 Author: Sam James gentoo org> AuthorDate: Wed Oct 4 14:12:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 4 15:10:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a8f240 sys-apps/usbredir: don't redefine _FORTIFY_SOURCE Closes: https://bugs.gentoo.org/898050 Signed-off-by: Sam James gentoo.org> sys-apps/usbredir/usbredir-0.13.0-r1.ebuild | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/sys-apps/usbredir/usbredir-0.13.0-r1.ebuild b/sys-apps/usbredir/usbredir-0.13.0-r1.ebuild new file mode 100644 index 000000000000..5c896d3ecb8e --- /dev/null +++ b/sys-apps/usbredir/usbredir-0.13.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2023 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/. +}