media-sound/orca-c: General improvements

...as suggested by @stkw0

Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
Niklaus 'vimja' Hofer
2026-04-08 21:21:09 +02:00
parent c2a5da5fb4
commit e11eb83315
2 changed files with 7 additions and 11 deletions

View File

@@ -37,7 +37,6 @@ DEPEND="
) )
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
DOCS=( DOCS=(
"README.md", "README.md",
@@ -52,11 +51,10 @@ src_compile() {
$(usex mouse '--mouse' '--no-mouse') $(usex mouse '--mouse' '--no-mouse')
) )
#sed --in-place --expression='s/ -g0//g' ./tool # Prevent "tool" from creating a pre-stripped binary:
#sed --in-place --expression='s/ -DNDEBUG//g' ./tool sed --in-place --expression='s/-flto -s/-flto/g' ./tool || die
sed --in-place --expression='s/-flto -s/-flto/g' ./tool
./tool build ${compile_options[@]} orca ./tool build ${compile_options[@]} orca || die
} }
src_install() { src_install() {

View File

@@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/hundredrabbits/Orca-c.git" EGIT_REPO_URI="https://github.com/hundredrabbits/Orca-c.git"
else else
GIT_COMMIT=9df9786e2ad3c01955cdf4cdd5ae1fffad8fa5cc GIT_COMMIT=
MY_PN="Orca-c" MY_PN="Orca-c"
SRC_URI="https://github.com/hundredrabbits/${MY_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/hundredrabbits/${MY_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/"${MY_PN}-${GIT_COMMIT}" S="${WORKDIR}"/"${MY_PN}-${GIT_COMMIT}"
@@ -37,7 +37,6 @@ DEPEND="
) )
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
DOCS=( DOCS=(
"README.md", "README.md",
@@ -52,11 +51,10 @@ src_compile() {
$(usex mouse '--mouse' '--no-mouse') $(usex mouse '--mouse' '--no-mouse')
) )
#sed --in-place --expression='s/ -g0//g' ./tool # Prevent "tool" from creating a pre-stripped binary:
#sed --in-place --expression='s/ -DNDEBUG//g' ./tool sed --in-place --expression='s/-flto -s/-flto/g' ./tool || die
sed --in-place --expression='s/-flto -s/-flto/g' ./tool
./tool build ${compile_options[@]} orca ./tool build ${compile_options[@]} orca || die
} }
src_install() { src_install() {