From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/
Date: Wed, 26 May 2021 13:37:10 +0000 (UTC) [thread overview]
Message-ID: <1622035094.a09de087cf448a542b161ef779469185199f99a5.cybertailor@gentoo> (raw)
commit: a09de087cf448a542b161ef779469185199f99a5
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed May 26 13:15:52 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed May 26 13:18:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a09de087
dev-games/surgescript: add 0.5.5 and use flags
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-games/surgescript/Manifest | 2 +-
...ipt-0.5.4.3.ebuild => surgescript-0.5.5.ebuild} | 25 ++++++++++++-------
dev-games/surgescript/surgescript-9999.ebuild | 28 ++++++++++++++++------
3 files changed, 39 insertions(+), 16 deletions(-)
diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index f83d2f38f..b5ad7109f 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1,2 +1,2 @@
-DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6 SHA512 0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3
DIST surgescript-0.5.4.4.tar.gz 501298 BLAKE2B b86545dfaea83e7a8387060c90495c51fd150149c7922b741a666a853d83bc4daa1f80d7ef8f2d2563b81f460f207d759d154cf20ae555cdbfe418f9d23c29ef SHA512 76d7d913353803372b7eec7226385f048f249a71e0a06fbdb255fddf411a0d4bf82773511a3db9c132e483d0dbca575dbfd35c5afae98287608fa2405bcc8200
+DIST surgescript-0.5.5.tar.gz 504167 BLAKE2B 7537a7e29e2e5ab02c8c503b65c17a50d2fbe8ac0d2fac4d662a7da701559be2ab16c9539dcc5d9b8efd3d273d898e322a7e7a38b6ced78d17fc4178a99e07b9 SHA512 b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a
diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild b/dev-games/surgescript/surgescript-0.5.5.ebuild
similarity index 53%
rename from dev-games/surgescript/surgescript-0.5.4.3.ebuild
rename to dev-games/surgescript/surgescript-0.5.5.ebuild
index d7a9c5bc1..297698c7f 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -5,10 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
- dev-python/mkdocs
- dev-python/mkdocs-material
-"
+DOCS_DEPEND="dev-python/mkdocs-material"
inherit cmake python-any-r1 docs
@@ -17,15 +14,25 @@ HOMEPAGE="https://alemart.github.io/surgescript"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
- EGIT_REPO_URI="https://github.com/alemart/surgescript.git"
+ EGIT_REPO_URI="https://github.com/alemart/${PN}.git"
SLOT="0"
else
- SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
- SLOT="0/${PV}"
+ SLOT="0/$(ver_cut 1-3)"
fi
LICENSE="Apache-2.0"
+IUSE="examples static-libs"
+
+DOCS=( CHANGES.md README.md )
+
+src_configure() {
+ local mycmakeoptions=(
+ -DWANT_STATIC=$(usex static-libs)
+ )
+ cmake_src_configure
+}
src_compile() {
cmake_src_compile
@@ -34,5 +41,7 @@ src_compile() {
src_install() {
cmake_src_install
- mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to libdir"
+
+ docompress -x /usr/share/doc/${PF}/examples
+ use examples && dodoc -r examples
}
diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild
index 6016491e0..297698c7f 100644
--- a/dev-games/surgescript/surgescript-9999.ebuild
+++ b/dev-games/surgescript/surgescript-9999.ebuild
@@ -5,10 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
- dev-python/mkdocs
- dev-python/mkdocs-material
-"
+DOCS_DEPEND="dev-python/mkdocs-material"
inherit cmake python-any-r1 docs
@@ -17,17 +14,34 @@ HOMEPAGE="https://alemart.github.io/surgescript"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
- EGIT_REPO_URI="https://github.com/alemart/surgescript.git"
+ EGIT_REPO_URI="https://github.com/alemart/${PN}.git"
SLOT="0"
else
- SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
- SLOT="0/${PV}"
+ SLOT="0/$(ver_cut 1-3)"
fi
LICENSE="Apache-2.0"
+IUSE="examples static-libs"
+
+DOCS=( CHANGES.md README.md )
+
+src_configure() {
+ local mycmakeoptions=(
+ -DWANT_STATIC=$(usex static-libs)
+ )
+ cmake_src_configure
+}
src_compile() {
cmake_src_compile
docs_compile
}
+
+src_install() {
+ cmake_src_install
+
+ docompress -x /usr/share/doc/${PF}/examples
+ use examples && dodoc -r examples
+}
next reply other threads:[~2021-05-26 13:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 13:37 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-15 16:06 [gentoo-commits] repo/proj/guru:master commit in: dev-games/surgescript/ Julien Roy
2024-05-15 15:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-21 1:23 Haelwenn Monnier
2022-08-13 3:10 Haelwenn Monnier
2022-08-13 3:10 Haelwenn Monnier
2022-08-13 3:10 Haelwenn Monnier
2020-12-21 10:40 Theo Anderson
2020-12-06 10:49 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-06 10:46 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-11 8:05 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-11 7:59 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-11 0:06 Haelwenn Monnier
2020-04-11 0:06 Haelwenn Monnier
2020-04-11 0:06 Haelwenn Monnier
2020-04-04 21:23 Haelwenn Monnier
2020-03-09 17:55 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-09 17:48 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2019-10-08 22:54 Haelwenn Monnier
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=1622035094.a09de087cf448a542b161ef779469185199f99a5.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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