summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-12-28 01:23:16 +0000
committerThomas Kahle <tomka@gentoo.org>2012-12-28 01:23:16 +0000
commit5845025c6f2577792d41c490dd071c8e217e25fd (patch)
tree08fa139988a268f5f29dbc9765e7e88636effc85 /dev-libs/gf2x
parentAdd missing vorbis and libpng gstreamer dependencies, bug #403533. (diff)
downloadgentoo-2-5845025c6f2577792d41c490dd071c8e217e25fd.tar.gz
gentoo-2-5845025c6f2577792d41c490dd071c8e217e25fd.tar.bz2
gentoo-2-5845025c6f2577792d41c490dd071c8e217e25fd.zip
Bump to 1.1 and fix metadata per bug 448920
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC)
Diffstat (limited to 'dev-libs/gf2x')
-rw-r--r--dev-libs/gf2x/ChangeLog8
-rw-r--r--dev-libs/gf2x/gf2x-1.1.ebuild39
-rw-r--r--dev-libs/gf2x/metadata.xml4
3 files changed, 49 insertions, 2 deletions
diff --git a/dev-libs/gf2x/ChangeLog b/dev-libs/gf2x/ChangeLog
index 79368aaca100..34dbf324a1b6 100644
--- a/dev-libs/gf2x/ChangeLog
+++ b/dev-libs/gf2x/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/gf2x
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/ChangeLog,v 1.17 2012/03/01 12:58:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/ChangeLog,v 1.18 2012/12/28 01:23:16 tomka Exp $
+
+*gf2x-1.1 (28 Dec 2012)
+
+ 28 Dec 2012; Thomas Kahle <tomka@gentoo.org> +gf2x-1.1.ebuild, metadata.xml:
+ Bump to 1.1 and fix metadata per bug 448920
01 Mar 2012; Justin Lecher <jlec@gentoo.org> -gf2x-0.9.5.ebuild,
-gf2x-1.0.ebuild:
@@ -62,4 +67,3 @@
10 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> +gf2x-0.3.1.ebuild,
+files/gf2x-0.3.1-shared.patch, +metadata.xml:
Initial import
-
diff --git a/dev-libs/gf2x/gf2x-1.1.ebuild b/dev-libs/gf2x/gf2x-1.1.ebuild
new file mode 100644
index 000000000000..5ce87e43e4db
--- /dev/null
+++ b/dev-libs/gf2x/gf2x-1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/gf2x-1.1.ebuild,v 1.1 2012/12/28 01:23:16 tomka Exp $
+
+EAPI=4
+
+inherit autotools-utils
+
+PACKAGEID=30873 # hack
+
+DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
+HOMEPAGE="http://gf2x.gforge.inria.fr/"
+SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="bindist static-libs"
+
+src_configure() {
+ local myeconfargs=(
+ ABI=default
+ )
+
+ if use bindist ; then
+ if use x86 ; then
+ myeconfargs+=(
+ --disable-sse2
+ )
+ fi
+ if use amd64 ; then
+ myeconfargs+=(
+ --disable-pclmul
+ )
+ fi
+ fi
+
+ autotools-utils_src_configure
+}
diff --git a/dev-libs/gf2x/metadata.xml b/dev-libs/gf2x/metadata.xml
index cee574ead593..65b8fbc6e876 100644
--- a/dev-libs/gf2x/metadata.xml
+++ b/dev-libs/gf2x/metadata.xml
@@ -7,4 +7,8 @@
arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching
for irreducible/primitive trinomials.
</longdescription>
+<use>
+ <flag name="bindist">Disable automatic fine-tuning to local
+ processor features like pclmul or sse2.</flag>
+</use>
</pkgmetadata>