aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2017-04-07 12:36:15 +0200
committerAstroFloyd <AstroFloyd@gmail.com>2017-04-07 12:36:15 +0200
commit6323d0cd2396d620bb80b5a143352d94ff635771 (patch)
treeaa931e80aa457149e099ec7df980489e9e6a49a4
parentAdd type="person" to maintainer field in metadata.xml; update Manifests (diff)
downloadAstroFloyd-6323d0cd2396d620bb80b5a143352d94ff635771.zip
AstroFloyd-6323d0cd2396d620bb80b5a143352d94ff635771.tar.gz
AstroFloyd-6323d0cd2396d620bb80b5a143352d94ff635771.tar.bz2
x11-libs/qwtpolar: revision bump to v1.1.1-r4
* remove doc/man/man3/qwtlicense.3, already provided by dependency x11-libs/qwt Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--x11-libs/qwtpolar/ChangeLog6
-rw-r--r--x11-libs/qwtpolar/Manifest7
-rw-r--r--x11-libs/qwtpolar/metadata.xml1
-rw-r--r--x11-libs/qwtpolar/qwtpolar-1.1.1-r1.ebuild117
-rw-r--r--x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild (renamed from x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild)38
5 files changed, 41 insertions, 128 deletions
diff --git a/x11-libs/qwtpolar/ChangeLog b/x11-libs/qwtpolar/ChangeLog
index df942fc..a27caa7 100644
--- a/x11-libs/qwtpolar/ChangeLog
+++ b/x11-libs/qwtpolar/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for x11-libs/qwtpolar
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtpolar/ChangeLog,v 1.9 2014/09/19 12:56:13 jlec Exp $
+ 07 Apr 2017; AstroFloyd <AstroFloyd@gmail.com> -qwtpolar-1.1.1-r1.ebuild,
+ -qwtpolar-1.1.1-r2.ebuild, +qwtpolar-1.1.1-r4.ebuild:
+ Revision bump
+
*qwtpolar-1.1.1-r3 (20 Oct 2015)
20 Oct 2015; AstroFloyd <AstroFloyd@gmail.com> +qwtpolar-1.1.1-r3.ebuild:
diff --git a/x11-libs/qwtpolar/Manifest b/x11-libs/qwtpolar/Manifest
index 8f09ca9..679e323 100644
--- a/x11-libs/qwtpolar/Manifest
+++ b/x11-libs/qwtpolar/Manifest
@@ -1,6 +1,5 @@
DIST qwtpolar-1.1.1.tar.bz2 565546 SHA256 6168baa9dbc8d527ae1ebf2631313291a1d545da268a05f4caa52ceadbe8b295 SHA512 5b752e5426ae15740737277c2ba244cab947c54d573b4eedd1f54359b6eab1fa738d40f68f6c806106d01596eabc9f6d7ee825dde11a4925bebd643f42021621 WHIRLPOOL e03906b22f06d6ea42ab0609d28a578be70c4d5c9a71d0cb00f40e2630f2868890085434e4f2833280db2c445eaefc16bfd321a3d4f5cc9e1538a608fd1d727b
-EBUILD qwtpolar-1.1.1-r1.ebuild 3308 SHA256 9a242fe0f0b290980130673d3160f470bcc59d7879658fdab7d0571bcaea8caa SHA512 6dc4ccb9bc450c3a4a515d3644f857e798eff4932f3344fd4b743be2c7fe37bebe034ff566abc60f8db1959b004d76cfbe9ad8ad7cd21a55133622e79b769817 WHIRLPOOL 3e089eabd695acaf68b929e9af25895581622864aadbea64bf28c9c7736d4d555a0ed8dab094fdf191f1773e08247e1d93b678d25aebc55f00797c20705a3634
-EBUILD qwtpolar-1.1.1-r2.ebuild 3477 SHA256 ccd45d54780d231a31df96388cd2302b2047ab15d455f1a12ab20a538f7fe593 SHA512 8c4fb42b42761456be3d9ba8c4fbb482a77f1069e9d33f5dc33d12c741f374f0ea86caf0b7aa69bfe3a7e689e96247f9a1dbd39cb6cb31c46c0a85135703d815 WHIRLPOOL 8890a4bfce5605115225e43cc63bbade118ddd6c798358d3394861a9039a0e713b3dabb65ffe418a31c771e5cc0e50c74f6a44aa7e2c5a2afcf3c01af152338e
EBUILD qwtpolar-1.1.1-r3.ebuild 4169 SHA256 964dc809a266603d5acecc6a997fb3e9105967be90425d9bb8f6854d7f60498d SHA512 c16f965a10a674ded21876d7e399308d5e8a97fd8084f16e168d2756183f56f3a71582f7813c4cbd110cd621fdb03528d559e6efc8f17b3873f1311a3d88542e WHIRLPOOL 79898682fd64bde43852a09abc381487353e464413ea1f50671f3abe12419f56b50090667ac162b313f3f439315104001ba1f82491196e555ba80b77a976292f
-MISC ChangeLog 1919 SHA256 fb75100e258638ed536f420f64c3243775d1d084d8b7a7addc033761515f96ec SHA512 6bd342a7c18d349250a28c50e5760337aec70e2a1c6d0932194f3698e27b0718bdb4aba598965271d7a26d5877ed83920241d8d78fa9ae9b8b6a0db36cf9e1f3 WHIRLPOOL 6e21365f63e144495a5915341b25bad931fd50bfec3596b01d2cecb9f586a96ecf74a33036ce7b3ee511fe8cffe7665ba7ea91b98d829db47ebe8ab5ff4c2597
-MISC metadata.xml 379 SHA256 5c84374624ad2b49dd0331192ac11e909c41a6c2ff5f657fd29a34363fa28628 SHA512 50bcb483cfd0ff4259a51bcc18dcce42ebf6f2add47150c03df6927bfcca587c9fb98753cabb0937fe4684fa91fa25f777d0195239e925620e660f2dbc69c9af WHIRLPOOL d71df1a35c4fcd54dc55d67c48b8ef400414d700963ac68a7268d2bb3443eb0112fdd69d3695ff732ff6a352d073b0190321ad6782a5ea5e38e78f74924ba54b
+EBUILD qwtpolar-1.1.1-r4.ebuild 4256 SHA256 d8d4bea8e208f5a4a6630d8fe7ddd0cd7e8e6649cfcbb63e19e7e2dbc5f6a324 SHA512 6daa27ce5b8f23bbcd68e106b4f8f0c5dae8aeb76b60807f63e61cdbc2446c78a8ab1a4313488dd9677648b4fa05954a3c66a10df5fd3f9109f0e74c63b5d011 WHIRLPOOL 457786291e750f1e5855f80d360b50f74a242ba6aa6d654c7df27875c60c48e68230064ad196dced3bacdeb29570589f890b85705831d3df46b82474219d6fe6
+MISC ChangeLog 2068 SHA256 e0f672d2ce1f844db13dc9ba0ebe58c125e14a1f857748c1149dfe51d4f5583d SHA512 e712adf3aa874e21de53ffee18952f19021eee7d4ff29d8dc6f20589aadb2500130d891a98c7d1e2909575f4f68eb394ae02c3e626c9992b41e0710a5b5bc0eb WHIRLPOOL 9897e57286cece023365461e5d35192c09f7411d5dbe6fccd3dd3457f956f256efee332f1d4c372f17cb6c767579a87c38afb65b9b18ef8ecabce74ba605622b
+MISC metadata.xml 348 SHA256 945ba9f6f842b18c5bfbb9fc05a83645132796647acf4417e4cc0cb280a34789 SHA512 963095bcf3d3ebbab769a6d3c189b86be7495586f04ccdfd3e26e1433f9c395ce05eff709676283b22ee73700d7d3bbd3bf5fbedacbe2ef9e3ad1c4146cc2d90 WHIRLPOOL 4de5e82d28c67c762fd90e551a2f7ad46c16cff3bab1499f1c6cc8b66012afbe51b861388b64f78bdccd29b9aa53918c16016521d9707a880cd6f84f3546222f
diff --git a/x11-libs/qwtpolar/metadata.xml b/x11-libs/qwtpolar/metadata.xml
index 51e1055..84c638e 100644
--- a/x11-libs/qwtpolar/metadata.xml
+++ b/x11-libs/qwtpolar/metadata.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-geosciences</herd>
<upstream>
<remote-id type="sourceforge">qwtpolar</remote-id>
</upstream>
diff --git a/x11-libs/qwtpolar/qwtpolar-1.1.1-r1.ebuild b/x11-libs/qwtpolar/qwtpolar-1.1.1-r1.ebuild
deleted file mode 100644
index a5d9fbc..0000000
--- a/x11-libs/qwtpolar/qwtpolar-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit multibuild multilib qmake-utils
-
-DESCRIPTION="Library for displaying values on a polar coordinate system"
-HOMEPAGE="http://qwtpolar.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="qwt"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="designer doc qt4 qt5"
-REQUIRED_USE="|| ( qt4 qt5 )"
-
-RDEPEND="x11-libs/qwt:6[svg]
- qt5? ( >=x11-libs/qwt-6.1.2-r1[svg,qt5] )"
-DEPEND="${RDEPEND}"
-
-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 "/= QwtPolarExamples/d" \
- -i ${PN}config.pri || die
-
- use designer || sed -e "/= QwtPolarDesigner/ d" -i ${PN}config.pri || die
- use doc || sed -e 's/target doc/target/' -i src/src.pro || 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
-
- MULTIBUILD_VARIANTS=( )
-
- if use qt4; then
- MULTIBUILD_VARIANTS+=( qt4-shared )
- fi
- if use qt5; then
- MULTIBUILD_VARIANTS+=( qt5-shared )
- fi
-
- multibuild_copy_sources
-
- qt45_preparation() {
- case "${MULTIBUILD_VARIANT}" in
- qt4-*)
- sed \
- -e "/QWT_POLAR_INSTALL_PLUGINS/s:=.*$:= ${EPREFIX}/usr/$(get_libdir)/qt4/plugins/designer/:g" \
- -e "/QWT_POLAR_INSTALL_FEATURES/s:=.*$:= ${EPREFIX}/usr/share/qt4/mkspecs/features/:g" \
- -i ${PN}config.pri || die
-
- sed \
- -e "/^TARGET/s:(qwtpolar):(qwtpolar6-qt4):g" \
- -e "/^TARGET/s:qwtpolar):qwtpolar6-qt4):g" \
- -i src/src.pro || die
-
- sed \
- -e '/qwtPolarAddLibrary/s:(qwtpolar):(qwtpolar6-qt4):g' \
- -e '/qwtPolarAddLibrary/s:qwtpolar):qwtpolar6-qt4):g' \
- -e "s:\${QWT_POLAR_ROOT}/lib:\${QWT_POLAR_ROOT}/$(get_libdir):g" \
- -i qwtpolar.prf designer/designer.pro examples/examples.pri || die
- ;;
- qt5-*)
- sed \
- -e "/QWT_POLAR_INSTALL_PLUGINS/s:=.*$:= ${EPREFIX}/usr/$(get_libdir)/qt5/plugins/designer/:g" \
- -e "/QWT_POLAR_INSTALL_FEATURES/s:=.*$:= ${EPREFIX}/usr/share/qt5/mkspecs/features/:g" \
- -i ${PN}config.pri || die
-
- sed \
- -e "/^TARGET/s:(qwtpolar):(qwtpolar-qt5):g" \
- -e "/^TARGET/s:qwtpolar):qwtpolar-qt5):g" \
- -i src/src.pro || die
-
- sed \
- -e '/qwtPolarAddLibrary/s:(qwtpolar):(qwtpolar-qt5):g' \
- -e '/qwtPolarAddLibrary/s:qwtpolar):qwtpolar-qt5):g' \
- -e "s:\${QWT_POLAR_ROOT}/lib:\${QWT_POLAR_ROOT}/$(get_libdir):g" \
- -i qwtpolar.prf designer/designer.pro examples/examples.pri || die
- ;;
- esac
- }
-
- multibuild_foreach_variant run_in_build_dir qt45_preparation
-}
-
-src_configure() {
- configuration() {
- case "${MULTIBUILD_VARIANT}" in
- qt4-*)
- eqmake4
- ;;
- qt5-*)
- eqmake5
- ;;
- esac
- }
- multibuild_parallel_foreach_variant run_in_build_dir configuration
-}
-
-src_compile() {
- multibuild_foreach_variant run_in_build_dir default
-}
-
-src_install () {
- multibuild_foreach_variant run_in_build_dir emake INSTALL_ROOT="${D}" install
- mv "${D}/usr/share/doc/${PN}-${PVR}/man" "${D}"/usr/share
-}
diff --git a/x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild b/x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild
index 6a25f87..de4931e 100644
--- a/x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild
+++ b/x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="qwt"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="designer doc qt4 qt5"
+IUSE="designer doc examples qt4 qt5"
REQUIRED_USE="|| ( qt4 qt5 )"
RDEPEND="x11-libs/qwt:6[svg]
@@ -21,6 +21,7 @@ RDEPEND="x11-libs/qwt:6[svg]
DEPEND="${RDEPEND}"
src_prepare() {
+ rm -f "${S}/doc/man/man3/qwtlicense.3" # Already provided by dependency x11-libs/qwt
sed \
-e "/QWT_POLAR_INSTALL_PREFIX /s:=.*$:= ${EPREFIX}/usr:g" \
-e "/QWT_POLAR_INSTALL_LIBS/s:lib:$(get_libdir):g" \
@@ -36,8 +37,8 @@ src_prepare() {
-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)
+ INCLUDEPATH += "${EPREFIX}/usr/include/qwt6"
+ LIBS += -L"${S}/$(get_libdir)"
EOF
MULTIBUILD_VARIANTS=( )
@@ -116,5 +117,32 @@ src_compile() {
src_install () {
multibuild_foreach_variant run_in_build_dir emake INSTALL_ROOT="${D}" install
- mv "${D}/usr/share/doc/${PN}-${PVR}/man" "${D}"/usr/share
+ mv "${D}/usr/share/doc/${PN}-${PVR}/man" "${D}/usr/share"
+
+ if use examples; then
+ # don't build examples - fix the Qt files to allow build once installed
+ cat > examples/examples.pri <<-EOF
+TEMPLATE = app
+
+unix: include( "${EPREFIX}/usr/share/qt4/mkspecs/features/qwt.prf" )
+unix: include( "${EPREFIX}/usr/share/qt4/mkspecs/features/qwtpolar.prf" )
+
+greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport concurrent
+
+contains(QWT_POLAR_CONFIG, QwtPolarSvg) {
+ QT += svg
+} else {
+ DEFINES += QWT_POLAR_NO_SVG
+}
+ EOF
+ if use qt4; then
+ insinto /usr/share/${PN}-qt4
+ doins -r examples
+ fi
+ if use qt5; then
+ sed -i -e 's/qt4/qt5/g' examples/examples.pri || die
+ insinto /usr/share/${PN}-qt5
+ doins -r examples
+ fi
+ fi
}