From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-383751-garchives=archives.gentoo.org@lists.gentoo.org>) id 1R5kVN-0007Lc-3R for garchives@archives.gentoo.org; Mon, 19 Sep 2011 20:31:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6612121C03B; Mon, 19 Sep 2011 20:31:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3095B21C03B for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2011 20:31:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D6151B4011 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2011 20:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E3FDE80042 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Sep 2011 20:31:43 +0000 (UTC) From: "Dongxu Li" <dongxuli2011@gmail.com> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dongxu Li" <dongxuli2011@gmail.com> Message-ID: <4695d422d0e2a2cdece4499b110d3b999b8b4ec4.dongxuli@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/ X-VCS-Repository: proj/sci X-VCS-Files: media-gfx/librecad/librecad-1.0.0_rc3.ebuild X-VCS-Directories: media-gfx/librecad/ X-VCS-Committer: dongxuli X-VCS-Committer-Name: Dongxu Li X-VCS-Revision: 4695d422d0e2a2cdece4499b110d3b999b8b4ec4 Date: Mon, 19 Sep 2011 20:31:43 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: abbb6b42bc4696de83806c7617dcfb39 commit: 4695d422d0e2a2cdece4499b110d3b999b8b4ec4 Author: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com> AuthorDate: Mon Sep 19 20:31:13 2011 +0000 Commit: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com> CommitDate: Mon Sep 19 20:31:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D4695d422 media-gfx/librecad: version bump to 1.0.0_rc3 --- media-gfx/librecad/librecad-1.0.0_rc3.ebuild | 42 ++++++++++++++++++++= ++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/media-gfx/librecad/librecad-1.0.0_rc3.ebuild b/media-gfx/lib= recad/librecad-1.0.0_rc3.ebuild new file mode 100644 index 0000000..e4069ed --- /dev/null +++ b/media-gfx/librecad/librecad-1.0.0_rc3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D3 + +inherit qt4-r2 + +DESCRIPTION=3D"An generic 2D CAD program" +HOMEPAGE=3D"http://www.librecad.org/" +SRC_URI=3D"https://nodeload.github.com/LibreCAD/LibreCAD/tarball/${PV/_/= } -> ${P}.tar.gz" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"debug doc" + +RDEPEND=3D" + x11-libs/qt-gui[qt3support] + x11-libs/qt-assistant:4 + x11-libs/qt-qt3support:4" +DEPEND=3D"${RDEPEND}" + +src_unpack() { + unpack ${A} + mv * ${P} +} + +src_prepare() { +sed -i -e "s:\\\$\+system(git describe --tags):1.0.0_rc3:" "${PN}.pro" +} + +src_install() { + dobin unix/librecad || die + insinto /usr/share/"${PN}" + doins -r unix/resources/* || die + if use doc ; then + dohtml -r support/doc/* + fi + doicon res/main/"${PN}".png + make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics +}