summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/Manifest.gzbin57604 -> 57600 bytes
-rw-r--r--media-sound/gnome-music/Manifest2
-rw-r--r--media-sound/gnome-music/gnome-music-45.0.ebuild74
-rw-r--r--media-sound/jack2/Manifest5
-rw-r--r--media-sound/jack2/jack2-1.9.22.ebuild24
-rw-r--r--media-sound/jack2/jack2-9999.ebuild5
-rw-r--r--media-sound/lash/Manifest3
-rw-r--r--media-sound/lash/files/lash-0.5.4-autotools.patch32
-rw-r--r--media-sound/lash/files/lash-0.5.4-c99.patch11
-rw-r--r--media-sound/lash/lash-0.5.4-r6.ebuild126
10 files changed, 197 insertions, 85 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz
index 839f7613cbd5..5cedd1083c68 100644
--- a/media-sound/Manifest.gz
+++ b/media-sound/Manifest.gz
Binary files differ
diff --git a/media-sound/gnome-music/Manifest b/media-sound/gnome-music/Manifest
index 82a78eea8362..b7cb73eeeaf0 100644
--- a/media-sound/gnome-music/Manifest
+++ b/media-sound/gnome-music/Manifest
@@ -1,5 +1,3 @@
-DIST gnome-music-45.0.tar.xz 1662996 BLAKE2B dedcb905ad135bd9bff569cb1168062e0f451479e00cddc3ac56dc506b938a090c1189495ee79b563a7e045e45cde40eb5095f4085c0a7de36fa1b876bc312f9 SHA512 9f919a3dd63826e7c31c57d62fbdd0dad463d401e213ca8aa119357d7203449ddd5b10b03d3ac66008399fadd6afcb3f7ae52b21fa9bf3f5c79eca6e859f67cc
DIST gnome-music-45.1.tar.xz 1666152 BLAKE2B 27403070735003df5d907fae2675b67f5b907e10e55e2ed3b31e369e146c03a2d7c95371092043862d83968fc45131ddb7643e34634b0a98d686402fdf676118 SHA512 6cc123eda769d524e5c215c7167248b15ac21fd99a1ac385069c8bac8a03652d458460438adec5853daf329f61d70339f5765b938badc862151b655ba64a80cf
-EBUILD gnome-music-45.0.ebuild 1859 BLAKE2B d6fa7efe5ed942144f001da61e5d4a245a9663d4f8b9938ca99e2e626b73e2bc97083749b9fe75a6f355e09d86592cb1c1046ce2fb60cbb0de005f416b2bfcf7 SHA512 251f75405b129ef2d8f8151581dba351ccfac7b58c1ef56ebc548f0e2128a023917d709fdbb76ec52627329b0ddd90e4b2ef1795dcf2ebdf6e103b40f25958fb
EBUILD gnome-music-45.1.ebuild 1859 BLAKE2B d6fa7efe5ed942144f001da61e5d4a245a9663d4f8b9938ca99e2e626b73e2bc97083749b9fe75a6f355e09d86592cb1c1046ce2fb60cbb0de005f416b2bfcf7 SHA512 251f75405b129ef2d8f8151581dba351ccfac7b58c1ef56ebc548f0e2128a023917d709fdbb76ec52627329b0ddd90e4b2ef1795dcf2ebdf6e103b40f25958fb
MISC metadata.xml 352 BLAKE2B 8f9983c2cfeccb1a920be308931a9eef0700560f7c7a249fbf0a8d450467d77b670c6de9e3a3ef470933fd10a4e9190314c7a98470064addef7667dc2d19c92e SHA512 eaa3bfbb8fb4078c94f9b0300d3574345138899056cb3e9ba114448728f347a0cbdc45aea2b3501bb85dc459eeccc4e2f1f56212a4982d99d9113732bc17998c
diff --git a/media-sound/gnome-music/gnome-music-45.0.ebuild b/media-sound/gnome-music/gnome-music-45.0.ebuild
deleted file mode 100644
index b983b5705323..000000000000
--- a/media-sound/gnome-music/gnome-music-45.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit gnome.org gnome2-utils meson python-single-r1 xdg
-
-DESCRIPTION="Music management for Gnome"
-HOMEPAGE="https://wiki.gnome.org/Apps/Music https://gitlab.gnome.org/GNOME/gnome-music/"
-
-LICENSE="GPL-2+"
-SLOT="0"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
-
-DEPEND="${PYTHON_DEPS}
- >=dev-libs/glib-2.67.1:2
- >=net-libs/gnome-online-accounts-3.35.90[introspection]
- >=dev-libs/gobject-introspection-1.54:=
- >=gui-libs/gtk-4.5.0:4[introspection]
- >=gui-libs/libadwaita-1.2:1=[introspection]
- >=media-libs/libmediaart-1.9.1:2.0[introspection]
- net-libs/libsoup:3.0[introspection]
- app-misc/tracker:3=[introspection(+)]
- >=x11-libs/pango-1.44:=
- $(python_gen_cond_dep '
- >=dev-python/pygobject-3.36.1:3[cairo,${PYTHON_USEDEP}]
- >=dev-python/pycairo-1.14.0[${PYTHON_USEDEP}]
- ')
- >=media-libs/grilo-0.3.15-r1:0.3[introspection]
- >=media-plugins/grilo-plugins-0.3.16:0.3[tracker]
-"
-# xdg-user-dirs-update needs to be there to create needed dirs
-# https://bugzilla.gnome.org/show_bug.cgi?id=731613
-RDEPEND="${DEPEND}
- || (
- app-misc/tracker-miners:3[gstreamer]
- app-misc/tracker-miners:3[ffmpeg]
- )
- x11-libs/libnotify[introspection]
- media-libs/gstreamer:1.0[introspection]
- media-libs/gst-plugins-base:1.0[introspection]
- media-plugins/gst-plugins-meta:1.0
- media-plugins/grilo-plugins:0.3[tracker]
- x11-misc/xdg-user-dirs
-"
-BDEPEND="
- dev-libs/libxml2:2
- dev-util/itstool
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-
-pkg_setup() {
- python_setup
-}
-
-src_install() {
- meson_src_install
- python_fix_shebang "${D}"/usr/bin/gnome-music
- python_optimize
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/media-sound/jack2/Manifest b/media-sound/jack2/Manifest
index 84cc979aa819..2a9ccc64509b 100644
--- a/media-sound/jack2/Manifest
+++ b/media-sound/jack2/Manifest
@@ -1,4 +1,5 @@
+DIST jack2-1.9.22-python3.12.patch.xz 32080 BLAKE2B d581d38cd32d8933bf4a9fdb1c6f3445d8e05be5ae1775335180b6f5daea9e5bad036560a33027d09d0a996a22fcb068140e2b61483fa8a7c4e8091bda39d114 SHA512 e63b73526719dcd4276036e71a7dd8f44c01c3048330724ec3fa8cf5f189055ac58f57493e87163017fbbe201b76672a9115b64957b575f0f7a1b6d9f7ec40e3
DIST jack2-1.9.22.tar.gz 933448 BLAKE2B 8c42cb996e132f711ad8b7071d44601e21bfc8fe24802113825b8434abc8734c981daa2b09f10a7ecb1492a51d631255a99649d6d76343622b5e38da07e0c598 SHA512 d93cb2bcc57b72b6815eed143de1092d14fe22542ae9a1f8480d9ed5f44b59c50f81279d18bdd84ff6276ddd71ca1aa64a1e46d61199a5eda0d873a356194ab4
-EBUILD jack2-1.9.22.ebuild 2576 BLAKE2B 0821b6f6f468723cd112399a15c9f7281d0ba542e774bda8155fe0d412affd9dd2f643ab5705d3a7e3c995ace6154339794ea262bb4e2b0a573271b9208abc81 SHA512 ad2d6000f7c5a3036482fc7fad118305f95701c1e01d3003db5f264c9649ea6878587d365f11e832a647a5ef903db7fe82c3b576d2ef10a2137e90ca1350658e
-EBUILD jack2-9999.ebuild 2581 BLAKE2B e80a6979ae10bcf28293674b0f01db6ad143d8ffb2e91ca7250aab54b16bc234706a53391985ce19d5dbbb4254891e949af548202c7c072998f81d1d558a1f25 SHA512 f794722bf437951b8297fad7ea38dd14aa5361c3936a4f672b62f439b191e2f7d5db88ef9a6ee433c452c303fcf9102837e7ece0cea8888f16aa1da552140c7a
+EBUILD jack2-1.9.22.ebuild 2705 BLAKE2B 993cef6240d132f7705e596b975eecb63b72e2aad7e59dcf5ce3a6058df480e37c27f4465f8d019a05f39dba7a897ffc80c4596c019abeb641a8495a8b399f28 SHA512 c47b0f9955c209f98fa318969feb7c61b7641922f2ec493a9077c5328852f7f7f9559d9752005b2a2eb5f2f799ed5de779734199fe54c1f4903f04760fafede2
+EBUILD jack2-9999.ebuild 2589 BLAKE2B 7c469bed034ca010a3d66198d1ccfafc454e4bf7a2aafb629fb0fe964bf2523e0fc076d264c01e62612c5be41ecaaaecf7ba2838aeb856afd4824baec1d162a7 SHA512 f1215b10b1751b539d4682e7d29ecd8b85f7dcf2a14376e2fb4633f17bf59bb7505f4a58771270166d4211b05ab0bbb929d8eb5582f5aad6198a9ee6bbb465d1
MISC metadata.xml 780 BLAKE2B 2cbd15be73cfc17162ab0cd6d5311bb4ab48f19dae7224df11712a9ab91fbbbba383e80fe3c99f3a1bb0ee91015144799f58652c782bce1405d5b7a4f8e203ee SHA512 ac8d68929de1d11a39d89ca0ccc0e330790596af7f58fe5305c328dddc74438ec465beca11cce7244e8f2421a446aab900b90b018dd73d688dae7062d26d0e16
diff --git a/media-sound/jack2/jack2-1.9.22.ebuild b/media-sound/jack2/jack2-1.9.22.ebuild
index 5c178c78a5d4..c52bbee4676b 100644
--- a/media-sound/jack2/jack2-1.9.22.ebuild
+++ b/media-sound/jack2/jack2-1.9.22.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic python-single-r1 waf-utils multilib-minimal
@@ -11,7 +11,11 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git"
else
- SRC_URI="https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="
+ https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${P}-python3.12.patch.xz
+ "
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv x86"
fi
@@ -23,7 +27,8 @@ SLOT="2"
IUSE="+alsa +classic dbus doc ieee1394 libsamplerate metadata opus pam +tools systemd"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
- || ( classic dbus )"
+ || ( classic dbus )
+"
DEPEND="
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
@@ -35,7 +40,8 @@ DEPEND="
ieee1394? ( media-libs/libffado[${MULTILIB_USEDEP}] )
metadata? ( sys-libs/db:=[${MULTILIB_USEDEP}] )
opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )
- systemd? ( classic? ( sys-apps/systemd:= ) )"
+ systemd? ( classic? ( sys-apps/systemd:= ) )
+"
RDEPEND="
${DEPEND}
dbus? (
@@ -46,16 +52,22 @@ RDEPEND="
)
pam? ( sys-auth/realtime-base )
!media-sound/jack-audio-connection-kit
- !media-video/pipewire[jack-sdk(-)]"
+ !media-video/pipewire[jack-sdk(-)]
+"
BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig
- doc? ( app-text/doxygen )"
+ doc? ( app-text/doxygen )
+"
# tools were formerly provided here, pull to maintain expectations
PDEPEND="tools? ( media-sound/jack-example-tools )"
DOCS=( AUTHORS.rst ChangeLog.rst README.rst README_NETJACK2 )
+PATCHES=(
+ "${WORKDIR}"/${P}-python3.12.patch
+)
+
src_prepare() {
default
diff --git a/media-sound/jack2/jack2-9999.ebuild b/media-sound/jack2/jack2-9999.ebuild
index c2b74cc94497..2241477aa20d 100644
--- a/media-sound/jack2/jack2-9999.ebuild
+++ b/media-sound/jack2/jack2-9999.ebuild
@@ -11,7 +11,10 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git"
else
- SRC_URI="https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="
+ https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
diff --git a/media-sound/lash/Manifest b/media-sound/lash/Manifest
index 5d2726bc8866..176f0209241c 100644
--- a/media-sound/lash/Manifest
+++ b/media-sound/lash/Manifest
@@ -1,3 +1,5 @@
+AUX lash-0.5.4-autotools.patch 984 BLAKE2B 7cff598522db5bc8e7257bbbb89b54fe58d98e506656bbeea9a22f56078e95b6eb1e223c9d864916b4574f1f716768983aecb646a41dfb9ef78222001ff32394 SHA512 f212665a6348f23349f046feee93917c95bfca1aa77ee75dd33369201242c8a31a17894346a9b27d1ed0ce7943d437c27492e12ffd1cff001dc282eb26dbd39f
+AUX lash-0.5.4-c99.patch 192 BLAKE2B 627eca94699b0bb86f93b62046182911f90279b4414ee1fbb9da654b6c0c564b063ec7f44c77075d15bd2daa02072ccdfd24677b4cb656c39744bf87a1d2637d SHA512 065c598c4913aef7bf1285ff44c805c33c9c992f33096c42db8fa9d7c0207ee70c476aa3f703c794cdb8af06e3246ef274a2e51d7693e365270972a137116b9a
AUX lash-0.5.4-gcc47.patch 299 BLAKE2B 83e8d5805686e62a2a46b6c91283ac268dda892312210d8af0aca5f386bd2cc718917b9bdbe7db87819e5c10e7028c41c36b056b17885fbc0f999f8432e598ef SHA512 3f56550130b18becafbd9a1e544aaec6b729af398cd0abb95c17895baec65e9bba3a849122a787b8913fee7b4422b9ef0ee3fa9e627b1eec5db26543035f75a6
AUX lash-0.5.4-glibc2.8.patch 344 BLAKE2B 6362c9d7ca824c26e0d037d80eb3221c2b4647cb999f7a16057d36e50b533a09c3228be72e7921ef8aadab7fdddb17317c85803b03144ae75392bfc9af9fd4ae SHA512 182cc371fbeb9ddd2407642b74fd5bb309f34c32ae1276d09d9c33c95ce9d065ea97df3a4306501fe151e2d3b4edc96c4140fabbc2c3016d8cba54fb0e8766cb
AUX lash-0.5.4-strcmp.patch 252 BLAKE2B f2b002772df6dab5c2942039d36e681697894cc5b73d4bad7f5e27728e8e77c0032cc375a03b5ccb92c08a3e249b0539f8d3ece5a7007754af67693fbbeef4d9 SHA512 dba0d98fdd4f9cf84bb5c8e840fe76a3de8b729a7c2b88d55868939f119084433ae1bf5b7b3aacd1057995f73d6baa204878651cd9d0c4f419aca20910b84d66
@@ -5,4 +7,5 @@ AUX lash-0.5.4-swig_version_comparison.patch 1225 BLAKE2B 92f9fe4ae053dc454f8434
AUX lash-0.5.4-underlinking.patch 660 BLAKE2B 6f3ca7580a588493610869ae8f2ff58f1c53b8e593e45c8613b1a15e7b97521f01372b493d3f627d878a8f0f6a349460da6fcc1eb48cb2b7e18e283acdc3a81b SHA512 118bccb0da55f0e7808424696143b00784afb18cdf982fdef837bdafa1dea6b55ed912762a964e210c2f0ba4a3bd1469249cad957428cca87da6bd0514751d66
DIST lash-0.5.4.tar.gz 623469 BLAKE2B 463931a9fcacf806631746c69ccb2e2b795b8983e796835abce6036ed98571c41253fb8236a33c0a8bd1b5d3a910229d4e95f99257c1d82c64495201c64c6414 SHA512 93193dd585738b8c3432b3f75864d287f874b5618100a84f0a1b2bda2df15403203cfc66e7a0298adab7ef95bfdded81697614ca5ef8eaf5cebdde5860f47e3c
EBUILD lash-0.5.4-r5.ebuild 2594 BLAKE2B 06889426765f7151104efe1fde41104f9acc2eb5df774f698a4933bc40ddc4df294f799a07d7630acaf0591124b6abfaffe19b0e92117b54578dd9e198c4fa19 SHA512 6ab198aba02562bd83a1ba255400540b423038765fca417d0d6b300714d80cc51ed735b8161b279a40cd4e9920a0bf9fc34f8fa69785266a50020864a79a2690
+EBUILD lash-0.5.4-r6.ebuild 2656 BLAKE2B 3f5f0706ff35fbf8a6bc25dd91a1ed913aa70a4c3eb4d066fe44ea00fd67e212e09649e4585947564c50bd1023877f9038d0b7dce369079f89072a849baa7973 SHA512 54026c311cdd29c504548953ae8506a45e0561d09d8aac10478c32493b03999efa456fc95820eb83308d36b13fc7fcc7102946aaf40f6243c5a873dd4a466ecb
MISC metadata.xml 348 BLAKE2B a5547f7cc6e5cae590b4d49c378f44c3591dd94d0b42a5ba666a2bc72875a1b54db17f8b4b7ad489d1b816d5fd45d82d62ae66916902d5c58007a465337c97c7 SHA512 49464d68db43ca854eeb3774a086d041e688ad0613b5cb4099d90498efb868003aba35afddbb92d2583982d9d8be28340cc26bcd33330a47948b44734e411639
diff --git a/media-sound/lash/files/lash-0.5.4-autotools.patch b/media-sound/lash/files/lash-0.5.4-autotools.patch
new file mode 100644
index 000000000000..54988c70bbc7
--- /dev/null
+++ b/media-sound/lash/files/lash-0.5.4-autotools.patch
@@ -0,0 +1,32 @@
+Fix build with modern autoconf/automake and fix a bashism in configure.
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,5 @@
++ACLOCAL_AMFLAGS = -I m4
++
+ SUBDIRS = m4 docs lash liblash lashd clients icons pylash
+
+ pkgconfigdir = $(libdir)/pkgconfig
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,6 @@ AC_INIT([LASH],[0.5.4])
+ AC_CONFIG_SRCDIR([lash/types.h])
+ AC_CONFIG_HEADER([config.h])
+ AM_INIT_AUTOMAKE
+-AM_ACLOCAL_INCLUDE([m4])
+
+ ### Check for programs ###
+ AC_LANG([C])
+@@ -161,10 +160,10 @@ AC_ARG_ENABLE(pylash, [AS_HELP_STRING(--disable-pylash, [Force disable pylash bu
+ if test x$build_pylash != xdisabled; then
+ AM_PATH_PYTHON(2.3, python_found=yes, python_found=no)
+
+- if test x$python_found == xyes; then
++ if test x$python_found = xyes; then
+ AM_CHECK_PYTHON_HEADERS(, python_found=no)
+
+- if test x$python_found == xyes; then
++ if test x$python_found = xyes; then
+ AC_PROG_SWIG(1.3.31)
+ if test "$SWIG_LIB" ; then
+ build_pylash=yes
diff --git a/media-sound/lash/files/lash-0.5.4-c99.patch b/media-sound/lash/files/lash-0.5.4-c99.patch
new file mode 100644
index 000000000000..31dab715db7e
--- /dev/null
+++ b/media-sound/lash/files/lash-0.5.4-c99.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/925439
+--- a/clients/synth/lash.c
++++ b/clients/synth/lash.c
+@@ -22,6 +22,7 @@
+
+ #include "config.h"
+
++#include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
+
diff --git a/media-sound/lash/lash-0.5.4-r6.ebuild b/media-sound/lash/lash-0.5.4-r6.ebuild
new file mode 100644
index 000000000000..1ee913743360
--- /dev/null
+++ b/media-sound/lash/lash-0.5.4-r6.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit autotools multilib-minimal python-single-r1
+
+DESCRIPTION="LASH Audio Session Handler"
+HOMEPAGE="http://www.nongnu.org/lash/"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="alsa debug gtk python static-libs" # doc
+
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-libs/libxml2
+ sys-apps/util-linux[${MULTILIB_USEDEP}]
+ virtual/jack
+ alsa? ( media-libs/alsa-lib )
+ gtk? ( x11-libs/gtk+:2 )
+ python? ( ${PYTHON_DEPS} )
+ || ( sys-libs/readline dev-libs/libedit )
+"
+DEPEND="
+ ${RDEPEND}
+ python? ( dev-lang/swig )
+"
+# doc? ( >=app-text/texi2html-5 )
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+HTML_DOCS=( docs/lash-manual-html-one-page/lash-manual.html )
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-glibc2.8.patch
+ "${FILESDIR}"/${P}-swig_version_comparison.patch
+ "${FILESDIR}"/${P}-gcc47.patch
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-strcmp.patch
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-c99.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/texi2html/s:-number:&-sections:' \
+ docs/Makefile.am || die #422045
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # 'no' could be '$(usex doc)' but we use the pregenerated lash-manual.html
+ export ac_cv_prog_lash_texi2html=no #422045
+
+ # --enable-pylash would disable it
+ local myconf=()
+ if ! multilib_is_native_abi || ! use python; then
+ myconf+=( --disable-pylash )
+ fi
+
+ if ! multilib_is_native_abi; then
+ # disable remaining configure checks
+ myconf+=(
+ JACK_CFLAGS=' '
+ JACK_LIBS=' '
+ XML2_CFLAGS=' '
+ XML2_LIBS=' '
+
+ vl_cv_lib_readline=no
+ )
+ fi
+
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_enable alsa alsa-midi) \
+ $(multilib_native_use_enable gtk gtk2) \
+ $(multilib_native_use_enable debug) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ default
+ else
+ emake -C liblash
+ fi
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && default
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ emake DESTDIR="${D}" install
+ else
+ # headers
+ emake -C lash DESTDIR="${D}" install
+ # library
+ emake -C liblash DESTDIR="${D}" install
+ # pkg-config
+ emake DESTDIR="${D}" install-pkgconfigDATA
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name '*.la' -delete || die
+ use python && python_optimize
+}