From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/xwax/
Date: Fri, 20 Aug 2021 06:15:11 +0000 (UTC) [thread overview]
Message-ID: <1629440109.97fcbeec4cd9906c593a79deeebd2225fb44ebb4.fordfrog@gentoo> (raw)
commit: 97fcbeec4cd9906c593a79deeebd2225fb44ebb4
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 06:14:55 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 06:15:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97fcbeec
media-sound/xwax: bump to 1.8
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-sound/xwax/Manifest | 1 +
media-sound/xwax/xwax-1.8.ebuild | 87 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
index e68a47af144..951fd0c35a2 100644
--- a/media-sound/xwax/Manifest
+++ b/media-sound/xwax/Manifest
@@ -1 +1,2 @@
DIST xwax-1.7.tar.gz 80745 BLAKE2B b431951651b66899b5bcceadfadc546c564123e47632aa9b395c26d706fc37cda4b5bf4f8695538e1a5e2bb0a690f125ca89705259d11df580f6a833e5d114b6 SHA512 ab0fcaf32f1fd1d6b38323095524f1932a067a3d04d40e4b043993e360411fed0c4b78bb71662581b438cb1e3005bc21659db4521a6ec704994b2e8e1b7e62d4
+DIST xwax-1.8.tar.gz 86268 BLAKE2B 7fbde34e6c1a3508da6ea8230cec7d2663503882182e403bf9bbf2b7327248c1b2e38a21392615a359d30d4a65f558e55346f99bf8f89621a18bcf9e8cf09139 SHA512 db37a16ecc5437f9b085c17e5e645e04b76a18aa7f7d8e8448a2994435596394ea7f2b52a6734194be7cf0b7099995f0f8735c2c547f3f57525339c4dc671d9d
diff --git a/media-sound/xwax/xwax-1.8.ebuild b/media-sound/xwax/xwax-1.8.ebuild
new file mode 100644
index 00000000000..8c74789b19c
--- /dev/null
+++ b/media-sound/xwax/xwax-1.8.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Digital vinyl emulation software"
+HOMEPAGE="https://xwax.org/"
+SRC_URI="https://xwax.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa jack oss cdda mp3 +fallback"
+
+REQUIRED_USE="
+ || ( cdda mp3 fallback )
+ || ( alsa jack oss )
+"
+
+DEPEND="
+ media-fonts/dejavu
+ media-libs/libsdl
+ media-libs/sdl-ttf
+ sys-libs/glibc
+ sys-libs/pam
+ alsa? ( media-libs/alsa-lib )
+ cdda? ( media-sound/cdparanoia )
+ fallback? ( media-video/ffmpeg )
+ jack? ( virtual/jack )
+ mp3? ( media-sound/mpg123 )
+"
+
+RDEPEND="
+ ${DEPEND}
+ acct-group/xwax
+"
+
+DOCS=( README CHANGES )
+
+src_prepare() {
+ default
+ # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
+ # the Makefile
+ # Also remove the dependency on the .version target so we don't need
+ # git just to build
+ sed -i -e 's/\(^\(LD\|C\)FLAGS.*\)-O[0-9]\(.*\)/\1\3/g' \
+ -e 's/^xwax\.o:.*\.version//' \
+ Makefile || die "sed failed"
+}
+
+src_configure() {
+ tc-export CC
+ econf \
+ --prefix "${EPREFIX}/usr" \
+ $(use_enable alsa) \
+ $(use_enable jack) \
+ $(use_enable oss)
+}
+
+src_compile() {
+ # EXECDIR is the default directory in which xwax will look for
+ # the 'xwax-import' and 'xwax-scan' scripts
+ emake EXECDIR="\$(BINDIR)" VERSION="${PV}" xwax
+}
+
+src_install() {
+ # This is easier than setting all the environment variables
+ # needed, running the sed script required to get the man directory
+ # correct, and removing the GPL-2 after a 'make install' run
+ dobin xwax
+ newbin scan xwax-scan
+ newbin import xwax-import
+ doman xwax.1
+
+ dodoc ${DOCS}
+
+ insinto "/etc/security/limits.d"
+ newins "${FILESDIR}/xwax-etc-security-limits.conf" xwax.conf
+}
+
+pkg_postinst() {
+ elog "Be sure to add any users that will be using ${PN} to the"
+ elog "\"${PN}\" group. Doing so will allow processes that user"
+ elog "runs to request realtime priority."
+}
next reply other threads:[~2021-08-20 6:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-20 6:15 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-03 5:35 [gentoo-commits] repo/gentoo:master commit in: media-sound/xwax/ Miroslav Šulc
2023-08-02 7:05 Sam James
2023-06-14 15:05 Sam James
2023-06-14 12:31 Arthur Zamarin
2023-06-14 12:31 Arthur Zamarin
2023-05-15 7:24 Miroslav Šulc
2021-10-20 15:25 Miroslav Šulc
2021-10-20 4:03 Sam James
2021-10-20 4:03 Sam James
2021-09-27 20:21 Sam James
2021-09-25 23:46 Sam James
2021-07-13 20:57 Conrad Kostecki
2021-07-13 20:57 Conrad Kostecki
2020-11-05 8:30 Miroslav Šulc
2020-11-04 12:23 Sam James
2020-11-04 12:23 Sam James
2020-10-18 16:02 Thomas Deutschmann
2020-10-05 22:32 Sam James
2020-08-08 12:30 Miroslav Šulc
2020-04-26 10:35 David Seifert
2019-04-28 22:41 Pacho Ramos
2019-04-28 22:06 Thomas Deutschmann
2019-04-07 23:07 Aaron Bauman
2019-04-07 21:34 Sergei Trofimovich
2019-04-07 21:16 Sergei Trofimovich
2019-03-30 9:59 Andreas Sturmlechner
2016-12-07 2:22 Joe Sapp
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=1629440109.97fcbeec4cd9906c593a79deeebd2225fb44ebb4.fordfrog@gentoo \
--to=fordfrog@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