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 @ 268:43be7800d5f3

[sync] imported 5f8a98e..0868af3 from upstream commit 0868af3c8fa36a5acfa59123747729d636311f14 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Jan 2 13:06:18 2025 +0100 media-sound/yabridge-bin: update description, CLAP is also supported
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 02 Jan 2025 12:15:01 +0000
parents 3ea8643fd217
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"
}