summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-02-20 23:07:04 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-02-20 23:07:04 +0000
commitb4701c7082939c8e4782079d74e65cee2a7a8570 (patch)
tree8874df808e7e7070d8a9256af1062389976d823d /media-video/qvamps
parentDigest fix0rs (diff)
downloadgentoo-2-b4701c7082939c8e4782079d74e65cee2a7a8570.tar.gz
gentoo-2-b4701c7082939c8e4782079d74e65cee2a7a8570.tar.bz2
gentoo-2-b4701c7082939c8e4782079d74e65cee2a7a8570.zip
fixed sandbox errors (see bug #123397), added ~amd64.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-video/qvamps')
-rw-r--r--media-video/qvamps/ChangeLog5
-rw-r--r--media-video/qvamps/Manifest12
-rw-r--r--media-video/qvamps/files/digest-qvamps-0.212
-rw-r--r--media-video/qvamps/qvamps-0.21.ebuild18
4 files changed, 30 insertions, 7 deletions
diff --git a/media-video/qvamps/ChangeLog b/media-video/qvamps/ChangeLog
index 980c16e1b754..aa006ad3d804 100644
--- a/media-video/qvamps/ChangeLog
+++ b/media-video/qvamps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/qvamps
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qvamps/ChangeLog,v 1.1 2006/01/21 18:15:09 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qvamps/ChangeLog,v 1.2 2006/02/20 23:07:04 sbriesen Exp $
+
+ 20 Feb 2006; Stefan Briesenick <sbriesen@gentoo.org> qvamps-0.21.ebuild:
+ fixed sandbox errors (see bug #123397), added ~amd64.
*qvamps-0.21 (21 Jan 2006)
diff --git a/media-video/qvamps/Manifest b/media-video/qvamps/Manifest
index 1b9e9a82c49b..06505244a08f 100644
--- a/media-video/qvamps/Manifest
+++ b/media-video/qvamps/Manifest
@@ -1,4 +1,12 @@
MD5 cd0867b1c1a6c8d1376225ca551c493d ChangeLog 351
-MD5 693c24bc8923f2b20c34309d6d9d1c6d files/digest-qvamps-0.21 63
+RMD160 dcf4deb3ac10e8d5088f7ca7bfb17d34fa45cb88 ChangeLog 351
+SHA256 4242cef746c8ddb7f79d58d04b2ee01bd98e39c0e93108309c3b61bdaf756e17 ChangeLog 351
+MD5 bf5179d6c97241b521f0eed9e9f6f714 files/digest-qvamps-0.21 235
+RMD160 ed1cae66eb4d653a08fa8542b838b4c0e1a4b706 files/digest-qvamps-0.21 235
+SHA256 a5777a18d2affd822c86275ca0db38f1923fc6fa179780ad5d94f47aa4de102d files/digest-qvamps-0.21 235
MD5 50d4e8664595cdbc77d06bea8c3a09fb metadata.xml 566
-MD5 cf169872abdfd091f4bc937ba13c5f7f qvamps-0.21.ebuild 950
+RMD160 754cfe85128463218b0855f5b9867e5ee331c621 metadata.xml 566
+SHA256 604bac78dc4c53980e9fb59f86fcd2e1766bf820bf8fd12657a9ca08285ce56f metadata.xml 566
+MD5 08e0c864bc1d0134d6edad3d3235e87b qvamps-0.21.ebuild 1278
+RMD160 abafe76bd5553d079ad54eedc31868a82a3b9992 qvamps-0.21.ebuild 1278
+SHA256 a91a45e7d7137fb78c4f062a9ea8871de0f628122e272b4cf1450d6cefcdafee qvamps-0.21.ebuild 1278
diff --git a/media-video/qvamps/files/digest-qvamps-0.21 b/media-video/qvamps/files/digest-qvamps-0.21
index 858412de4657..c831b1182d73 100644
--- a/media-video/qvamps/files/digest-qvamps-0.21
+++ b/media-video/qvamps/files/digest-qvamps-0.21
@@ -1 +1,3 @@
MD5 47db7f0ddc00dd717d95341c429553f3 qvamps-0.21.tar.gz 285512
+RMD160 982ff4c61e2fafc4a1469f0f700c61cc6cac5b83 qvamps-0.21.tar.gz 285512
+SHA256 f0ba8c19f7d4f2d6214bd39907f7fa5bf08cbf996650863c1195da0e5d87b6e5 qvamps-0.21.tar.gz 285512
diff --git a/media-video/qvamps/qvamps-0.21.ebuild b/media-video/qvamps/qvamps-0.21.ebuild
index 4f59d893b86e..c4d817940587 100644
--- a/media-video/qvamps/qvamps-0.21.ebuild
+++ b/media-video/qvamps/qvamps-0.21.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qvamps/qvamps-0.21.ebuild,v 1.1 2006/01/21 18:15:09 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qvamps/qvamps-0.21.ebuild,v 1.2 2006/02/20 23:07:04 sbriesen Exp $
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs multilib
DESCRIPTION="Qt frontend for vamps"
HOMEPAGE="http://vamps.sourceforge.net/"
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/vamps/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/swig
@@ -26,11 +26,21 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
+
+ # set correct libdir
+ sed -i -e "s:/lib/qvamps/:/$(get_libdir)/qvamps/:g" Makefile qvamps
+
+ # replace predefined CFLAGS with ours
sed -i -e "s:-pipe -O2 -fomit-frame-pointer:\$(MYCFLAGS):g" Makefile
}
src_compile() {
- emake CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" || die "emake failed"
+ # Need to fake out Qt or we'll get sandbox problems
+ export REALHOME="${HOME}" HOME="${T}/fakehome"
+ addwrite "${QTDIR}/etc/settings"
+ mkdir -p "${HOME}/".{kde,qt}
+
+ emake PREFIX="/usr" CC="$(tc-getCC)" MYCFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {