summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2015-08-30 02:47:37 -0700
committerDaniel Campbell <zlg@gentoo.org>2015-08-30 02:47:37 -0700
commitb252629653a11bdca61279c5de260d66e6ff8fbd (patch)
tree3d58ff86ef82efb4b4b25832aba46947b99d9896 /media-sound/apulse
parentselinux-policy-2.eclass: Enable CIL support (diff)
downloadgentoo-b252629653a11bdca61279c5de260d66e6ff8fbd.tar.gz
gentoo-b252629653a11bdca61279c5de260d66e6ff8fbd.tar.bz2
gentoo-b252629653a11bdca61279c5de260d66e6ff8fbd.zip
media-sound/apulse: Rearrange script editing to better fit phases.
Gentoo-Bug: 547524 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/apulse')
-rw-r--r--media-sound/apulse/apulse-0.1.6-r1.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/media-sound/apulse/apulse-0.1.6-r1.ebuild b/media-sound/apulse/apulse-0.1.6-r1.ebuild
index 8324b9054619..dde232ef3894 100644
--- a/media-sound/apulse/apulse-0.1.6-r1.ebuild
+++ b/media-sound/apulse/apulse-0.1.6-r1.ebuild
@@ -21,19 +21,21 @@ RDEPEND="${DEPEND}
MULTILIB_CHOST_TOOLS=( /usr/bin/apulse )
-multilib_src_configure() {
- local mycmakeargs="-DAPULSEPATH=${EPREFIX}/usr/$(get_libdir)/apulse"
-
- cmake-utils_src_configure
-
- # Ensure all relevant libdirs are added
+src_prepare() {
+ # Ensure all relevant libdirs are added, to support all ABIs
DIRS=
_add_dir() { DIRS="${EPREFIX}/usr/$(get_libdir)/apulse${DIRS:+:${DIRS}}"; }
multilib_foreach_abi _add_dir
sed -e "s#@@DIRS@@#${DIRS}#g" "${FILESDIR}"/apulse > "${T}"/apulse
}
-multilib_src_install() {
+multilib_src_configure() {
+ local mycmakeargs="-DAPULSEPATH=${EPREFIX}/usr/$(get_libdir)/apulse"
+ cmake-utils_src_configure
+}
+
+multilib_src_install_all() {
cmake-utils_src_install
+ einstalldocs
dobin "${T}"/apulse
}