diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2008-01-20 07:51:07 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2008-01-20 07:51:07 +0000 |
commit | d4d3c89c93998283910ba994e96a7cb659a986a7 (patch) | |
tree | da3bb2fcac4953367f32a21616e00c95506399b7 /app-office/qtstalker | |
parent | arm/s390/sh love (diff) | |
download | gentoo-2-d4d3c89c93998283910ba994e96a7cb659a986a7.tar.gz gentoo-2-d4d3c89c93998283910ba994e96a7cb659a986a7.tar.bz2 gentoo-2-d4d3c89c93998283910ba994e96a7cb659a986a7.zip |
Version bump. Thanks to everyone on bug #195846.
- new dep on sci-libs/ta-lib
- don't prestrip plugin libraries
- fix multilib-strict / misc path issues
- misc QA (quoting, etc.)
(Portage version: 2.1.4)
Diffstat (limited to 'app-office/qtstalker')
-rw-r--r-- | app-office/qtstalker/ChangeLog | 15 | ||||
-rw-r--r-- | app-office/qtstalker/files/digest-qtstalker-0.35 | 3 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker-0.35-nodocs.patch | 37 | ||||
-rw-r--r-- | app-office/qtstalker/files/qtstalker-0.35-parallel-make.patch | 12 | ||||
-rw-r--r-- | app-office/qtstalker/qtstalker-0.35.ebuild | 89 |
5 files changed, 154 insertions, 2 deletions
diff --git a/app-office/qtstalker/ChangeLog b/app-office/qtstalker/ChangeLog index b92d7ceed7f9..a7efd6e5448b 100644 --- a/app-office/qtstalker/ChangeLog +++ b/app-office/qtstalker/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for app-office/qtstalker -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.3 2007/03/05 22:59:48 troll Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/ChangeLog,v 1.4 2008/01/20 07:51:06 dirtyepic Exp $ + +*qtstalker-0.35 (20 Jan 2008) + + 20 Jan 2008; Ryan Hill <dirtyepic@gentoo.org> + +files/qtstalker-0.35-nodocs.patch, + +files/qtstalker-0.35-parallel-make.patch, +qtstalker-0.35.ebuild: + Version bump. Thanks to everyone on bug #195846. + - new dep on sci-libs/ta-lib + - don't prestrip plugin libraries + - fix multilib-strict / misc path issues + - misc QA (quoting, etc.) *qtstalker-0.33 (05 Mar 2007) diff --git a/app-office/qtstalker/files/digest-qtstalker-0.35 b/app-office/qtstalker/files/digest-qtstalker-0.35 new file mode 100644 index 000000000000..4d2579f4d3b7 --- /dev/null +++ b/app-office/qtstalker/files/digest-qtstalker-0.35 @@ -0,0 +1,3 @@ +MD5 2b741bd4b8916dceb4d41316173db82b qtstalker-0.35.tar.gz 1395170 +RMD160 99174a00414b69233868122dc74869f884f053a8 qtstalker-0.35.tar.gz 1395170 +SHA256 2524b7a02d81d3cd46d5a1211f2865d0b384e214c8191349d8ac589f2d57ebba qtstalker-0.35.tar.gz 1395170 diff --git a/app-office/qtstalker/files/qtstalker-0.35-nodocs.patch b/app-office/qtstalker/files/qtstalker-0.35-nodocs.patch new file mode 100644 index 000000000000..558b5b56c746 --- /dev/null +++ b/app-office/qtstalker/files/qtstalker-0.35-nodocs.patch @@ -0,0 +1,37 @@ +diff -Naur qtstalker-orig/docs/docs.pro qtstalker/docs/docs.pro +--- qtstalker-orig/docs/docs.pro 2007-09-28 02:01:58.000000000 -0600 ++++ qtstalker/docs/docs.pro 2008-01-20 00:41:16.000000000 -0600 +@@ -2,33 +2,6 @@ + + CONFIG += thread + +-# install the html files +-docs.path = /usr/local/share/doc/qtstalker/html +-docs.files = *.html +-INSTALLS += docs +- +-# install the html pic files +-pics.path = /usr/local/share/doc/qtstalker/html +-pics.files = *.png +-INSTALLS += pics +- +-# install the example indicator html files and pics +-idocs.path = /usr/local/share/doc/qtstalker/html/indicator +-idocs.files = indicator/*.html +-idocs.files += indicator/*.png +-INSTALLS += idocs +- +-# install the CHANGELOG files +-cl.path = /usr/local/share/doc/qtstalker/html +-cl.files = CHANGELOG* +-INSTALLS += cl +- +-# install the past CHANGELOG files +-pcl.path = /usr/local/share/doc/qtstalker/html/pastchanges +-pcl.files = pastchanges/*.html +-pcl.files += pastchanges/CHANGELOG* +-INSTALLS += pcl +- + # install the translation files + i18n.path = /usr/local/share/qtstalker/i18n + i18n.files = ../i18n/*.qm diff --git a/app-office/qtstalker/files/qtstalker-0.35-parallel-make.patch b/app-office/qtstalker/files/qtstalker-0.35-parallel-make.patch new file mode 100644 index 000000000000..4ec072eab4c9 --- /dev/null +++ b/app-office/qtstalker/files/qtstalker-0.35-parallel-make.patch @@ -0,0 +1,12 @@ +diff -Naur qtstalker-orig/qtstalker.pro qtstalker/qtstalker.pro +--- qtstalker-orig/qtstalker.pro 2007-02-03 15:10:53.000000000 -0600 ++++ qtstalker/qtstalker.pro 2008-01-20 00:43:48.000000000 -0600 +@@ -3,6 +3,8 @@ + # compile TALIB + #SUBDIRS += TALIB + ++CONFIG += ordered ++ + # compile qtstalker lib + SUBDIRS += lib + diff --git a/app-office/qtstalker/qtstalker-0.35.ebuild b/app-office/qtstalker/qtstalker-0.35.ebuild new file mode 100644 index 000000000000..dc805a3bb404 --- /dev/null +++ b/app-office/qtstalker/qtstalker-0.35.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/qtstalker/qtstalker-0.35.ebuild,v 1.1 2008/01/20 07:51:06 dirtyepic Exp $ + +inherit qt3 eutils multilib + +LANGS="pl" +for i in ${LANGS}; do + IUSE="${IUSE} linguas_${i}" +done + +DESCRIPTION="Commodity and stock market charting and technical analysis" +HOMEPAGE="http://qtstalker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="$(qt_min_version 3.3) + >=sci-libs/ta-lib-0.4.0 + >=sys-libs/db-4.3" + +IUSE="" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-nodocs.patch + epatch "${FILESDIR}"/${P}-parallel-make.patch + + ebegin 'Fixing install paths' + grep -rl '/usr/local' * \ + | xargs sed -i -e "s:/usr/local:/usr:g" + eend + + ebegin 'Fixing multilib paths' + grep -rl '/usr/lib' * \ + | xargs sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" + eend + + ebegin 'Fixing manual paths' + grep -rl '/usr/share/doc/qtstalker/' * \ + | xargs sed -i -e "s:/usr/share/doc/qtstalker/:/usr/share/doc/${PF}/:g" + eend +} + +src_compile() { + eqmake3 || die "eqmake3 failed." + emake || die "emake failed." + + for i in ${LINGUAS}; do + if [[ -f ${PN}_${i}.ts ]]; then + ebegin "Building langpacks..." + lrelease ${PN}_${i}.ts + eend + fi + done +} + +src_install() { + export INSTALL_ROOT="${D}" + sed -i -e 's:-strip ::g' "${S}"/plugins/quote/*/Makefile + emake install || die "emake install failed." + + ebegin "Installing docs" + cd "${S}"/docs + dohtml *{html,png} + dodoc AUTHORS BUGS CHANGELOG-${PV} INSTALL TODO "${S}"/README + eend + + # install only needed langpacks + ebegin "Installing langpacks" + cd "${S}"/i18n + insinto /usr/share/${PN}/i18n + for i in ${LINGUAS}; do + if [[ -f ${PN}_${i}.qm ]]; then + doins ${PN}_${i}.qm + fi + done + eend + + # menu and icon + domenu "${FILESDIR}"/${PN}.desktop + doicon "${FILESDIR}"/${PN}.png +} |