We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view media-sound/yabridge-bin/yabridge-bin-5.1.1.ebuild @ 271:42f152f7bd51 default tip

[sync] imported 19745ea..26957c3 from upstream commit 26957c37396048346e2760cf909dce89f35961ae Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon May 19 21:10:04 2025 +0200 app-misc/qutescoop: force X11 compatibility mode on Wayland to work around OpenGL corruption
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 19 May 2025 19:15:01 +0000
parents 43be7800d5f3
children
line wrap: on
line source

# Copyright 1999-2025 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A bridge to use Windows VST and CLAP plugins on Linux via wine; binary release."
HOMEPAGE="https://github.com/robbert-vdh/yabridge"

SRC_URI="https://github.com/robbert-vdh/yabridge/releases/download/${PV}/yabridge-${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

DEPEND=""
RDEPEND="${DEPEND}
	app-crypt/libmd
	dev-libs/libbsd
	sys-devel/gcc
	sys-libs/glibc
	x11-libs/libXau
	x11-libs/libxcb
	x11-libs/libXdmcp
	virtual/wine
"

S="${WORKDIR}"

QA_PREBUILT="/usr/*"
QA_TEXTRELS="usr/bin/yabridge-host-32.exe.so"

src_compile() { :; }

src_install() {
	# to avoid issues with linking etc. we install to default locations; see Arch Linux repository for reference:
	# https://archlinux.org/packages/multilib/x86_64/yabridge/
	# https://archlinux.org/packages/multilib/x86_64/yabridgectl/

	exeinto /usr/bin
	doexe yabridge/yabridgectl
	doexe yabridge/*.exe
	doexe yabridge/*.exe.so

	dolib.so yabridge/*-clap.so
	dolib.so yabridge/*-vst2.so
	dolib.so yabridge/*-vst3.so

	dodoc yabridge/*.md
}

pkg_postinst() {
        #      12345678901234567890123456789012345678901234567890123456789012345678901234567890
	einfo "wine 9.22 and later have known compatibility issues, such as the mouse cursor"
	einfo "being offset. You probably want to stick with wine 9.21 or below until a fix is"
	einfo "available."
	einfo ""
        einfo "See: https://github.com/robbert-vdh/yabridge/issues/382"
}