From: "Mattéo Rossillol‑‑Laruelle" <beatussum@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/finalcut/
Date: Tue, 6 Aug 2024 13:06:00 +0000 (UTC) [thread overview]
Message-ID: <1722949459.5866f0ae1aa2f6651d57d84facceebfc94acc924.beatussum@gentoo> (raw)
commit: 5866f0ae1aa2f6651d57d84facceebfc94acc924
Author: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Tue Aug 6 13:02:46 2024 +0000
Commit: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
CommitDate: Tue Aug 6 13:04:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5866f0ae
dev-cpp/finalcut: revbump
This revision removes the `static-libs` USE flag.
See-also: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
...inalcut-0.9.1.ebuild => finalcut-0.9.1-r1.ebuild} | 18 +++++++++++++++---
dev-cpp/finalcut/finalcut-9999.ebuild | 20 ++++++++++++++++----
2 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/dev-cpp/finalcut/finalcut-0.9.1.ebuild b/dev-cpp/finalcut/finalcut-0.9.1-r1.ebuild
similarity index 89%
rename from dev-cpp/finalcut/finalcut-0.9.1.ebuild
rename to dev-cpp/finalcut/finalcut-0.9.1-r1.ebuild
index ac8b77e71..9ad7ecdd3 100644
--- a/dev-cpp/finalcut/finalcut-0.9.1.ebuild
+++ b/dev-cpp/finalcut/finalcut-0.9.1-r1.ebuild
@@ -18,7 +18,7 @@ fi
LICENSE="LGPL-3+"
SLOT="0/${PV}"
-IUSE="doc examples +gpm static-libs test"
+IUSE="doc examples +gpm test"
REQUIRED_USE="test? ( !examples )"
RESTRICT="!test? ( test )"
@@ -36,11 +36,21 @@ BDEPEND="
RDEPEND="${DEPEND}"
+DOCS=(
+ AUTHORS
+ ChangeLog
+ CODE_OF_CONDUCT.md
+ Contributing.md
+ SECURITY.md
+)
+
src_prepare() {
default
[[ "${PV}" = 9999 ]] || eapply "${FILESDIR}/${P}-fix-tests.ebuild"
+ sed -i "/doc_DATA/d" Makefile.am || die
+
sed -i "/AM_CPPFLAGS/ s/-Werror//" {examples,final,test}/Makefile.am \
|| die 'Failed to remove `-Werror` from `CPPFLAGS`'
@@ -58,14 +68,16 @@ src_configure() {
use test && append-cxxflags -O0 -DDEBUG -DUNIT_TEST
econf \
- $(use_enable static-libs static) \
$(use_with gpm) \
$(use_with test unit-test)
}
src_install() {
+ einstalldocs
+
emake DESTDIR="${ED}" PACKAGE="${PF}" install
- dodoc CODE_OF_CONDUCT.md Contributing.md SECURITY.md
+
+ use doc || dodoc doc/first-steps*
if use examples; then
local examples="/usr/share/doc/${PF}/examples"
diff --git a/dev-cpp/finalcut/finalcut-9999.ebuild b/dev-cpp/finalcut/finalcut-9999.ebuild
index f7f4adbc5..9ad7ecdd3 100644
--- a/dev-cpp/finalcut/finalcut-9999.ebuild
+++ b/dev-cpp/finalcut/finalcut-9999.ebuild
@@ -17,8 +17,8 @@ else
fi
LICENSE="LGPL-3+"
-SLOT="0/0.9.0"
-IUSE="doc examples +gpm static-libs test"
+SLOT="0/${PV}"
+IUSE="doc examples +gpm test"
REQUIRED_USE="test? ( !examples )"
RESTRICT="!test? ( test )"
@@ -36,11 +36,21 @@ BDEPEND="
RDEPEND="${DEPEND}"
+DOCS=(
+ AUTHORS
+ ChangeLog
+ CODE_OF_CONDUCT.md
+ Contributing.md
+ SECURITY.md
+)
+
src_prepare() {
default
[[ "${PV}" = 9999 ]] || eapply "${FILESDIR}/${P}-fix-tests.ebuild"
+ sed -i "/doc_DATA/d" Makefile.am || die
+
sed -i "/AM_CPPFLAGS/ s/-Werror//" {examples,final,test}/Makefile.am \
|| die 'Failed to remove `-Werror` from `CPPFLAGS`'
@@ -58,14 +68,16 @@ src_configure() {
use test && append-cxxflags -O0 -DDEBUG -DUNIT_TEST
econf \
- $(use_enable static-libs static) \
$(use_with gpm) \
$(use_with test unit-test)
}
src_install() {
+ einstalldocs
+
emake DESTDIR="${ED}" PACKAGE="${PF}" install
- dodoc CODE_OF_CONDUCT.md Contributing.md SECURITY.md
+
+ use doc || dodoc doc/first-steps*
if use examples; then
local examples="/usr/share/doc/${PF}/examples"
next reply other threads:[~2024-08-06 13:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 13:06 Mattéo Rossillol‑‑Laruelle [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 13:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/finalcut/ Mattéo Rossillol‑‑Laruelle
2024-08-06 12:44 Lucio Sauer
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=1722949459.5866f0ae1aa2f6651d57d84facceebfc94acc924.beatussum@gentoo \
--to=beatussum@protonmail.com \
--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