public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/
Date: Mon, 29 Aug 2011 11:18:54 +0000 (UTC)	[thread overview]
Message-ID: <bc17c0d6129ed527c9a5f67008d010f673411fcf.jlec@gentoo> (raw)

commit:     bc17c0d6129ed527c9a5f67008d010f673411fcf
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 09:29:51 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 09:29:51 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bc17c0d6

Cleaned up ebuild

(Portage version: 2.2.0_alpha51/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 media-gfx/librecad/ChangeLog                 |    4 ++++
 media-gfx/librecad/librecad-1.0.0_rc2.ebuild |    8 ++++----
 media-gfx/librecad/librecad-9999.ebuild      |   26 ++++++++++++--------------
 3 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog
index 6b6b41b..a19cce3 100644
--- a/media-gfx/librecad/ChangeLog
+++ b/media-gfx/librecad/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header$
 
+  28 Aug 2011; Justin Lecher <jlec@gentoo.org> librecad-1.0.0_rc2.ebuild,
+  librecad-9999.ebuild:
+  Cleaned up ebuild
+
 *librecad-1.0.0_rc2 (15 Aug 2011)
 
   26 Aug 2011; Dongxu Li <dongxuli2011@gmail.com> librecad-1.0.0_rc2.ebuild:

diff --git a/media-gfx/librecad/librecad-1.0.0_rc2.ebuild b/media-gfx/librecad/librecad-1.0.0_rc2.ebuild
index 5656c11..792915a 100644
--- a/media-gfx/librecad/librecad-1.0.0_rc2.ebuild
+++ b/media-gfx/librecad/librecad-1.0.0_rc2.ebuild
@@ -8,8 +8,7 @@ inherit qt4-r2
 
 DESCRIPTION="An generic 2D CAD program"
 HOMEPAGE="http://www.librecad.org/"
-SRC_URI="https://nodeload.github.com/LibreCAD/LibreCAD/tarball/1.0.0rc2 ->
-${P}.tar.gz"
+SRC_URI="https://nodeload.github.com/LibreCAD/LibreCAD/tarball/1.0.0rc2 -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -28,8 +27,9 @@ src_unpack() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}/${PV}-gcc4.6.patch"
-	epatch "${FILESDIR}/${P}-version.patch"
+	epatch \
+		"${FILESDIR}"/${PV}-gcc4.6.patch \
+		"${FILESDIR}"/${P}-version.patch
 }
 
 src_install() {

diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index 6339f11..bb13037 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -2,37 +2,35 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI=4
+
 inherit qt4-r2 git-2
 
 DESCRIPTION="An generic 2D CAD program"
 HOMEPAGE="http://www.librecad.org/"
+EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug doc"
 
-EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
-
 DEPEND="
 	x11-libs/qt-gui[qt3support]
 	x11-libs/qt-assistant:4
-	x11-libs/qt-qt3support:4
-"
-
+	x11-libs/qt-qt3support:4"
 RDEPEND="${DEPEND}"
 
-src_prepare()
-{
+src_prepare() {
 	# patch to solve an issue caused by gcc-4.6, by mickele, archlinux
-	sed -e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
-	-e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
-	-i fparser/fparser.cc
+	sed \
+		-e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
+		-e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
+		-i fparser/fparser.cc || die
 }
 
-src_install()
-{
-qt4-r2_src_install
+src_install() {
+	qt4-r2_src_install
 	dobin unix/librecad
 	insinto /usr/share/"${PN}"
 	doins -r unix/resources/*



             reply	other threads:[~2011-08-29 11:19 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 11:18 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-06 18:29 [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/ Alexey Shvetsov
2015-09-01  7:57 Justin Lecher
2015-09-01  7:57 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-04-07  8:56 Justin Lecher
2015-02-08 21:07 Christoph Junghans
2015-02-08 21:07 Christoph Junghans
2015-02-08 21:07 Christoph Junghans
2015-02-08 21:07 Christoph Junghans
2015-01-18  2:16 Christoph Junghans
2015-01-18  2:16 Christoph Junghans
2015-01-18  2:16 Christoph Junghans
2015-01-18  2:16 Christoph Junghans
2015-01-18  2:16 Christoph Junghans
2015-01-15 15:57 Christoph Junghans
2014-09-24  6:45 Justin Lecher
2014-08-19 21:51 Christoph Junghans
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2014-03-24 15:28 Justin Lecher
2014-03-24 15:28 Justin Lecher
2014-01-18  7:38 Justin Lecher
2014-01-06 19:27 Justin Lecher
2013-12-28 23:17 Justin Lecher
2013-11-14 17:06 Nicolas Bock
2013-09-04  5:11 Kacper Kowalik
2013-06-14 11:21 [gentoo-commits] proj/sci:fixing " Justin Lecher
2013-06-14 11:21 ` [gentoo-commits] proj/sci:master " Justin Lecher
2013-06-11 16:42 Sebastien Fabbro
2013-06-10 11:35 Justin Lecher
2013-04-15  6:14 Kacper Kowalik
2013-03-16 22:00 Christoph Junghans
2012-07-15 18:33 Dongxu Li
2012-05-23 19:56 Kacper Kowalik
2012-05-20 15:18 Dongxu Li
2012-04-16  3:10 Dongxu Li
2012-04-03  4:13 Kacper Kowalik
2012-04-01 19:02 Dongxu Li
2012-02-05 12:52 Dongxu Li
2011-12-15  2:35 Dongxu Li
2011-12-13 17:32 Dongxu Li
2011-10-24  3:33 Dongxu Li
2011-10-10 16:31 Dongxu Li
2011-10-06 19:38 Dongxu Li
2011-09-20 15:57 Dongxu Li
2011-09-19 20:31 Dongxu Li
2011-09-09 14:37 Dongxu Li
2011-09-05  1:14 Dongxu Li
2011-09-03 22:45 Dongxu Li
2011-09-03 22:34 Dongxu Li
2011-08-27  2:37 Dongxu Li
2011-08-18 16:00 Dongxu Li
2011-06-30 22:34 Dongxu Li
2011-06-30 13:10 Dongxu Li
2011-06-24 17:09 Justin Lecher
2011-06-19 11:40 Dongxu Li
2011-05-24 13:50 Dongxu Li
2011-05-07  2:15 Dongxu Li
2011-04-30 14:22 Dongxu Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc17c0d6129ed527c9a5f67008d010f673411fcf.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox