summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/Manifest.gzbin56896 -> 56901 bytes
-rw-r--r--media-sound/xwax/Manifest4
-rw-r--r--media-sound/xwax/xwax-1.8.ebuild4
-rw-r--r--media-sound/xwax/xwax-1.9.ebuild87
4 files changed, 92 insertions, 3 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz
index f4539eaf1fff..2f33dcce86fa 100644
--- a/media-sound/Manifest.gz
+++ b/media-sound/Manifest.gz
Binary files differ
diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
index d113af4ac7d5..a36d78b77dfb 100644
--- a/media-sound/xwax/Manifest
+++ b/media-sound/xwax/Manifest
@@ -1,4 +1,6 @@
AUX xwax-etc-security-limits.conf 18 BLAKE2B 7056521164d62b76e2cba2b7a128a160364ac191af87185e99d5ecaa951c125938b66d4f1928d3b13794e5f1be4446b0b8ee8eed1e2a0c92e25edc0582b38264 SHA512 fab914f078597e9c4ba4ffa289f559106d62354d5f97c0847855c08cd8a9a1bdfd9db3f74d9b3868e6150d39fadc4c2c8d51b4815bb6b19ccdbee1fb6ddf72e2
DIST xwax-1.8.tar.gz 86268 BLAKE2B 7fbde34e6c1a3508da6ea8230cec7d2663503882182e403bf9bbf2b7327248c1b2e38a21392615a359d30d4a65f558e55346f99bf8f89621a18bcf9e8cf09139 SHA512 db37a16ecc5437f9b085c17e5e645e04b76a18aa7f7d8e8448a2994435596394ea7f2b52a6734194be7cf0b7099995f0f8735c2c547f3f57525339c4dc671d9d
-EBUILD xwax-1.8.ebuild 1977 BLAKE2B 1d54913f2c3e018371d8a4b2b5c9a19d5e9fd044e256b4fb8273666f66200ed6796c431a831c856b3aeb548c3b7e8b26a1118b77218f5c644eb487c2227af319 SHA512 c6c989d648d059aa011a031842c7d3a007b2d139a83165c5f82df7c960fe00c33a1e48bfad32bce549c4ff4c63e6f7853e79e1772696fdae91a219b679709dd9
+DIST xwax-1.9.tar.gz 87599 BLAKE2B 69a759b927ffce5501772ec4936436193a03976d529a212152bb5975f9519ab00ed7a245176048c6a0f6c101a4ee167acd694e54b548346f5a5588160048cbb2 SHA512 8bfd97097dc6425448d9a05516f93dbae6060c2d908d89be25d93396fcbe9c5047c9c43bc0d901a05881886d9994c31afa04a0cf95b47a942be2d97a23b284c6
+EBUILD xwax-1.8.ebuild 1978 BLAKE2B a906403597eabb16d5290317ee8e1ca24401d5756e4cd2b85c2bb77a7b03ac369f0af44c3558aab5642f3cb475b141a2a208e4cd07b7a05dfdf9b795caddc59b SHA512 0ab11b0f9c741cc683740790b62080e8157855c00bdff6e9dd9274731780aa313ebfcca7701eed39142d40d873ca8940d069535897d5b14fa91b1a64bc0acce4
+EBUILD xwax-1.9.ebuild 1982 BLAKE2B ef475babdf77d5a6fe93917677188b311fc29a739655bedd782f9e1b6706799c5f931c22e53204f51566d73d8eb152218c68664467d7eb360a19022b372d5667 SHA512 6d51434efd37cf10900d2c09fff77e040dc5cdeb96b4d0b8c478a445a113dcfdc388cf5a5cca9e60e5d6a07171de7d07e1baa5b74b4b080782692efaf87444ba
MISC metadata.xml 706 BLAKE2B 43e84daeedcc941ec85d093b2cbd437adfe54f76ffa382e65848f8ffc0b2aeafeabf23fc5d7b9ca0a9341a0c6e08f9d71d41e1126ccf0c5bdee96727e200b013 SHA512 19e6898741b91ff55ac37fcb9094e9c685e13efaee7ed2c4ef22a882162c83f6d04c25a13ca71c810b82228b6daad56a971fb124da9d6395002ab244c30ac7d1
diff --git a/media-sound/xwax/xwax-1.8.ebuild b/media-sound/xwax/xwax-1.8.ebuild
index ecde10ea92a6..a623a6b481f0 100644
--- a/media-sound/xwax/xwax-1.8.ebuild
+++ b/media-sound/xwax/xwax-1.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ 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"
+IUSE="+alsa cdda +fallback jack mp3 oss"
REQUIRED_USE="
|| ( cdda mp3 fallback )
diff --git a/media-sound/xwax/xwax-1.9.ebuild b/media-sound/xwax/xwax-1.9.ebuild
new file mode 100644
index 000000000000..af165c779b8a
--- /dev/null
+++ b/media-sound/xwax/xwax-1.9.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 cdda +fallback jack mp3 oss"
+
+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."
+}