mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
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:
@@ -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() {
|
||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user