diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-22 11:22:05 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-22 11:22:05 +0000 |
commit | 990b26e2160242d079873ea7df8999ac45903294 (patch) | |
tree | c38c086f460983ad72470e5e1922be7a8f8ba8df /app-sci | |
parent | Added to ~ppc-macos; bug #63440. (Manifest recommit) (diff) | |
download | gentoo-2-990b26e2160242d079873ea7df8999ac45903294.tar.gz gentoo-2-990b26e2160242d079873ea7df8999ac45903294.tar.bz2 gentoo-2-990b26e2160242d079873ea7df8999ac45903294.zip |
Added manual again.
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/qcad/ChangeLog | 7 | ||||
-rw-r--r-- | app-sci/qcad/Manifest | 20 | ||||
-rw-r--r-- | app-sci/qcad/files/digest-qcad-2.0.4.0-r1 | 2 | ||||
-rw-r--r-- | app-sci/qcad/qcad-2.0.4.0-r1.ebuild | 85 |
4 files changed, 104 insertions, 10 deletions
diff --git a/app-sci/qcad/ChangeLog b/app-sci/qcad/ChangeLog index 39362130c0ac..cf1941a4439b 100644 --- a/app-sci/qcad/ChangeLog +++ b/app-sci/qcad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-sci/qcad # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad/ChangeLog,v 1.28 2004/12/16 04:56:37 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad/ChangeLog,v 1.29 2004/12/22 11:22:05 phosphan Exp $ + +*qcad-2.0.4.0-r1 (22 Dec 2004) + + 22 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> +qcad-2.0.4.0-r1.ebuild: + Added manual again 15 Dec 2004; Dylan Carlson <absinthe@gentoo.org> qcad-2.0.4.0.ebuild: Stable on amd64. diff --git a/app-sci/qcad/Manifest b/app-sci/qcad/Manifest index 4d0b728a26de..719474e7f059 100644 --- a/app-sci/qcad/Manifest +++ b/app-sci/qcad/Manifest @@ -1,16 +1,18 @@ -MD5 c7bfbdecbd0ae80184a7707d01e7e521 ChangeLog 4112 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 da5b7f439ad855a2177bb9e16b7aadc4 qcad-2.0.2.0.ebuild 1563 MD5 9f533a2083b7b1f3e472c10f958f61d6 qcad-2.0.3.1-r1.ebuild 2567 -MD5 c584eae37e121e98386dd443277b8c43 qcad-2.0.3.1.ebuild 2121 +MD5 da5b7f439ad855a2177bb9e16b7aadc4 qcad-2.0.2.0.ebuild 1563 MD5 9d1eeb7e6da380fe07e98889ecb73363 qcad-2.0.4.0.ebuild 2766 +MD5 c2c4e8de65781431dda4bd30e5643c13 qcad-2.0.4.0-r1.ebuild 2414 +MD5 c584eae37e121e98386dd443277b8c43 qcad-2.0.3.1.ebuild 2121 +MD5 c7bfbdecbd0ae80184a7707d01e7e521 ChangeLog 4112 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.3.1-1.src-gentoo.patch 2177 +MD5 c79cda60b6383bbd7cd5c59e5975444e files/manual.patch-r1 841 +MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.4.0-1.src-gentoo.patch 2177 +MD5 2e380c8a9e9dc284ddd73ef3378d9591 files/qcad-2.0.3.1-gcc34.patch 374 MD5 5aab9950cd320093d39df3b09256dddf files/digest-qcad-2.0.2.0 71 MD5 48b9ef97369159a131b93e1392af5add files/digest-qcad-2.0.3.1 71 -MD5 48b9ef97369159a131b93e1392af5add files/digest-qcad-2.0.3.1-r1 71 MD5 e7233e9c5228abc9cb54e3705bdf9707 files/digest-qcad-2.0.4.0 71 MD5 f6b59499dd0213d34c3d983a7fd7481c files/manual.patch 754 -MD5 c79cda60b6383bbd7cd5c59e5975444e files/manual.patch-r1 841 MD5 ec141f17f0419be4c51b80ed330f4d35 files/qcad-2.0.2.0-1.src-gentoo.patch 2409 -MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.3.1-1.src-gentoo.patch 2177 -MD5 2e380c8a9e9dc284ddd73ef3378d9591 files/qcad-2.0.3.1-gcc34.patch 374 -MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.4.0-1.src-gentoo.patch 2177 +MD5 48b9ef97369159a131b93e1392af5add files/digest-qcad-2.0.3.1-r1 71 +MD5 4d37f63dec6f0a0937438c9308f232a7 files/digest-qcad-2.0.4.0-r1 143 diff --git a/app-sci/qcad/files/digest-qcad-2.0.4.0-r1 b/app-sci/qcad/files/digest-qcad-2.0.4.0-r1 new file mode 100644 index 000000000000..e83bcbbf94dc --- /dev/null +++ b/app-sci/qcad/files/digest-qcad-2.0.4.0-r1 @@ -0,0 +1,2 @@ +MD5 d99ae2855029af21f544e302a60d6840 qcad-2.0.4.0-1.src.tar.gz 3169984 +MD5 a8cd3682b9405c0de6d5bd77d50da0f2 qcad-manual-200404.tar.bz2 1648761 diff --git a/app-sci/qcad/qcad-2.0.4.0-r1.ebuild b/app-sci/qcad/qcad-2.0.4.0-r1.ebuild new file mode 100644 index 000000000000..065152767f49 --- /dev/null +++ b/app-sci/qcad/qcad-2.0.4.0-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/qcad/qcad-2.0.4.0-r1.ebuild,v 1.1 2004/12/22 11:22:05 phosphan Exp $ + +inherit kde-functions eutils + +MY_PV=${PV}-1 +MY_P=${P}-1.src +S=${WORKDIR}/${MY_P} +DESCRIPTION="A 2D CAD package based upon Qt." +SRC_URI="http://www.ribbonsoft.com/archives/qcad/${MY_P}.tar.gz + doc? ( mirror://gentoo/qcad-manual-200404.tar.bz2 )" +# mirror://gentoo/qcaddoc-${MY_PV}.tar.bz2" +HOMEPAGE="http://www.ribbonsoft.com/qcad.html" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" +KEYWORDS="~x86 ~ppc ~amd64" + +need-qt 3.3 + +DEPEND="${DEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} +# mv doc ${S}/qcad/ + cd ${S} + echo >> defs.pro "DEFINES += _REENTRANT QT_THREAD_SUPPORT" + echo >> defs.pro "CONFIG += thread release" + echo >> defs.pro "QMAKE_CFLAGS_RELEASE += ${CFLAGS}" + echo >> defs.pro "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}" + epatch ${FILESDIR}/${MY_P}-gentoo.patch + epatch ${FILESDIR}/manual.patch-r1 + cd ${S}/scripts + sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh || \ + die "unable to add MAKEOPTS" + sed -i -e 's/^\.\/configure/.\/configure --host=${CHOST}/' build_qcad.sh \ + || die "unable to set CHOST" + cd ${S}/qcad/src + sed -i -e "s:FULLASSISTANTPATH:${QTDIR}/bin:" qc_applicationwindow.cpp \ + || die "sed failed on assistant path" + sed -i -e "s:QCADDOCPATH:/usr/share/doc/${PF}:" \ + qc_applicationwindow.cpp || die "sed failed on manual path" + +} + + +src_compile() { + ### borrowed from kde.eclass # + # + # fix the sandbox errors "can't writ to .kde or .qt" problems. + # this is a fake homedir that is writeable under the sandbox, so that the build process + # can do anything it wants with it. + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + # things that should access the real homedir + [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" + cd scripts + sh build_qcad.sh || die "build failed" + if ! test -f ${S}/qcad/qcad; then + die "no binary created, build failed" + fi +} + +src_install () { + cd qcad + mv qcad qcad.bin + dobin qcad.bin + echo -e "#!/bin/sh\ncd /usr/share/${P}\nqcad.bin" > qcad + chmod ugo+rx qcad + dobin qcad + dodir /usr/share/${P} + cp -a patterns examples fonts qm ${D}/usr/share/${P} + cd .. + dodoc README + if use doc; then + insinto /usr/share/doc/${PF}/ + cd ${WORKDIR} + cp -a qcaddoc.adp cad ${D}usr/share/doc/${PF} + fi +} |