diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2008-09-13 02:30:25 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2008-09-13 02:30:25 +0000 |
commit | c7c132d323bf66597b44da4d9cb5a2c14780d86e (patch) | |
tree | bd227384d837c19d1bd0c06490c18d3387e427fe /media-sound/xwax | |
parent | Add 2.6.25-r7, fixing bug #237473 (CVE-2008-3525) and a PaX bug. (diff) | |
download | historical-c7c132d323bf66597b44da4d9cb5a2c14780d86e.tar.gz historical-c7c132d323bf66597b44da4d9cb5a2c14780d86e.tar.bz2 historical-c7c132d323bf66597b44da4d9cb5a2c14780d86e.zip |
Initial commit. Thanks to aballier for suggestions on the ebuild.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.22-ck1 x86_64
Diffstat (limited to 'media-sound/xwax')
-rw-r--r-- | media-sound/xwax/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/xwax/Manifest | 5 | ||||
-rw-r--r-- | media-sound/xwax/files/xwax-0.4-fonts.patch | 10 | ||||
-rw-r--r-- | media-sound/xwax/metadata.xml | 12 | ||||
-rw-r--r-- | media-sound/xwax/xwax-0.4.ebuild | 50 |
5 files changed, 87 insertions, 0 deletions
diff --git a/media-sound/xwax/ChangeLog b/media-sound/xwax/ChangeLog new file mode 100644 index 000000000000..7b07f4ae32ee --- /dev/null +++ b/media-sound/xwax/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/xwax +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/ChangeLog,v 1.1 2008/09/13 02:30:23 nixphoeni Exp $ + +*xwax-0.4 (13 Sep 2008) + + 13 Sep 2008; Joe Sapp <nixphoeni@gentoo.org> +files/xwax-0.4-fonts.patch, + +metadata.xml, +xwax-0.4.ebuild: + Initial commit + diff --git a/media-sound/xwax/Manifest b/media-sound/xwax/Manifest new file mode 100644 index 000000000000..cef6ddc68ef1 --- /dev/null +++ b/media-sound/xwax/Manifest @@ -0,0 +1,5 @@ +AUX xwax-0.4-fonts.patch 339 RMD160 afcc620ba588f7a57f3e5f9aa503a176aaf3d8dd SHA1 79a91baa81d46bf358d6b2b1a6919d8e76f73dd6 SHA256 8a620b9c2fac9a784df7a3901ad158b84db949e0da0612022e678e3f94564f05 +DIST xwax-0.4.tar.gz 37767 RMD160 09414b1365b28090c44092905e524d92f8f5202a SHA1 60492b6f77647888759ab4ac5e0c7ce7358d29d6 SHA256 87c561fcead9351f5b54c40baf523d4f5c49344ca4277264b8f81ad7fa3085ae +EBUILD xwax-0.4.ebuild 1097 RMD160 a7c0e19fe946b2b1de5c4fbda81eb8d4eb416a78 SHA1 407db91a3a8aae5d87c913f8f8dfa77c4cd07f2c SHA256 504bb97e04250bd1a4c973bb54ff6779b945ececdc24713fe80a15d3d88f434e +MISC ChangeLog 362 RMD160 7ffe22a7d350858a58cc6f34ad37baf54f7189bf SHA1 7d5fcdd47d0fd0abf91ddecdb4e06533b9818d48 SHA256 bbcba35bac11f06f0c85453d8d382c692ea46d8037e5a64ab952f9b4ef95b7b8 +MISC metadata.xml 313 RMD160 6f9b9b4a376ba954ff56a0f07f2fe09b334fd25e SHA1 e193093135d9f25f35519539e6d268afea3f64a8 SHA256 66a26e7635f26541f5d01379f65127eb2407b1cc6c527c1d3a1184a68e32c6e7 diff --git a/media-sound/xwax/files/xwax-0.4-fonts.patch b/media-sound/xwax/files/xwax-0.4-fonts.patch new file mode 100644 index 000000000000..c33760be169c --- /dev/null +++ b/media-sound/xwax/files/xwax-0.4-fonts.patch @@ -0,0 +1,10 @@ +--- interface.c.orig 2008-05-07 18:19:11.000000000 -0400 ++++ interface.c 2008-09-06 20:08:45.000000000 -0400 +@@ -127,6 +127,7 @@ + char *font_dirs[] = { + "/usr/X11R6/lib/X11/fonts/TTF", + "/usr/share/fonts/truetype/ttf-bitstream-vera", ++ "/usr/share/fonts/ttf-bitstream-vera", + "/usr/share/fonts/TTF", + NULL + }; diff --git a/media-sound/xwax/metadata.xml b/media-sound/xwax/metadata.xml new file mode 100644 index 000000000000..33cb55baa49c --- /dev/null +++ b/media-sound/xwax/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>nixphoeni@gentoo.org</email> + <name>Joe Sapp</name> + </maintainer> + <use> + <flag name='alsa'>Enable ALSA support.</flag> + </use> +</pkgmetadata> diff --git a/media-sound/xwax/xwax-0.4.ebuild b/media-sound/xwax/xwax-0.4.ebuild new file mode 100644 index 000000000000..9bb16f46d20c --- /dev/null +++ b/media-sound/xwax/xwax-0.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v 1.1 2008/09/13 02:30:23 nixphoeni Exp $ + +inherit eutils + +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="~x86 ~amd64" +IUSE="alsa" + +DEPEND="media-libs/libsdl + media-libs/sdl-ttf + media-fonts/ttf-bitstream-vera + alsa? ( media-libs/alsa-lib )" + +DOCS="README" + +src_unpack() { + unpack ${A} + + cd "${S}" + # Fix fonts directory in source + epatch "${FILESDIR}/${P}-fonts.patch" + # Remove the 'CFLAGS += -Wall -03' line from Makefile + # Add LDFLAGS to Makefile + sed -i -e 's:^CFLAGS:#CFLAGS:' \ + -e 's:\($(CC) .* $(DEVICE_LIBS)\):\1 $(LDFLAGS):' \ + Makefile +} + +src_compile() { + econf $(use_enable alsa) || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + # Manually install into ${D}/usr/bin + exeinto "/usr/bin" + + doexe xwax + doexe xwax_import + # Install documentation + dodoc ${DOCS} +} |