-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
HOMEPAGE="http://ardour.org/"
if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ EGIT_REPO_URI="https://git.ardour.org/ardour/ardour.git"
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2"
-SLOT="5"
+SLOT="6"
IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
RDEPEND="
net-misc/curl
sys-libs/readline:0=
sci-libs/fftw:3.0[threads]
- virtual/libusb:0
+ virtual/libusb:1
x11-libs/cairo
>=x11-libs/gtk+-2.8.1:2
x11-libs/pango
jack? ( virtual/jack )
- >=media-libs/slv2-0.6.1
media-libs/lilv
media-libs/sratom
dev-libs/sord
tc-export CC CXX
mkdir -p "${D}"
waf-utils_src_configure \
- --destdir="${D}" \
- --prefix=/usr \
- --configdir=/etc \
- --nls \
- --optimize \
- --lv2 \
- $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
- $(usex doc "--docs" '') \
- $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize
}
src_install() {
mv ${PN}.1 ${PN}${SLOT}.1
doman ${PN}${SLOT}.1
newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
- make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+ make_desktop_entry ardour6 ardour6 ardour6 AudioVideo
}
pkg_postinst() {
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
net-misc/curl
sys-libs/readline:0=
sci-libs/fftw:3.0[threads]
- virtual/libusb:0
+ virtual/libusb:1
x11-libs/cairo
>=x11-libs/gtk+-2.8.1:2
x11-libs/pango
jack? ( virtual/jack )
- >=media-libs/slv2-0.6.1
media-libs/lilv
media-libs/sratom
dev-libs/sord
tc-export CC CXX
mkdir -p "${D}"
waf-utils_src_configure \
- --destdir="${D}" \
- --prefix=/usr \
- --configdir=/etc \
- --nls \
- --optimize \
- --lv2 \
- $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
- $(usex doc "--docs" '') \
- $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize
}
src_install() {