diff options
author | Peter Volkov <pva@gentoo.org> | 2010-04-23 08:14:39 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-04-23 08:14:39 +0000 |
commit | 4185af97878e44b3b491c072737d80d344588254 (patch) | |
tree | 40cb0924edf79db06157dcef2245f64af416f451 /sci-libs/liborigin | |
parent | Don't use EROOT with helper functions (diff) | |
download | gentoo-2-4185af97878e44b3b491c072737d80d344588254.tar.gz gentoo-2-4185af97878e44b3b491c072737d80d344588254.tar.bz2 gentoo-2-4185af97878e44b3b491c072737d80d344588254.zip |
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/liborigin')
-rw-r--r-- | sci-libs/liborigin/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/liborigin/files/liborigin-20100420-build-parsers.patch | 15 | ||||
-rw-r--r-- | sci-libs/liborigin/liborigin-20100420.ebuild | 55 |
3 files changed, 78 insertions, 2 deletions
diff --git a/sci-libs/liborigin/ChangeLog b/sci-libs/liborigin/ChangeLog index 782d47e95893..3dcec0db53c9 100644 --- a/sci-libs/liborigin/ChangeLog +++ b/sci-libs/liborigin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/liborigin -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.15 2009/11/23 01:57:11 bicatali Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/ChangeLog,v 1.16 2010/04/23 08:14:39 pva Exp $ + +*liborigin-20100420 (23 Apr 2010) + + 23 Apr 2010; Peter Volkov <pva@gentoo.org> +liborigin-20100420.ebuild, + +files/liborigin-20100420-build-parsers.patch: + Version bump. 23 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> liborigin-20080225-r1.ebuild, liborigin-20090406.ebuild: diff --git a/sci-libs/liborigin/files/liborigin-20100420-build-parsers.patch b/sci-libs/liborigin/files/liborigin-20100420-build-parsers.patch new file mode 100644 index 000000000000..92b8dce3d25b --- /dev/null +++ b/sci-libs/liborigin/files/liborigin-20100420-build-parsers.patch @@ -0,0 +1,15 @@ +=== modified file '3rdparty/liborigin/liborigin.pro' +--- 3rdparty/liborigin/liborigin.pro 2010-04-22 17:58:49 +0000 ++++ 3rdparty/liborigin/liborigin.pro 2010-04-23 04:34:41 +0000 +@@ -22,5 +22,10 @@ + SOURCES += OriginFile.cpp
+ SOURCES += OriginParser.cpp
+ SOURCES += OriginDefaultParser.cpp
++SOURCES += Origin600Parser.cpp
++SOURCES += Origin610Parser.cpp
++SOURCES += Origin700Parser.cpp
+ SOURCES += Origin750Parser.cpp
++SOURCES += Origin800Parser.cpp
++SOURCES += Origin810Parser.cpp
+
+ diff --git a/sci-libs/liborigin/liborigin-20100420.ebuild b/sci-libs/liborigin/liborigin-20100420.ebuild new file mode 100644 index 000000000000..8381f3fefe17 --- /dev/null +++ b/sci-libs/liborigin/liborigin-20100420.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/liborigin/liborigin-20100420.ebuild,v 1.1 2010/04/23 08:14:39 pva Exp $ + +EAPI=2 +inherit eutils qt4 + +DESCRIPTION="Library for reading OriginLab OPJ project files" +HOMEPAGE="http://soft.proindependent.com/liborigin2/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-libs/boost" +DEPEND="${RDEPEND} + x11-libs/qt-gui:4 + dev-cpp/tree + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}/liborigin-20100420-build-parsers.patch" + cat >> liborigin.pro <<-EOF + INCLUDEPATH += /usr/include/tree + headers.files = \$\$HEADERS + headers.path = /usr/include/liborigin2 + target.path = /usr/$(get_libdir) + INSTALLS = target headers + EOF + # use system one + rm -f tree.hh || die +} + +src_configure() { + eqmake4 +} + +src_compile() { + emake || die "emake failed" + if use doc; then + cd doc + doxygen Doxyfile || die "doc generation failed" + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + dodoc readme FORMAT + if use doc; then + insinto /usr/share/doc/${PF} + doins -r doc/html || die "doc install failed" + fi +} |