jack2,jackdbus,ladish: keep source tree clean unless patched

This commit is contained in:
Nedko Arnaudov 2023-04-19 17:13:24 +03:00
parent 0ad05b57f2
commit 706677fb2d
6 changed files with 5 additions and 27 deletions

View File

@ -43,13 +43,6 @@ DOCS=( AUTHORS.rst NEWS.rst README.rst README_NETJACK2 )
PATCHES=( )
src_prepare() {
default
python_fix_shebang waf
# copy_sources
}
src_configure() {
# clients crash if built with lto
# https://github.com/jackaudio/jack2/issues/485

View File

@ -58,5 +58,4 @@ src_compile() {
src_install() {
waf-utils_src_install
python_fix_shebang "${ED}"/usr/bin/jack_control
}

View File

@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic python-single-r1 waf-utils multilib-minimal
inherit flag-o-matic python-single-r1 waf-utils
inherit git-r3
EGIT_REPO_URI="https://github.com/LADI/${PN}.git"
@ -23,7 +23,7 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
DEPEND="
sys-apps/dbus[${MULTILIB_USEDEP}]"
sys-apps/dbus"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
@ -39,14 +39,7 @@ PDEPEND=""
DOCS=( AUTHORS NEWS.rst README.adoc )
src_prepare() {
default
python_fix_shebang waf
multilib_copy_sources
}
multilib_src_configure() {
src_configure() {
# clients crash if built with lto
# https://github.com/jackaudio/jack2/issues/485
filter-lto
@ -58,14 +51,10 @@ multilib_src_configure() {
waf-utils_src_configure "${wafargs[@]}"
}
multilib_src_compile() {
src_compile() {
waf-utils_src_compile
}
multilib_src_install() {
src_install() {
waf-utils_src_install
}
multilib_src_install_all() {
python_fix_shebang "${ED}"/usr/bin/jack_control
}

View File

@ -67,7 +67,6 @@ src_configure() {
src_install() {
use doc && HTML_DOCS="${S}/build/default/html/*"
waf-utils_src_install
python_fix_shebang "${ED}"
}
pkg_postinst() {

View File

@ -67,7 +67,6 @@ src_configure() {
src_install() {
use doc && HTML_DOCS="${S}/build/default/html/*"
waf-utils_src_install
python_fix_shebang "${ED}"
}
pkg_postinst() {

View File

@ -66,7 +66,6 @@ src_configure() {
src_install() {
use doc && HTML_DOCS="${S}/build/default/html/*"
waf-utils_src_install
python_fix_shebang "${ED}"
}
pkg_postinst() {