public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/librecad/
Date: Mon, 22 Jan 2018 08:40:09 +0000 (UTC)	[thread overview]
Message-ID: <1516610408.a2e67413ffef6eafd1e28ec3ecfaedd12ceb6dc5.jer@gentoo> (raw)

commit:     a2e67413ffef6eafd1e28ec3ecfaedd12ceb6dc5
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 08:39:55 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 08:40:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e67413

media-gfx/librecad: insinto -> docinto (bug #637950).

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 ...{librecad-9999.ebuild => librecad-2.1.3-r3.ebuild} | 19 ++++++++++---------
 media-gfx/librecad/librecad-9999.ebuild               |  2 +-
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-2.1.3-r3.ebuild
similarity index 69%
copy from media-gfx/librecad/librecad-9999.ebuild
copy to media-gfx/librecad/librecad-2.1.3-r3.ebuild
index de157dedc9e..20902c58015 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-2.1.3-r3.ebuild
@@ -3,16 +3,15 @@
 
 EAPI=5
 
-inherit eutils git-r3 qmake-utils
+inherit eutils qmake-utils
 
 DESCRIPTION="Generic 2D CAD program"
 HOMEPAGE="http://www.librecad.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
+SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.zip -> ${P}.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 IUSE="3d debug doc tools"
 
@@ -29,11 +28,15 @@ DEPEND="
 	media-libs/freetype:2"
 
 RDEPEND="${DEPEND}"
-S="${WORKDIR}/librecad-${PV}"
+S="${WORKDIR}/LibreCAD-${PV}"
 
 src_prepare() {
+# 	epatch "${FILESDIR}/iota-fix-2.1.1.patch"
+
 	# currently RS_VECTOR3D causes an internal compiler error on GCC-4.8
-	use 3d || sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
+	if ! use 3d; then
+		sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
+	fi
 }
 
 src_configure() {
@@ -43,11 +46,9 @@ src_configure() {
 src_install() {
 	dobin unix/librecad
 	use tools && dobin unix/ttf2lff
-	insinto /usr/share
-	doins -r unix/appdata
 	insinto /usr/share/${PN}
 	doins -r unix/resources/*
-	use doc && insinto html && dodoc -r librecad/support/doc/*
+	use doc && docinto html && dodoc -r librecad/support/doc/*
 	insinto /usr/share/appdata
 	doins unix/appdata/librecad.appdata.xml
 	doicon librecad/res/main/${PN}.png

diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index de157dedc9e..efb61a9472a 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -47,7 +47,7 @@ src_install() {
 	doins -r unix/appdata
 	insinto /usr/share/${PN}
 	doins -r unix/resources/*
-	use doc && insinto html && dodoc -r librecad/support/doc/*
+	use doc && docinto html && dodoc -r librecad/support/doc/*
 	insinto /usr/share/appdata
 	doins unix/appdata/librecad.appdata.xml
 	doicon librecad/res/main/${PN}.png


             reply	other threads:[~2018-01-22  8:40 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22  8:40 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-25 19:15 [gentoo-commits] repo/gentoo:master commit in: media-gfx/librecad/ Andreas Sturmlechner
2025-03-24 19:31 Sam James
2025-03-24 19:31 Sam James
2025-02-13  2:57 Sam James
2025-01-05 11:42 Miroslav Šulc
2024-10-25  7:31 Yixun Lan
2024-09-22  7:20 Sam James
2024-09-22  7:20 Sam James
2024-06-30  0:00 Conrad Kostecki
2023-03-17 18:26 Sam James
2023-03-17 17:22 Sam James
2023-02-05  9:13 Joonas Niilola
2023-01-25  4:29 John Helmert III
2022-11-28  7:05 Joonas Niilola
2022-01-22  8:41 Yixun Lan
2021-05-09 19:12 Andreas Sturmlechner
2020-06-05  9:43 Andreas Sturmlechner
2020-05-29  7:39 Agostino Sarubbo
2020-05-20 12:25 Andreas Sturmlechner
2020-05-20 12:25 Andreas Sturmlechner
2019-08-15 19:47 Slawek Lis
2019-02-02 21:07 Sergei Trofimovich
2018-12-16 23:53 Andreas Sturmlechner
2018-09-09  8:27 Mikle Kolyada
2018-09-02 23:46 Thomas Deutschmann
2018-07-01  0:03 Andreas Sturmlechner
2018-06-03 13:49 Aaron Bauman
2018-01-15 22:01 Andreas Sturmlechner
2018-01-15 22:01 Andreas Sturmlechner
2018-01-15 22:01 Andreas Sturmlechner
2018-01-15 19:03 Tobias Klausmann
2017-11-27  6:50 Slawek Lis
2017-11-18 13:08 Jeroen Roovers
2017-10-31 18:07 Andreas Hüttel
2017-10-26 18:54 Thomas Deutschmann
2016-11-22  6:37 Slawek Lis
2016-11-22  6:37 Slawek Lis
2016-04-07 20:25 Sergei Trofimovich
2016-01-19  8:34 Patrice Clement
2016-01-19  8:34 Patrice Clement
2016-01-19  8:34 Patrice Clement
2015-09-13 20:27 Anthony G. Basile
2015-09-13 19:24 Slawek Lis
2015-09-08  6:30 Slawek Lis
2015-09-02  5:56 Slawek Lis

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=1516610408.a2e67413ffef6eafd1e28ec3ecfaedd12ceb6dc5.jer@gentoo \
    --to=jer@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