summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-03-30 19:21:52 +0000
committerSamuli Suominen <drac@gentoo.org>2007-03-30 19:21:52 +0000
commit97d7e9fe2a26e5a3f7ce71919b1a008d3cb26dc4 (patch)
tree53c833cc5997b8a6b57c572df145ad7685ad9e49 /media-libs/libgii
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadgentoo-2-97d7e9fe2a26e5a3f7ce71919b1a008d3cb26dc4.tar.gz
gentoo-2-97d7e9fe2a26e5a3f7ce71919b1a008d3cb26dc4.tar.bz2
gentoo-2-97d7e9fe2a26e5a3f7ce71919b1a008d3cb26dc4.zip
Version bump for bug 140362.
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-libs/libgii')
-rw-r--r--media-libs/libgii/ChangeLog8
-rw-r--r--media-libs/libgii/files/digest-libgii-1.0.23
-rw-r--r--media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch12
-rw-r--r--media-libs/libgii/libgii-1.0.2.ebuild39
4 files changed, 61 insertions, 1 deletions
diff --git a/media-libs/libgii/ChangeLog b/media-libs/libgii/ChangeLog
index aabfc4aaa488..5bd9bf4117e3 100644
--- a/media-libs/libgii/ChangeLog
+++ b/media-libs/libgii/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libgii
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.28 2007/01/06 19:53:10 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.29 2007/03/30 19:21:52 drac Exp $
+
+*libgii-1.0.2 (30 Mar 2007)
+
+ 30 Mar 2007; Samuli Suominen <drac@gentoo.org>
+ +files/libgii-1.0.2-configure-cpuid-pic.patch, +libgii-1.0.2.ebuild:
+ Version bump for bug 140362.
06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -libgii-0.8.1.ebuild:
QA: Removed unused versions.
diff --git a/media-libs/libgii/files/digest-libgii-1.0.2 b/media-libs/libgii/files/digest-libgii-1.0.2
new file mode 100644
index 000000000000..7fa223f37486
--- /dev/null
+++ b/media-libs/libgii/files/digest-libgii-1.0.2
@@ -0,0 +1,3 @@
+MD5 e002b3b3b7fae2b2558fe7ac854359b7 libgii-1.0.2.src.tar.bz2 701099
+RMD160 8109f5e9bdd061c3d90120b439c471f5c4369971 libgii-1.0.2.src.tar.bz2 701099
+SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d libgii-1.0.2.src.tar.bz2 701099
diff --git a/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
new file mode 100644
index 000000000000..f4cb50cc2593
--- /dev/null
+++ b/media-libs/libgii/files/libgii-1.0.2-configure-cpuid-pic.patch
@@ -0,0 +1,12 @@
+diff -ur libgii-1.0.2.orig/acinclude.m4 libgii-1.0.2/acinclude.m4
+--- libgii-1.0.2.orig/acinclude.m4 2007-01-26 22:06:57.000000000 +0200
++++ libgii-1.0.2/acinclude.m4 2007-03-30 22:06:16.000000000 +0300
+@@ -8069,7 +8069,7 @@
+ #ifdef _MSC_VER
+ __asm cpuid
+ #else
+- asm("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (in));
++ asm("pushl %%ebx; cpuid; movl %%ebx,%2; popl %%ebx": "=a" (a), "=r" (b), "=c" (c), "=d" (d) : "a" (in));
+ #endif
+ return d;],
+ ggi_cv_cc_can_cpuid="yes", ggi_cv_cc_can_cpuid="no")])
diff --git a/media-libs/libgii/libgii-1.0.2.ebuild b/media-libs/libgii/libgii-1.0.2.ebuild
new file mode 100644
index 000000000000..91ad3e7cafc3
--- /dev/null
+++ b/media-libs/libgii/libgii-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-1.0.2.ebuild,v 1.1 2007/03/30 19:21:52 drac Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
+HOMEPAGE="http://www.ggi-project.org"
+SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-libs/libX11 )
+ >=sys-kernel/linux-headers-2.6.11"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
+ # Modify configure check that tries to compile the cpuid instruction
+ # to work on hardened compiler. Modified acinclude.m4.
+ epatch "${FILESDIR}"/${P}-configure-cpuid-pic.patch
+ # Since acinclude.m4 is modified, need to autoreconf.
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_with X x) $(use_enable X x)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc ChangeLog* FAQ NEWS README
+}