mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/xwax: Version bump
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST xwax-1.5.tar.gz 77582 SHA256 b67ee78c988e4af2ebce899da98bbb8cadf91792bca1d08ee65a9b5da7b0d4a8 SHA512 b5fb66c35dd5174277417b8973bab63232bdf471fe190ab3df1c37e386a9cdc9e2b5cbdc4f5715bf69d146846c13ce2acd5db6a0881412dabdcd234d6d199b61 WHIRLPOOL 60abdcdfd3cf70b17525e16deeecabe6aaa6838a172e4292655ca5401a15d05952649faaf85f3b616c884222abcb2cbdf105522446f1e1ddc81dcb4bcfe60ec7
|
||||
DIST xwax-1.6.tar.gz 79452 SHA256 fc3392979d243e3950819834f2303e78de5acf8fad4e5d2f77826c3ac35683df SHA512 710a53a1b056bf6850a668a1f267b91664d5629998e6ee2d4853aa57d1ab351dd782716272ed4a4858168c0ac9f5c7d2e1fe0a8b330e26775677e1eb54249015 WHIRLPOOL 621f30d72883ea23d5c86d6668d4c943e8625da4bf0b6541083133ab390b225d4737e3f9aee64d5f6c536061172b5cd580350cb5218d8e0074bfb746cd2d7164
|
||||
|
||||
81
media-sound/xwax/xwax-1.6.ebuild
Normal file
81
media-sound/xwax/xwax-1.6.ebuild
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Digital vinyl emulation software"
|
||||
HOMEPAGE="http://xwax.org/"
|
||||
SRC_URI="http://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 )"
|
||||
|
||||
RDEPEND="sys-libs/glibc
|
||||
sys-libs/pam
|
||||
media-libs/libsdl
|
||||
media-libs/sdl-ttf
|
||||
media-fonts/dejavu
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
cdda? ( media-sound/cdparanoia )
|
||||
mp3? ( media-sound/mpg123 )
|
||||
fallback? ( virtual/ffmpeg )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README CHANGES"
|
||||
|
||||
src_prepare() {
|
||||
# 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 || die "failed to install xwax"
|
||||
newbin scan xwax-scan || die "failed to install xwax-scan"
|
||||
newbin import xwax-import || die "failed to install xwax-import"
|
||||
doman xwax.1 || die "failed to install man page"
|
||||
|
||||
dodoc ${DOCS} || die "failed to install 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."
|
||||
}
|
||||
Reference in New Issue
Block a user