Skip to content

Commit

Permalink
media-sound/ardour: fixed -nls and source availability in 6.2-r1
Browse files Browse the repository at this point in the history
1) copied source tarball to my dev space
2) applied upstream patch to fix compilation
   of ardour with -nls
   thanks to Lars Wendler <[email protected]>
   for reporting it upstream

Closes: https://bugs.gentoo.org/736984
Closes: https://bugs.gentoo.org/640168
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
fordfrog committed Aug 22, 2020
1 parent 41744f7 commit f700734
Show file tree
Hide file tree
Showing 2 changed files with 480 additions and 2 deletions.
8 changes: 6 additions & 2 deletions media-sound/ardour/ardour-6.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://community.ardour.org/src/Ardour-${PV}.0.tar.bz2"
SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-${PV}.0.tar.bz2"
S="${WORKDIR}/Ardour-${PV}.0"
fi

Expand Down Expand Up @@ -69,6 +69,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen[dot] )"

PATCHES=(
"${FILESDIR}/${P}-fix-no-nls.patch"
)

pkg_setup() {
if has_version \>=dev-libs/libsigc++-2.6 ; then
append-cxxflags -std=c++11
Expand All @@ -77,7 +81,7 @@ pkg_setup() {
}

src_prepare() {
eapply_user
default
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
MARCH=$(get-flag march)
OPTFLAGS=""
Expand Down
Loading

0 comments on commit f700734

Please sign in to comment.