nixphoeni    14/05/06 02:07:28

  Modified:             ChangeLog
  Added:                xwax-1.5.ebuild
  Log:
  Version bump; add limits.d file for realtime priority
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
35488453)

Revision  Changes    Path
1.58                 media-sound/xwax/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.58&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?rev=1.58&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/ChangeLog?r1=1.57&r2=1.58

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ChangeLog   24 Dec 2013 12:42:04 -0000      1.57
+++ ChangeLog   6 May 2014 02:07:28 -0000       1.58
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/xwax
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.57 
2013/12/24 12:42:04 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.58 
2014/05/06 02:07:28 nixphoeni Exp $
+
+*xwax-1.5 (06 May 2014)
+
+  06 May 2014; Joe Sapp <[email protected]> +xwax-1.5.ebuild,
+  +files/xwax-etc-security-limits.conf:
+  Version bump; add limits.d file for realtime priority
 
   24 Dec 2013; Agostino Sarubbo <[email protected]> xwax-1.4.ebuild:
   Stable for x86, wrt bug #492566



1.1                  media-sound/xwax/xwax-1.5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-1.5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xwax/xwax-1.5.ebuild?rev=1.1&content-type=text/plain

Index: xwax-1.5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-1.5.ebuild,v 1.1 
2014/05/06 02:07:28 nixphoeni Exp $

EAPI=5
inherit toolchain-funcs user

DESCRIPTION="Digital vinyl emulation software"
HOMEPAGE="http://www.xwax.co.uk/";
SRC_URI="http://www.xwax.co.uk/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."
}




Reply via email to