diff options
author | 2024-08-06 15:02:46 +0200 | |
---|---|---|
committer | 2024-08-06 15:04:19 +0200 | |
commit | 5866f0ae1aa2f6651d57d84facceebfc94acc924 (patch) | |
tree | 7c9461b77bac29d5e396ccb9f8ee98d6ea0ae561 /dev-cpp | |
parent | dev-cpp/finalcut: add missing build-time dep (diff) | |
download | guru-5866f0ae1aa2f6651d57d84facceebfc94acc924.tar.gz guru-5866f0ae1aa2f6651d57d84facceebfc94acc924.tar.bz2 guru-5866f0ae1aa2f6651d57d84facceebfc94acc924.zip |
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@protonmail.com>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/finalcut/finalcut-0.9.1-r1.ebuild (renamed from dev-cpp/finalcut/finalcut-0.9.1.ebuild) | 18 | ||||
-rw-r--r-- | 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 index ac8b77e71b..9ad7ecdd3f 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 f7f4adbc5f..9ad7ecdd3f 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" |