From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/xmms2/
Date: Tue, 29 Nov 2022 21:19:35 +0000 (UTC) [thread overview]
Message-ID: <1669756745.38b59bef6f76edc37a0e4d0f301841ecd855e994.ionen@gentoo> (raw)
commit: 38b59bef6f76edc37a0e4d0f301841ecd855e994
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 17:31:17 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 21:19:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b59bef
media-sound/xmms2: switch to waf-utils.eclass + adjustments
Was unused when picked up this package and left it like that,
but might as well use it to be consistent with the recent eclass
changes (albeit calling waf-utils_src_compile in src_test feels
a bit dodgy to avoid calling it directly).
Doing straight to stable, this is scarcely used and not too worried.
Also adjust deps a bit and filter-lto.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
...xmms2-0.9.1-r1.ebuild => xmms2-0.9.1-r2.ebuild} | 42 +++++++++-------------
1 file changed, 17 insertions(+), 25 deletions(-)
diff --git a/media-sound/xmms2/xmms2-0.9.1-r1.ebuild b/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
similarity index 86%
rename from media-sound/xmms2/xmms2-0.9.1-r1.ebuild
rename to media-sound/xmms2/xmms2-0.9.1-r2.ebuild
index cf96eb8a448c..53a3edec371e 100644
--- a/media-sound/xmms2/xmms2-0.9.1-r1.ebuild
+++ b/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
@@ -4,7 +4,8 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit multiprocessing optfeature perl-functions python-single-r1 toolchain-funcs
+PYTHON_REQ_USE="threads(+)"
+inherit flag-o-matic optfeature perl-functions python-single-r1 waf-utils
DESCRIPTION="X(cross)platform Music Multiplexing System, next generation of the XMMS player"
HOMEPAGE="https://github.com/XMMS2"
@@ -77,11 +78,7 @@ COMMON_DEPEND="
media-libs/libofa
sci-libs/fftw:3.0=
)
- opus? (
- media-libs/libogg
- media-libs/opus
- media-libs/opusfile
- )
+ opus? ( media-libs/opusfile )
pulseaudio? ( media-libs/libpulse )
samba? ( net-fs/samba )
sid? ( media-libs/libsidplay:2 )
@@ -142,11 +139,10 @@ src_prepare() {
}
src_configure() {
- local waf=(
- ./waf configure
- --prefix="${EPREFIX}"/usr
- --libdir="${EPREFIX}"/usr/$(get_libdir)
- --boost-includes="${ESYSROOT}"/usr/include # needed for prefix
+ filter-lto # `xmms2 add somefile` breaks with lto + fortify=2
+
+ local wafargs=(
+ --boost-includes="${ESYSROOT}"/usr/include
--with-target-platform="${CHOST}"
)
@@ -168,14 +164,14 @@ src_configure() {
plugins+=$(xmms2_flag ${flag})
done
else
- waf+=( --without-xmms2d )
+ wafargs+=( --without-xmms2d )
fi
for flag in "${XMMS2_OPTIONALS[@]}"; do
optionals+=$(xmms2_flag ${flag})
done
- waf+=(
+ wafargs+=(
# pass even if empty to avoid automagic
--with-optionals=${optionals:1}
--with-plugins=${plugins:1}
@@ -183,40 +179,36 @@ src_configure() {
if use perl; then
perl_set_version
- waf+=( --with-perl-archdir="${ARCH_LIB}" )
+ wafargs+=( --with-perl-archdir="${ARCH_LIB}" )
fi
if use valgrind; then
if valgrind true &>/dev/null; then
- waf+=( --with-valgrind )
+ wafargs+=( --with-valgrind )
else
ewarn "valgrind was disabled due to failing a basic sanity check" #807271
fi
fi
- tc-export AR CC CXX
-
- echo "${waf[*]}"
- "${waf[@]}" || die
+ waf-utils_src_configure "${wafargs[@]}"
}
src_compile() {
- ./waf build -j$(makeopts_jobs) --verbose --notests || die
+ waf-utils_src_compile --notests
}
src_test() {
- ./waf --alltests || die
+ waf-utils_src_compile --alltests
}
src_install() {
- ./waf install --destdir="${D}" --without-ldconfig --notests || die
-
- dodoc AUTHORS README.mdown *.ChangeLog
+ local DOCS=( AUTHORS README.mdown *.ChangeLog )
+ waf-utils_src_install --without-ldconfig --notests
use python && python_optimize
# to avoid editing waftools/man.py (use find given not always installed)
- find "${ED}" -name '*.gz' -exec gzip -d {} + || die
+ find "${ED}" -type f -name '*.gz' -exec gzip -d {} + || die
}
pkg_postinst() {
next reply other threads:[~2022-11-29 21:19 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-29 21:19 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-04 16:15 [gentoo-commits] repo/gentoo:master commit in: media-sound/xmms2/ Ionen Wolkens
2024-10-27 21:06 Sam James
2024-10-27 21:06 Sam James
2024-10-27 18:12 Arthur Zamarin
2024-10-07 23:42 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2023-10-15 0:49 Ionen Wolkens
2023-10-04 22:56 Ionen Wolkens
2023-10-04 22:44 Ionen Wolkens
2023-07-23 23:18 Ionen Wolkens
2023-06-02 6:54 Ionen Wolkens
2023-05-12 19:00 Ionen Wolkens
2023-04-20 10:37 WANG Xuerui
2023-04-19 15:14 Ionen Wolkens
2023-03-06 13:06 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-02-11 20:47 Ionen Wolkens
2022-11-29 21:32 Ionen Wolkens
2022-11-29 21:19 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-10 8:41 Sam James
2022-06-02 15:07 Ionen Wolkens
2022-05-30 6:57 Agostino Sarubbo
2022-05-29 7:22 Jakov Smolić
2022-05-29 7:22 Jakov Smolić
2022-04-18 14:38 Ionen Wolkens
2022-04-15 6:19 Arthur Zamarin
2022-04-14 19:36 Jakov Smolić
2022-04-14 19:36 Jakov Smolić
2022-03-16 3:42 Ionen Wolkens
2021-10-16 19:38 Andreas K. Hüttel
2021-09-21 16:35 Sam James
2021-09-19 22:12 Sam James
2021-09-19 21:35 Agostino Sarubbo
2021-09-19 4:59 Ionen Wolkens
2021-08-19 23:29 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-05 23:03 Ionen Wolkens
2021-08-04 9:01 Sergei Trofimovich
2021-07-09 17:33 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-15 13:58 Sergei Trofimovich
2020-11-10 23:49 Sergei Trofimovich
2020-10-15 23:05 Sergei Trofimovich
2020-07-22 9:02 Hans de Graaff
2020-05-29 22:13 Sergei Trofimovich
2020-05-12 6:39 Agostino Sarubbo
2020-05-11 11:28 Agostino Sarubbo
2020-05-09 22:37 Sergei Trofimovich
2020-04-26 10:35 David Seifert
2020-03-26 9:39 James Le Cuirot
2020-03-22 10:56 Agostino Sarubbo
2020-03-22 10:54 Agostino Sarubbo
2020-03-22 10:53 Agostino Sarubbo
2020-03-14 17:30 Sergei Trofimovich
2020-03-14 17:30 Sergei Trofimovich
2020-03-14 17:30 Sergei Trofimovich
2020-02-10 12:12 Michał Górny
2019-11-09 21:20 Sergei Trofimovich
2019-11-09 21:20 Sergei Trofimovich
2019-04-08 17:43 Hans de Graaff
2018-09-13 19:23 Tobias Klausmann
2018-09-07 23:46 Sergei Trofimovich
2018-08-18 3:52 Mikle Kolyada
2018-08-16 0:39 Thomas Deutschmann
2018-07-01 21:27 Sergei Trofimovich
2018-06-25 19:24 Hans de Graaff
2018-04-14 7:26 Hans de Graaff
2018-02-15 22:01 Sergei Trofimovich
2018-02-05 9:41 Sergei Trofimovich
2018-02-04 21:31 Sergei Trofimovich
2017-11-26 23:11 David Seifert
2017-11-12 10:00 Sergei Trofimovich
2017-09-20 21:49 James Le Cuirot
2017-07-29 21:26 Sergei Trofimovich
2017-07-16 11:08 Tobias Klausmann
2017-07-15 17:25 Tobias Klausmann
2017-07-04 21:56 Sergei Trofimovich
2017-06-21 21:24 James Le Cuirot
2016-12-20 15:51 Tobias Klausmann
2016-12-19 14:21 Lars Wendler
2016-11-11 10:22 Sergei Trofimovich
2016-10-02 12:37 Pacho Ramos
2016-09-26 15:22 Tobias Klausmann
2016-06-14 14:24 Sergei Trofimovich
2016-05-21 8:00 Sergei Trofimovich
2016-04-02 9:06 Sergei Trofimovich
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=1669756745.38b59bef6f76edc37a0e4d0f301841ecd855e994.ionen@gentoo \
--to=ionen@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