jlec        14/09/17 08:33:56

  Modified:             ChangeLog metadata.xml
  Added:                qhull-2012.1-r2.ebuild
  Removed:              qhull-3.1-r1.ebuild qhull-2010.1-r2.ebuild
  Log:
  media-libs/qhull: Import patches from fedora, bump to EAPI=5; drop old
  
  (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.57                 media-libs/qhull/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/ChangeLog?rev=1.57&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/ChangeLog?rev=1.57&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog   18 Jul 2013 12:36:03 -0000      1.56
+++ ChangeLog   17 Sep 2014 08:33:56 -0000      1.57
@@ -1,6 +1,14 @@
 # ChangeLog for media-libs/qhull
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.56 
2013/07/18 12:36:03 chithanh Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.57 
2014/09/17 08:33:56 jlec Exp $
+
+*qhull-2012.1-r2 (17 Sep 2014)
+
+  17 Sep 2014; Justin Lecher <[email protected]> -qhull-3.1-r1.ebuild,
+  -qhull-2010.1-r2.ebuild, +qhull-2012.1-r2.ebuild,
+  +files/qhull-2012.1-64bit.patch, +files/qhull-2012.1-pc.patch,
+  +files/qhull.pc.in, metadata.xml:
+  Import patches from fedora, bump to EAPI=5; drop old
 
   18 Jul 2013; Chí-Thanh Christopher Nguyễn <[email protected]>
   qhull-2012.1-r1.ebuild:



1.4                  media-libs/qhull/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/metadata.xml?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/metadata.xml?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/qhull/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml        3 Oct 2010 21:55:52 -0000       1.3
+++ metadata.xml        17 Sep 2014 08:33:56 -0000      1.4
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>sci-mathematics</herd>
-<longdescription lang='en'>
+  <herd>sci-mathematics</herd>
+  <longdescription lang="en">
   Qhull computes the convex hull, Delaunay triangulation, Voronoi
   diagram, halfspace intersection about a point, furthest-site
   Delaunay triangulation, and furthest-site Voronoi diagram. The



1.1                  media-libs/qhull/qhull-2012.1-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/qhull-2012.1-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qhull/qhull-2012.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: qhull-2012.1-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2012.1-r2.ebuild,v 
1.1 2014/09/17 08:33:56 jlec Exp $

EAPI=5

inherit cmake-utils flag-o-matic

MY_P="${PN}${PV}"

DESCRIPTION="Geometry library"
HOMEPAGE="http://www.qhull.org/";
SRC_URI="${HOMEPAGE}/download/${P}-src.tgz"

SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x86-macos"
IUSE="doc static-libs"

DOCS=( Announce.txt File_id.diz README.txt REGISTER.txt )

PATCHES=(
        "${FILESDIR}"/${P}-64bit.patch
        "${FILESDIR}"/${P}-pc.patch
        )

src_prepare() {
        # From fedora, matplotlib depends on it
        cp "${FILESDIR}"/${PN}.pc.in . || die
        cmake-utils_src_prepare
}

src_configure() {
        append-flags -fno-strict-aliasing
        mycmakeargs+=(
                -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
                -DDOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}/html
        )
        cmake-utils_src_configure
}

pkg_preinst() {
        # See https://bugs.gentoo.org/show_bug.cgi?id=435006
        # If qhull-2010 is installed we need to remove its include dir so
        # that it can be replaced with a symlink in this version.
        rm -rf "${ROOT}"usr/include/qhull || die
}

src_install() {
        cmake-utils_src_install
        # compatibility with previous installs
        dosym libqhull /usr/include/qhull
        if ! use doc; then
                rm -rf "${ED}"/usr/share/doc/${PF}/html || die
        fi
        if ! use static-libs; then
                rm -f "${ED}"/usr/$(get_libdir)/lib*.a || die
        fi
}




Reply via email to