Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/xwax/
Date: Sun, 28 Apr 2019 22:41:46
Message-Id: 1556491276.a85f35e0f411a99ce9e8d20b6c1defa608b1a3a6.pacho@gentoo
1 commit: a85f35e0f411a99ce9e8d20b6c1defa608b1a3a6
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 28 22:41:16 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 28 22:41:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85f35e0
7
8 media-sound/xwax: Drop old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 media-sound/xwax/Manifest | 1 -
14 media-sound/xwax/xwax-1.5.ebuild | 80 ----------------------------------------
15 2 files changed, 81 deletions(-)
16
17 diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest
18 index 8ce19f3727f..6609619d22d 100644
19 --- a/media-sound/xwax/Manifest
20 +++ b/media-sound/xwax/Manifest
21 @@ -1,2 +1 @@
22 -DIST xwax-1.5.tar.gz 77582 BLAKE2B 5d02dbf1b4ee30f333b6df2ca63b657683aa15d5790fc474f54a6571314f5e506b4403e983889fc8afcca77489b3b15285907d61e33f080123d94ac4c20bd5ed SHA512 b5fb66c35dd5174277417b8973bab63232bdf471fe190ab3df1c37e386a9cdc9e2b5cbdc4f5715bf69d146846c13ce2acd5db6a0881412dabdcd234d6d199b61
23 DIST xwax-1.6.tar.gz 79452 BLAKE2B 3cefded6fd39435d92ca07458048910e5e95169562c9dec17cd1411c992ca864124f3155b1a8a9313c86cfee01fe79d72a5c5bed9963b1740a1d4e89e9e249e9 SHA512 710a53a1b056bf6850a668a1f267b91664d5629998e6ee2d4853aa57d1ab351dd782716272ed4a4858168c0ac9f5c7d2e1fe0a8b330e26775677e1eb54249015
24
25 diff --git a/media-sound/xwax/xwax-1.5.ebuild b/media-sound/xwax/xwax-1.5.ebuild
26 deleted file mode 100644
27 index 677a355aceb..00000000000
28 --- a/media-sound/xwax/xwax-1.5.ebuild
29 +++ /dev/null
30 @@ -1,80 +0,0 @@
31 -# Copyright 1999-2014 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -inherit toolchain-funcs user
36 -
37 -DESCRIPTION="Digital vinyl emulation software"
38 -HOMEPAGE="http://xwax.org/"
39 -SRC_URI="http://xwax.org/releases/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="amd64 ppc ppc64 x86"
44 -IUSE="alsa jack oss cdda mp3 +fallback"
45 -REQUIRED_USE="|| ( cdda mp3 fallback )
46 - || ( alsa jack oss )"
47 -
48 -RDEPEND="sys-libs/glibc
49 - sys-libs/pam
50 - media-libs/libsdl
51 - media-libs/sdl-ttf
52 - media-fonts/dejavu
53 - alsa? ( media-libs/alsa-lib )
54 - jack? ( media-sound/jack-audio-connection-kit )
55 - cdda? ( media-sound/cdparanoia )
56 - mp3? ( media-sound/mpg123 )
57 - fallback? ( virtual/ffmpeg )"
58 -DEPEND="${RDEPEND}"
59 -
60 -DOCS="README CHANGES"
61 -
62 -src_prepare() {
63 - # Remove the forced optimization from 'CFLAGS' and 'LDFLAGS' in
64 - # the Makefile
65 - # Also remove the dependency on the .version target so we don't need
66 - # git just to build
67 - sed -i -e 's/\(^\(LD\|C\)FLAGS.*\)-O[0-9]\(.*\)/\1\3/g' \
68 - -e 's/^xwax\.o:.*\.version//' \
69 - Makefile || die "sed failed"
70 -}
71 -
72 -src_configure() {
73 - tc-export CC
74 - econf \
75 - --prefix "${EROOT}usr" \
76 - $(use_enable alsa) \
77 - $(use_enable jack) \
78 - $(use_enable oss)
79 -}
80 -
81 -src_compile() {
82 - # EXECDIR is the default directory in which xwax will look for
83 - # the 'xwax-import' and 'xwax-scan' scripts
84 - emake EXECDIR="\$(BINDIR)" VERSION="${PV}" xwax
85 -}
86 -
87 -pkg_preinst() {
88 - enewgroup ${PN}
89 -}
90 -
91 -src_install() {
92 - # This is easier than setting all the environment variables
93 - # needed, running the sed script required to get the man directory
94 - # correct, and removing the GPL-2 after a 'make install' run
95 - dobin xwax || die "failed to install xwax"
96 - newbin scan xwax-scan || die "failed to install xwax-scan"
97 - newbin import xwax-import || die "failed to install xwax-import"
98 - doman xwax.1 || die "failed to install man page"
99 -
100 - dodoc ${DOCS} || die "failed to install docs"
101 -
102 - insinto "/etc/security/limits.d"
103 - newins "${FILESDIR}/xwax-etc-security-limits.conf" xwax.conf
104 -}
105 -
106 -pkg_postinst() {
107 - elog "Be sure to add any users that will be using ${PN} to the"
108 - elog "\"${PN}\" group. Doing so will allow processes that user"
109 - elog "runs to request realtime priority."
110 -}