Skip to content

Commit

Permalink
media-sound/ardour: Fixed SRC_URI and replaced epatch with eapply.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.3
  • Loading branch information
Lars Wendler committed Dec 6, 2016
1 parent 72c8f5a commit 6f0b32f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions media-sound/ardour/ardour-5.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="mirror:gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/Ardour-${PV}.0"
fi

Expand Down Expand Up @@ -80,7 +80,7 @@ pkg_setup() {
src_prepare(){
eapply_user
if ! [[ ${PV} == *9999* ]]; then
epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
touch "${S}/libs/ardour/revision.cc"
fi
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
Expand Down
4 changes: 2 additions & 2 deletions media-sound/ardour/ardour-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="mirror:gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/Ardour-${PV}.0"
fi

Expand Down Expand Up @@ -80,7 +80,7 @@ pkg_setup() {
src_prepare(){
eapply_user
if ! [[ ${PV} == *9999* ]]; then
epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
touch "${S}/libs/ardour/revision.cc"
fi
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
Expand Down

0 comments on commit 6f0b32f

Please sign in to comment.