diff options
Diffstat (limited to 'x11-libs/qwtpolar')
-rw-r--r-- | x11-libs/qwtpolar/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/qwtpolar/metadata.xml | 2 | ||||
-rw-r--r-- | x11-libs/qwtpolar/qwtpolar-1.1.0.ebuild | 41 |
3 files changed, 50 insertions, 3 deletions
diff --git a/x11-libs/qwtpolar/ChangeLog b/x11-libs/qwtpolar/ChangeLog index 57bf20cedce7..8078f843944a 100644 --- a/x11-libs/qwtpolar/ChangeLog +++ b/x11-libs/qwtpolar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/qwtpolar -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/ChangeLog,v 1.7 2011/12/23 07:01:15 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/ChangeLog,v 1.8 2014/02/15 11:41:14 jlec Exp $ + +*qwtpolar-1.1.0 (15 Feb 2014) + + 15 Feb 2014; Justin Lecher <jlec@gentoo.org> +qwtpolar-1.1.0.ebuild, + metadata.xml: + Version Bump 23 Dec 2011; Justin Lecher <jlec@gentoo.org> qwtpolar-1.0.0.ebuild: Correct slot for qwt 5 -> 6, #395737 diff --git a/x11-libs/qwtpolar/metadata.xml b/x11-libs/qwtpolar/metadata.xml index 3190fbf9c377..5f27678c1441 100644 --- a/x11-libs/qwtpolar/metadata.xml +++ b/x11-libs/qwtpolar/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-geosciences</herd> + <herd>sci-geosciences</herd> </pkgmetadata> diff --git a/x11-libs/qwtpolar/qwtpolar-1.1.0.ebuild b/x11-libs/qwtpolar/qwtpolar-1.1.0.ebuild new file mode 100644 index 000000000000..ae3c603f68ff --- /dev/null +++ b/x11-libs/qwtpolar/qwtpolar-1.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/qwtpolar-1.1.0.ebuild,v 1.1 2014/02/15 11:41:14 jlec Exp $ + +EAPI=5 + +inherit multilib qt4-r2 + +DESCRIPTION="Library for displaying values on a polar coordinate system" +HOMEPAGE="http://qwtpolar.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="qwt" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/qwt:6[svg]" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_prepare() { + sed \ + -e "/QWT_POLAR_INSTALL_PREFIX /s:=.*$:= ${EPREFIX}/usr:g" \ + -e "/QWT_POLAR_INSTALL_LIBS/s:lib:$(get_libdir):g" \ + -e "/QWT_POLAR_INSTALL_DOCS/s:doc:share/doc/${PF}:g" \ + -e "/QWT_POLAR_INSTALL_PLUGINS/s:=.*$:= ${EPREFIX}/usr/$(get_libdir)/qt4/plugins/designer6/:g" \ + -e "/QWT_POLAR_INSTALL_FEATURES/s:=.*$:= ${EPREFIX}/usr/$(get_libdir)/qt4/plugins/features6/:g" \ + -e "/= QwtPolarDesigner/ d" \ + -e "/= QwtPolarExamples/d" \ + -i ${PN}config.pri || die + + sed \ + -e "s:{QWT_POLAR_ROOT}/lib:{QWT_POLAR_ROOT}/$(get_libdir):" \ + -i src/src.pro || die + echo "INCLUDEPATH += ${EPREFIX}/usr/include/qwt6" >> src/src.pro + cat >> designer/designer.pro <<- EOF + INCLUDEPATH += "${EPREFIX}"/usr/include/qwt6 + LIBS += -L"${S}"/$(get_libdir) + EOF +} |