Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128964 Details for
Bug 189944
x11-libs/qwt-qt3-5.0.2 - improved ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qwt-qt3-5.0.2.ebuild.patch
qwt-qt3-5.0.2.ebuild.patch (text/plain), 2.35 KB, created by
Davide Pesavento (RETIRED)
on 2007-08-23 15:26:06 UTC
(
hide
)
Description:
qwt-qt3-5.0.2.ebuild.patch
Filename:
MIME Type:
Creator:
Davide Pesavento (RETIRED)
Created:
2007-08-23 15:26:06 UTC
Size:
2.35 KB
patch
obsolete
>--- /usr/portage/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild 2007-08-09 14:06:54.000000000 +0200 >+++ qwt-qt3-5.0.2.ebuild 2007-08-23 17:14:51.000000000 +0200 >@@ -2,60 +2,51 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt-qt3/qwt-qt3-5.0.2.ebuild,v 1.2 2007/08/09 12:01:39 caleb Exp $ > >-inherit multilib eutils qt3 >+inherit multilib qt3 > >-MY_P=${P/-qt3/} >+MY_P="${P/-qt3/}" > > SRC_URI="mirror://sourceforge/qwt/${MY_P}.tar.bz2" > HOMEPAGE="http://qwt.sourceforge.net/" >-DESCRIPTION="2D plotting library for Qt4" >+DESCRIPTION="2D plotting library for Qt3" > LICENSE="qwt" > KEYWORDS="~amd64 ~x86" > SLOT="5" > IUSE="doc" > >-QWTVER="5.0.2" >- >-S=${WORKDIR}/${MY_P} >+S="${WORKDIR}/${MY_P}" > > DEPEND="$(qt_min_version 3)" > >-src_unpack () { >- unpack ${A} >- >- cd {S} >- >- sed -i -e "s:TARGET = qwt:TARGET = qwt-qt3:" src/src.pro >- sed -i -e "s:-lqwt:-lqwt-qt3:" designer/designer.pro >+src_compile () { >+ sed -i -e "s:TARGET .* = qwt:TARGET = qwt-qt3:" src/src.pro \ >+ || die "sed src.pro failed" >+ sed -i -e "s:-lqwt:-lqwt-qt3:" designer/designer.pro \ >+ || die "sed designer.pro failed" > >+ # Configuration file > qwtconfig="${S}/qwtconfig.pri" >+ > echo > ${qwtconfig} "" > echo >> ${qwtconfig} "target.path = /usr/$(get_libdir)" > echo >> ${qwtconfig} "headers.path = /usr/include/qwt-qt3" > echo >> ${qwtconfig} "doc.path = /usr/share/doc/${PF}" > echo >> ${qwtconfig} > echo >> ${qwtconfig} "CONFIG += qt warn_on thread" >- echo >> ${qwtconfig} "CONFIG += release" > echo >> ${qwtconfig} "CONFIG += QwtDll QwtPlot QwtWidgets QwtDesigner" > >- # Can also do QwtExamples for example building >+ use doc || echo >> src/src.pro "INSTALLS -= doc" > >- echo >> ${qwtconfig} "QMAKE_CFLAGS_RELEASE += ${CFLAGS}" >- echo >> ${qwtconfig} "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}" >+ # Generates top-level Makefile >+ eqmake3 qwt.pro > >- if ! useq doc; then >- echo >> "${S}/src/src.pro" "INSTALLS = target headers" >- fi >- >-} >- >-src_compile () { > # -j1 due to parallel build failures ( bug # 170625 ) >- ${QTDIR}/bin/qmake QMAKE=${QTDIR}/bin/qmake qwt.pro >- emake -j1 || die >+ emake -j1 || die "emake failed" > } > > src_install () { >- make INSTALL_ROOT=${D} install >- rm ${D}usr/$(get_libdir)/libqwt-qt3.so >+ emake INSTALL_ROOT="${D}" install || die "emake install failed" >+ rm "${D}"/usr/$(get_libdir)/libqwt-qt3.so >+ >+ dodoc CHANGES README > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189944
:
128962
| 128964