Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82627 - [media-sound/pd-0.38-2] RFC
Summary: [media-sound/pd-0.38-2] RFC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL: http://www-crca.ucsd.edu/~msp/softwar...
Whiteboard:
Keywords:
: 82882 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-19 16:08 UTC by Federico Ferri (RETIRED)
Modified: 2005-04-13 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Ferri (RETIRED) gentoo-dev 2005-02-19 16:08:10 UTC
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/pd-0.37.4.ebuild,v 1.3 2004/12/19 06:13:51 eradicator Exp $

IUSE="X alsa debug"

inherit eutils versionator

# Miller Puckette uses nonstandard versioning scheme that we have to crunch
MY_PV=$(replace_version_separator 2 '-')
MY_P="${PN}-${MY_PV}"
S=${WORKDIR}/${MY_P}/src

DESCRIPTION="real-time music and multimedia environment"
HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html"
SRC_URI="http://www-crca.ucsd.edu/~msp/Software/${MY_P}.src.tar.gz"

LICENSE="|| ( BSD as-is )"
SLOT="0"
KEYWORDS="~ppc sparc x86"

RDEPEND=">=dev-lang/tcl-8.3.3
	>=dev-lang/tk-8.3.3
	alsa? ( >=media-libs/alsa-lib-0.9.0_rc2 )
	jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 )
	X? ( virtual/x11 )"

DEPEND="${RDEPEND}
	sys-apps/sed"

src_unpack() {
	unpack ${A}

	# Fix install borkage... this errors in sandbox, but it still performs the copy,
	# so we remove it from the makefile and just do it ourselves ignoring the error
	sed -i 's:\(cp -pr ../doc ../extra $(INSTDIR)/lib/pd/\):# \1:' ${S}/makefile.in
}

src_compile() {
	local myconf

	# --enable-alsa is bork
	if ! use alsa; then
		myconf="${myconf} --disable-alsa"
	fi

	if use jack; then
		myconf="${myconf} --enable-jack"
	fi

	econf \
		${myconf} \
		`use_with X x` \
		`use_enable debug` \
		|| die "./configure failed"

	emake || die "parallel make failed"
}

src_install() {
	make DESTDIR=${D} install || die "install failed"

	cd ..
	cp -pr doc extra ${D}/usr/lib/pd
}


Reproducible: Couldn't Reproduce
Steps to Reproduce:
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-19 16:25:44 UTC
Please don't inline files, attach them as plain text. If the ebuild did not change, just say it, no need to attach anything then. If you had to change it, add a comment what and why, a diff is preferred.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-21 15:22:35 UTC
*** Bug 82882 has been marked as a duplicate of this bug. ***
Comment 3 Federico Ferri (RETIRED) gentoo-dev 2005-02-21 16:00:04 UTC
i am sorry for the duplicate.
please ignore pd-0.38.2.ebuild, and look at pd-0.38.3.ebuild, because it's more complete (i added debug, static, jack, portaudio switches)
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-13 13:49:13 UTC
i've commited pd-0.38.4 yesterday. thanks