net-misc/warp - 1.0.0 (guru)

Search

Install

Install this version:

emerge -a =net-misc/warp-1.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/warp-1.0.0

Or alternatively:

emerge --autounmask-write -a =net-misc/warp-1.0.0

Package Information

Description:
Fast and secure file transfer
Homepage:
https://apps.gnome.org/Warp/ https://gitlab.gnome.org/World/warp
License:
GPL-3 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD EUPL-1.2 GPL-3+ ISC MIT Unicode-3.0 Unlicense ZLIB

Ebuild Details

Version EAPI Keywords Slot
1.0.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
"

PYTHON_COMPAT=( python3_{12..14} )
RUST_MIN_VER="1.92.0"
inherit cargo flag-o-matic gnome2-utils meson python-any-r1 xdg

DESCRIPTION="Fast and secure file transfer"
HOMEPAGE="
	https://apps.gnome.org/Warp/
	https://gitlab.gnome.org/World/warp
"
SRC_URI="
	https://gitlab.gnome.org/World/warp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2
	https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"
ECARGO_HOME="${WORKDIR}/${P}-build/cargo-home"

LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD EUPL-1.2 GPL-3+ ISC
	MIT Unicode-3.0 Unlicense ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode"

DEPEND="
	>=dev-libs/glib-2.82:2
	>=gui-libs/gtk-4.20:4[wayland,X]
	>=gui-libs/libadwaita-1.8:1
	qrcode? (
		media-libs/graphene
		>=media-libs/gstreamer-1.20:1.0
		>=media-libs/gst-plugins-bad-1.20:1.0
		>=media-libs/gst-plugins-base-1.20:1.0[wayland]
		>=media-libs/gst-plugins-good-1.20:1.0
		>=media-plugins/gst-plugins-zbar-1.20:1.0
	)
"
RDEPEND="${DEPEND}"
BDEPEND="
	${PYTHON_DEPS}
	dev-util/itstool
"

PATCHES=(
	"${FILESDIR}/${P}-rename-executable.patch"
)

QA_FLAGS_IGNORED="usr/bin/warp-gtk"

pkg_setup() {
	python-any-r1_pkg_setup
	rust_pkg_setup
}

src_prepare() {
	default
	python_fix_shebang build-aux/meson-cargo-manifest.py
}

src_configure() {
	filter-lto

	local emesonargs=(
		$(meson_feature qrcode qr-code-scanning)
	)
	meson_src_configure
}

pkg_postinst() {
	gnome2_schemas_update
	xdg_pkg_postinst

	elog "warp executable has been renamed to warp-gtk to avoid a conflict with dev-haskell/wai-app-static::gentoo."
}

pkg_postrm() {
	gnome2_schemas_update
	xdg_pkg_postrm
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/warp | euse -E <flag> -p net-misc/warp | euse -D <flag> -p net-misc/warp

Global/Standard Flags

Inherited Eclasses

xdg

Dependencies

DEPEND

	>=dev-libs/glib-2.82:2
	>=gui-libs/gtk-4.20:4[wayland,X]
	>=gui-libs/libadwaita-1.8:1
	qrcode? (
		media-libs/graphene
		>=media-libs/gstreamer-1.20:1.0
		>=media-libs/gst-plugins-bad-1.20:1.0
		>=media-libs/gst-plugins-base-1.20:1.0[wayland]
		>=media-libs/gst-plugins-good-1.20:1.0
		>=media-plugins/gst-plugins-zbar-1.20:1.0
	)

RDEPEND

	>=dev-libs/glib-2.82:2
	>=gui-libs/gtk-4.20:4[wayland,X]
	>=gui-libs/libadwaita-1.8:1
	qrcode? (
		media-libs/graphene
		>=media-libs/gstreamer-1.20:1.0
		>=media-libs/gst-plugins-bad-1.20:1.0
		>=media-libs/gst-plugins-base-1.20:1.0[wayland]
		>=media-libs/gst-plugins-good-1.20:1.0
		>=media-plugins/gst-plugins-zbar-1.20:1.0
	)

BDEPEND

	
	dev-util/itstool

Manifest for 1.0.0

Type File Size Source URLs
DIST warp-1.0.0-crates.tar.xz 30287092 bytes https://github.com/pastalian/distfiles/releases/download/warp-1.0.0/warp-1.0.0-crates.tar.xz
DIST warp-1.0.0.tar.bz2 678985 bytes https://gitlab.gnome.org/World/warp/-/archive/v1.0.0/warp-v1.0.0.tar.bz2