From deba8115d2c2af26df42966b91ef04ff4dd79cde Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 May 2020 11:09:11 +0100 Subject: gentoo resync : 14.05.2020 --- media-sound/xwax/Manifest | 2 +- media-sound/xwax/xwax-1.6-r1.ebuild | 85 +++++++++++++++++++++++++++++++++++++ media-sound/xwax/xwax-1.6.ebuild | 85 ------------------------------------- 3 files changed, 86 insertions(+), 86 deletions(-) create mode 100644 media-sound/xwax/xwax-1.6-r1.ebuild delete mode 100644 media-sound/xwax/xwax-1.6.ebuild (limited to 'media-sound/xwax') diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest index 21a3ace3644c..1a093fe03dc3 100644 --- a/media-sound/xwax/Manifest +++ b/media-sound/xwax/Manifest @@ -1,4 +1,4 @@ AUX xwax-etc-security-limits.conf 18 BLAKE2B 7056521164d62b76e2cba2b7a128a160364ac191af87185e99d5ecaa951c125938b66d4f1928d3b13794e5f1be4446b0b8ee8eed1e2a0c92e25edc0582b38264 SHA512 fab914f078597e9c4ba4ffa289f559106d62354d5f97c0847855c08cd8a9a1bdfd9db3f74d9b3868e6150d39fadc4c2c8d51b4815bb6b19ccdbee1fb6ddf72e2 DIST xwax-1.6.tar.gz 79452 BLAKE2B 3cefded6fd39435d92ca07458048910e5e95169562c9dec17cd1411c992ca864124f3155b1a8a9313c86cfee01fe79d72a5c5bed9963b1740a1d4e89e9e249e9 SHA512 710a53a1b056bf6850a668a1f267b91664d5629998e6ee2d4853aa57d1ab351dd782716272ed4a4858168c0ac9f5c7d2e1fe0a8b330e26775677e1eb54249015 -EBUILD xwax-1.6.ebuild 2013 BLAKE2B 35fcc442e492915c638bcafdb8aa37aa36eb8ad8ccb0e041ced1d29ca1b9b1f5c91754964bbd3cff11ae1ee94fa99eca75de4a6bbc6068df12df256fbcd7ff28 SHA512 4f66c73398a5d969d762aee2875454071383263e2d68c9cc8425e493acc495df805d3b76695432ef2bb1eedb7e7eaff09f85526ee9de73cbab92a2fbac5be06d +EBUILD xwax-1.6-r1.ebuild 2017 BLAKE2B a1f9f5f24da4ea048258726735124962e479fe049e33156657a9a29674d7416e1ad495f3b211522a5c6032d14a2b9519c2a74654f88fb23bc00e4544e539d49a SHA512 dfdb53177359f6f5a02c5a6ee1f776ce6f7cdcbc8f2bafb60cc552fcccefc3c7c6083af0982ab19113b4981c2995c29763847ece04490d68c3f6dc0c366b75ac MISC metadata.xml 803 BLAKE2B fe59d8229f2f7189451f99e0f4da36fbc0f2b39f04d152f927b7f6822fdb9160c570daa82c6d7d8e85dd0c9bac44e50f759334e9c5a547b224f52ea0cdb2bb84 SHA512 9d15deede88ee114e0ade78665996cfaf09443f8629b08415ae0bd1c486ff6a239567056aacde2d49883066d4d8dc3690a397d170effbfe5e4aa5cf7d24cbca8 diff --git a/media-sound/xwax/xwax-1.6-r1.ebuild b/media-sound/xwax/xwax-1.6-r1.ebuild new file mode 100644 index 000000000000..174693166a4c --- /dev/null +++ b/media-sound/xwax/xwax-1.6-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs user + +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? ( media-sound/jack-audio-connection-kit ) + mp3? ( media-sound/mpg123 ) +" +RDEPEND="${DEPEND}" + +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 "${EROOT}/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 +} + +pkg_preinst() { + enewgroup ${PN} +} + +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." +} diff --git a/media-sound/xwax/xwax-1.6.ebuild b/media-sound/xwax/xwax-1.6.ebuild deleted file mode 100644 index fe9164967149..000000000000 --- a/media-sound/xwax/xwax-1.6.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs user - -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? ( virtual/ffmpeg ) - jack? ( media-sound/jack-audio-connection-kit ) - mp3? ( media-sound/mpg123 ) -" -RDEPEND="${DEPEND}" - -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 "${EROOT}/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 -} - -pkg_preinst() { - enewgroup ${PN} -} - -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." -} -- cgit v1.2.3