From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zimg/
Date: Sat, 10 Dec 2022 15:11:54 +0000 (UTC) [thread overview]
Message-ID: <1670684968.234d9d69d445f663a2e7c7952c3fa7eb9e92ed55.pacho@gentoo> (raw)
commit: 234d9d69d445f663a2e7c7952c3fa7eb9e92ed55
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 15:05:33 2022 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 15:09:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234d9d69
media-libs/zimg: Drop .la files
Closes: https://bugs.gentoo.org/847520
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
.../{zimg-9999.ebuild => zimg-3.0.4-r1.ebuild} | 23 ++++++++++++++++++----
media-libs/zimg/zimg-9999.ebuild | 9 ++++++++-
2 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/media-libs/zimg/zimg-9999.ebuild b/media-libs/zimg/zimg-3.0.4-r1.ebuild
similarity index 57%
copy from media-libs/zimg/zimg-9999.ebuild
copy to media-libs/zimg/zimg-3.0.4-r1.ebuild
index 2c7c54c43cfe..ffef62a46080 100644
--- a/media-libs/zimg/zimg-9999.ebuild
+++ b/media-libs/zimg/zimg-3.0.4-r1.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV} = *9999* ]] ; then
EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
inherit git-r3
else
SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/${PN}-release-${PV}/"
fi
inherit autotools multilib-minimal
@@ -18,7 +18,14 @@ HOMEPAGE="https://github.com/sekrit-twc/zimg"
LICENSE="WTFPL-2"
SLOT="0"
-IUSE="debug static-libs"
+IUSE="debug static-libs test"
+RESTRICT="!test? ( test )"
+DEPEND="test? ( dev-cpp/gtest )"
+
+PATCHES=(
+ "${FILESDIR}/system-gtest.patch"
+ "${FILESDIR}/backport-e29571f-issue-175.patch"
+)
src_prepare() {
default
@@ -28,5 +35,13 @@ src_prepare() {
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable debug) \
- $(use_enable static-libs static)
+ $(use_enable static-libs static) \
+ $(use_enable test unit-test)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ if ! use static-libs; then
+ find "${ED}" -type f -name '*.la' -delete || die
+ fi
}
diff --git a/media-libs/zimg/zimg-9999.ebuild b/media-libs/zimg/zimg-9999.ebuild
index 2c7c54c43cfe..1db3c69e1757 100644
--- a/media-libs/zimg/zimg-9999.ebuild
+++ b/media-libs/zimg/zimg-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV} = *9999* ]] ; then
EGIT_REPO_URI="https://github.com/sekrit-twc/zimg"
@@ -30,3 +30,10 @@ multilib_src_configure() {
$(use_enable debug) \
$(use_enable static-libs static)
}
+
+multilib_src_install_all() {
+ einstalldocs
+ if ! use static-libs; then
+ find "${ED}" -type f -name '*.la' -delete || die
+ fi
+}
next reply other threads:[~2022-12-10 15:11 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-10 15:11 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 12:10 [gentoo-commits] repo/gentoo:master commit in: media-libs/zimg/ Sam James
2024-12-01 23:06 Sam James
2024-12-01 22:52 Sam James
2023-05-07 5:32 Sam James
2022-11-12 16:09 Arthur Zamarin
2022-11-12 16:07 Arthur Zamarin
2022-11-12 16:06 Arthur Zamarin
2022-11-12 16:06 Arthur Zamarin
2022-09-05 3:56 Sam James
2022-09-03 5:27 Sam James
2022-09-03 5:27 Sam James
2022-07-07 14:25 Alexis Ballier
2022-03-09 14:04 Alexis Ballier
2021-08-24 14:33 Marek Szuba
2021-08-11 10:58 Alexis Ballier
2021-08-11 10:58 Alexis Ballier
2021-01-03 19:40 Sam James
2021-01-02 11:52 Sergei Trofimovich
2021-01-01 5:46 Sam James
2020-08-31 9:10 Alexis Ballier
2020-01-05 18:54 Mikle Kolyada
2019-10-26 16:05 Mikle Kolyada
2019-10-26 16:05 Mikle Kolyada
2019-10-20 13:33 David Seifert
2019-07-28 13:53 Mikle Kolyada
2019-07-23 14:13 Aaron Bauman
2019-07-02 8:28 Sergei Trofimovich
2019-07-02 8:24 Sergei Trofimovich
2019-07-02 8:19 Sergei Trofimovich
2019-06-29 7:43 Sergei Trofimovich
2019-06-28 20:49 Sergei Trofimovich
2019-06-28 15:21 Agostino Sarubbo
2019-06-28 12:54 Agostino Sarubbo
2019-06-28 11:37 Agostino Sarubbo
2019-05-23 11:03 Alexis Ballier
2019-05-21 19:32 Andreas Sturmlechner
2019-05-21 19:29 Andreas Sturmlechner
2019-05-21 6:31 Aaron Bauman
2019-01-11 7:42 Sergei Trofimovich
2019-01-09 20:31 Sergei Trofimovich
2018-12-13 21:27 Sergei Trofimovich
2018-07-17 7:20 Alexis Ballier
2018-07-17 7:20 Alexis Ballier
2018-05-08 18:43 Sergei Trofimovich
2018-04-17 19:11 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-02-24 12:37 Alexis Ballier
2017-11-30 13:57 Alexis Ballier
2017-06-16 9:36 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-04-23 13:58 Alexis Ballier
2017-04-23 13:58 Alexis Ballier
2017-04-18 21:49 Michael Weber
2017-04-07 16:05 Agostino Sarubbo
2017-04-05 14:07 Tobias Klausmann
2017-03-16 7:24 Alexis Ballier
2017-03-16 7:24 Alexis Ballier
2017-03-16 7:24 Alexis Ballier
2017-03-02 15:52 Tobias Klausmann
2017-02-23 12:35 Michael Weber
2017-02-22 21:09 Michael Weber
2017-02-22 13:19 Jeroen Roovers
2017-02-17 17:28 Markus Meier
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2017-02-05 12:46 Jeroen Roovers
2017-01-23 9:35 Alexis Ballier
2016-10-15 11:47 Pacho Ramos
2016-10-14 13:10 Alexis Ballier
2016-10-14 13:07 Alexis Ballier
2016-09-20 12:48 Alexis Ballier
2016-07-25 17:09 Chí-Thanh Christopher Nguyễn
2016-01-30 15:56 Alexis Ballier
2016-01-19 11:35 Alexis Ballier
2015-12-09 8:33 Alexis Ballier
2015-10-30 14:21 Alexis Ballier
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=1670684968.234d9d69d445f663a2e7c7952c3fa7eb9e92ed55.pacho@gentoo \
--to=pacho@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