From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/moolticute/
Date: Mon, 4 Dec 2017 00:17:04 +0000 (UTC) [thread overview]
Message-ID: <1512346507.c04941c80ba5444bd75d49f1bd5c625fb80b34fd.asturm@gentoo> (raw)
commit: c04941c80ba5444bd75d49f1bd5c625fb80b34fd
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
AuthorDate: Wed Sep 27 22:58:27 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 4 00:15:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c04941c8
app-crypt/moolticute: fill version.h with package version
Closes: https://github.com/gentoo/gentoo/pull/6021
app-crypt/moolticute/moolticute-9999.ebuild | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/app-crypt/moolticute/moolticute-9999.ebuild b/app-crypt/moolticute/moolticute-9999.ebuild
index 8609d2fec94..789f753ee72 100644
--- a/app-crypt/moolticute/moolticute-9999.ebuild
+++ b/app-crypt/moolticute/moolticute-9999.ebuild
@@ -34,6 +34,15 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/${P/_/-}"
+src_prepare() {
+ default
+
+ # Fill version.h with package version
+ if [[ ${PV} != 9999* ]]; then
+ sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die
+ fi
+}
+
src_configure() {
eqmake5 PREFIX="/usr" Moolticute.pro
}
next reply other threads:[~2017-12-04 0:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 0:17 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 1:41 [gentoo-commits] repo/gentoo:master commit in: app-crypt/moolticute/ Mike Gilbert
2023-05-02 13:19 Joonas Niilola
2023-02-22 18:38 Viorel Munteanu
2020-06-10 15:55 Craig Andrews
2020-06-10 15:55 Craig Andrews
2020-04-17 7:36 Joonas Niilola
2020-04-17 7:36 Joonas Niilola
2019-10-29 6:22 Joonas Niilola
2019-10-29 6:22 Joonas Niilola
2019-10-29 6:22 Joonas Niilola
2019-02-03 18:11 Andreas Sturmlechner
2018-12-04 21:20 Michał Górny
2018-12-04 21:20 Michał Górny
2018-06-13 11:00 Michał Górny
2018-06-13 11:00 Michał Górny
2018-04-22 23:11 Andreas Sturmlechner
2018-04-22 23:11 Andreas Sturmlechner
2018-04-22 23:11 Andreas Sturmlechner
2018-04-22 23:11 Andreas Sturmlechner
2018-03-24 13:10 Michał Górny
2018-03-24 13:10 Michał Górny
2018-03-13 17:55 Michał Górny
2018-03-13 17:55 Michał Górny
2018-01-28 23:19 Andreas Sturmlechner
2018-01-28 23:19 Andreas Sturmlechner
2018-01-01 23:36 Patrice Clement
2017-12-04 0:17 Andreas Sturmlechner
2017-12-04 0:17 Andreas Sturmlechner
2017-12-04 0:17 Andreas Sturmlechner
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=1512346507.c04941c80ba5444bd75d49f1bd5c625fb80b34fd.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