summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-09-29 18:33:05 +0000
committerFabian Groffen <grobian@gentoo.org>2012-09-29 18:33:05 +0000
commit0b1e298fb0dada1769ef224c04ea5dc128e0add3 (patch)
tree7c928bd9d7bce46ba1e24e89298c2d3a85e29564 /media-libs/phonon
parentTypo. (diff)
downloadgentoo-2-0b1e298fb0dada1769ef224c04ea5dc128e0add3.tar.gz
gentoo-2-0b1e298fb0dada1769ef224c04ea5dc128e0add3.tar.bz2
gentoo-2-0b1e298fb0dada1769ef224c04ea5dc128e0add3.zip
Fix for and keyworded ~{ppc,x86,x64}-macos, force for amd64 hardened keyword problems
(Portage version: 2.2.01.21143-prefix/cvs/Darwin i386, RepoMan options: --force)
Diffstat (limited to 'media-libs/phonon')
-rw-r--r--media-libs/phonon/ChangeLog5
-rw-r--r--media-libs/phonon/phonon-4.6.0-r1.ebuild23
2 files changed, 25 insertions, 3 deletions
diff --git a/media-libs/phonon/ChangeLog b/media-libs/phonon/ChangeLog
index d0627dc45db0..b0015e4c169a 100644
--- a/media-libs/phonon/ChangeLog
+++ b/media-libs/phonon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/phonon
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/phonon/ChangeLog,v 1.43 2012/09/23 04:25:32 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/phonon/ChangeLog,v 1.44 2012/09/29 18:33:05 grobian Exp $
+
+ 29 Sep 2012; Fabian Groffen <grobian@gentoo.org> phonon-4.6.0-r1.ebuild:
+ Fix for and keyworded ~{ppc,x86,x64}-macos
23 Sep 2012; Anthony G. Basile <blueness@gentoo.org> phonon-4.6.0-r1.ebuild:
stable arm, bug #431190
diff --git a/media-libs/phonon/phonon-4.6.0-r1.ebuild b/media-libs/phonon/phonon-4.6.0-r1.ebuild
index 72b8f9ce6386..306a2006e3b7 100644
--- a/media-libs/phonon/phonon-4.6.0-r1.ebuild
+++ b/media-libs/phonon/phonon-4.6.0-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/phonon/phonon-4.6.0-r1.ebuild,v 1.12 2012/09/23 04:25:32 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/phonon/phonon-4.6.0-r1.ebuild,v 1.13 2012/09/29 18:33:05 grobian Exp $
EAPI=4
if [[ ${PV} != *9999* ]]; then
SRC_URI="mirror://kde/stable/phonon/${PV}/src/${P}.tar.xz"
- KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+ KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
else
SCM_ECLASS="git-2"
EGIT_REPO_URI="git://anongit.kde.org/${PN}"
@@ -63,3 +63,22 @@ src_configure() {
)
cmake-utils_src_configure
}
+
+src_install() {
+ cmake-utils_src_install
+ # fixup broken cmake system library installs
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local lib
+ for lib in "${EPREFIX}"/usr/lib/libphonon{.4,experimental.4.6.0}.dylib ; do
+ install_name_tool -id "${lib}" "${D}${lib}"
+ done
+ for lib in /usr/lib/libphononexperimental.4.dylib \
+ /usr/lib/qt4/plugins/designer/libphononwidgets.bundle ;
+ do
+ install_name_tool -change \
+ "lib/libphonon.4.dylib" \
+ "${EPREFIX}/usr/lib/libphonon.4.dylib" \
+ ${ED}${lib}
+ done
+ fi
+}