public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/librecad/
Date: Wed, 20 May 2020 12:25:10 +0000 (UTC)	[thread overview]
Message-ID: <1589977491.953c12e77b526a4ae94ad14228d1a9e0b883e9cd.asturm@gentoo> (raw)

commit:     953c12e77b526a4ae94ad14228d1a9e0b883e9cd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 20 12:06:32 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 20 12:24:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953c12e7

media-gfx/librecad: Fix live ebuild by adding a release switch

Reported-by: Jérôme Borme <jerome.borme <AT> laposte.net>
Closes: https://bugs.gentoo.org/705804
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/librecad/librecad-9999.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index f24977427ab..04902b991e9 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -3,11 +3,18 @@
 
 EAPI=7
 
-inherit desktop git-r3 qmake-utils
+inherit desktop qmake-utils
 
 DESCRIPTION="Generic 2D CAD program"
 HOMEPAGE="https://www.librecad.org/"
-EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/LibreCAD-${PV}"
+fi
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -32,8 +39,6 @@ DEPEND="${RDEPEND}
 	dev-qt/qtxml:5
 "
 
-S="${WORKDIR}/LibreCAD-${PV}"
-
 src_configure() {
 	eqmake5 -r
 }


             reply	other threads:[~2020-05-20 12:25 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 12:25 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-24 19:31 [gentoo-commits] repo/gentoo:master commit in: media-gfx/librecad/ 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
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-22  8:40 Jeroen Roovers
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=1589977491.953c12e77b526a4ae94ad14228d1a9e0b883e9cd.asturm@gentoo \
    --to=asturm@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