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 ) id 1QOs0l-00019x-FW for garchives@archives.gentoo.org; Tue, 24 May 2011 13:51:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0837C1C551; Tue, 24 May 2011 13:50:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BD1691C551 for ; Tue, 24 May 2011 13:50:55 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 239861B4024 for ; Tue, 24 May 2011 13:50:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 18A0580505 for ; Tue, 24 May 2011 13:50:54 +0000 (UTC) From: "Dongxu Li" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dongxu Li" Message-ID: <72fc737b8d3cd602cd41d787ac63afd9d8930c00.dongxuli@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/ X-VCS-Repository: proj/sci X-VCS-Files: media-gfx/librecad/ChangeLog media-gfx/librecad/librecad-9999.ebuild X-VCS-Directories: media-gfx/librecad/ X-VCS-Committer: dongxuli X-VCS-Committer-Name: Dongxu Li X-VCS-Revision: 72fc737b8d3cd602cd41d787ac63afd9d8930c00 Date: Tue, 24 May 2011 13:50:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ea96808d3e30d670cb665cb0d99ee437 commit: 72fc737b8d3cd602cd41d787ac63afd9d8930c00 Author: Dongxu Li gmail com> AuthorDate: Tue May 24 13:50:11 2011 +0000 Commit: Dongxu Li gmail com> CommitDate: Tue May 24 13:50:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D72fc737b media-gfx/librecad: switch from svn to git --- media-gfx/librecad/ChangeLog | 3 +++ media-gfx/librecad/librecad-9999.ebuild | 30 ++++++++++++++-----------= ----- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog index 72ff86a..394a163 100644 --- a/media-gfx/librecad/ChangeLog +++ b/media-gfx/librecad/ChangeLog @@ -2,5 +2,8 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header$ =20 + 24 May 2011; Dongxu Li librecad-9999.ebuild: + Switch from svn to git, add qt-assistant DEPEND + 30 Apr 2011; Dongxu Li +librecad-9999.ebuild: Initial port. #344791, ebuild by Egor Y. Egorov diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad= /librecad-9999.ebuild index 53b1cb4..261aa6e 100644 --- a/media-gfx/librecad/librecad-9999.ebuild +++ b/media-gfx/librecad/librecad-9999.ebuild @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: caduntu-9999.ebuild $ =20 -EAPI=3D"2" - -inherit qt4-r2 subversion +EAPI=3D"3" +inherit qt4-r2 git-2 =20 DESCRIPTION=3D"An generic 2D CAD program" HOMEPAGE=3D"http://www.librecad.org/" @@ -13,31 +12,30 @@ SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"debug doc" =20 -ESVN_REPO_URI=3Dhttps://librecad.svn.sourceforge.net/svnroot/librecad/tr= unk/ -ESVN_RESTRICT=3Dexport +EGIT_REPO_URI=3D"https://github.com/LibreCAD/LibreCAD.git" =20 RDEPEND=3D"x11-libs/qt-gui[qt3support]" -DEPEND=3D"${RDEPEND}" +DEPEND=3D"${RDEPEND} + x11-libs/qt-assistant:4 + x11-libs/qt-qt3support:4 +" =20 -src_unpack() +src_prepare() { - subversion_src_unpack || die - cd "$(subversion__get_wc_path "${ESVN_REPO_URI}")" - rsync -rlpgo . "${S}" || die "${ESVN}: can't export to ${S}." # patch to solve an issue caused by gcc-4.6, by mickele, archlinux sed -e "s|LiteralMask::mask;|LiteralMask(n)>::mask;|" \ -e "s|SimpleSpaceMask::mask;|SimpleSpaceMask(n)>::mask;|" \ - -i "${S}"/fparser/fparser.cc + -i fparser/fparser.cc } =20 src_install() { - dobin unix/librecad || die + dobin unix/librecad=20 insinto /usr/share/"${PN}" - doins -r unix/resources/* || die + doins -r unix/resources/*=20 if use doc ; then - dohtml -r support/doc/* || die + dohtml -r support/doc/*=20 fi - doicon res/main/"${PN}".png || die - make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics || die + doicon res/main/"${PN}".png=20 + make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics=20 }