diff options
author | 2021-05-19 11:45:51 +0200 | |
---|---|---|
committer | 2021-05-19 11:46:13 +0200 | |
commit | cec80d00caf5ead084760f175d168623e8eef6fb (patch) | |
tree | 19afff1520f8290c348db259f1c3e51e1606599d /media-sound/amsynth/amsynth-1.12.2.ebuild | |
parent | dev-python/setuptools: amd64/arm64/arm/hppa/ppc64/ppc/sparc/x86 stable (ALLAR... (diff) | |
download | gentoo-cec80d00caf5ead084760f175d168623e8eef6fb.tar.gz gentoo-cec80d00caf5ead084760f175d168623e8eef6fb.tar.bz2 gentoo-cec80d00caf5ead084760f175d168623e8eef6fb.zip |
media-sound/amsynth: fixed compilation of 1.12.2 wrt x11
Closes: https://bugs.gentoo.org/791043
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/amsynth/amsynth-1.12.2.ebuild')
-rw-r--r-- | media-sound/amsynth/amsynth-1.12.2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media-sound/amsynth/amsynth-1.12.2.ebuild b/media-sound/amsynth/amsynth-1.12.2.ebuild index 6afc53191fed..872703207acb 100644 --- a/media-sound/amsynth/amsynth-1.12.2.ebuild +++ b/media-sound/amsynth/amsynth-1.12.2.ebuild @@ -28,7 +28,10 @@ RDEPEND=" media-libs/dssi:= media-libs/liblo:= ) - gtk? ( x11-libs/gtk+:2 ) + gtk? ( + x11-libs/gtk+:2 + x11-libs/libX11 + ) jack? ( virtual/jack ) lash? ( media-sound/lash ) lv2? ( media-libs/lv2 ) @@ -41,6 +44,11 @@ PATCHES=( "${FILESDIR}/${P}-metadata.patch" ) +src_prepare() { + default + ! use gtk && eapply "${FILESDIR}/${P}-x11.patch" +} + src_configure() { econf \ $(use_with alsa) \ |