summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-08-19 00:44:39 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-08-19 00:44:39 +0000
commit35b9305a12b0426de8a00e36fed03d784d80da18 (patch)
tree7ec9dc49e58ad9b233bb1c1ee52163a2544f7e4e /media-sound/pd
parentNew version. (diff)
downloadhistorical-35b9305a12b0426de8a00e36fed03d784d80da18.tar.gz
historical-35b9305a12b0426de8a00e36fed03d784d80da18.tar.bz2
historical-35b9305a12b0426de8a00e36fed03d784d80da18.zip
New version. Submitted by Artem Baguinski. Fixes #6303
Diffstat (limited to 'media-sound/pd')
-rw-r--r--media-sound/pd/ChangeLog9
-rw-r--r--media-sound/pd/files/digest-pd-0.35.01
-rw-r--r--media-sound/pd/files/pd-0.35-0-gentoo.patch40
-rw-r--r--media-sound/pd/pd-0.35.0.ebuild43
4 files changed, 92 insertions, 1 deletions
diff --git a/media-sound/pd/ChangeLog b/media-sound/pd/ChangeLog
index 5a34f494c3a1..67a062d030ca 100644
--- a/media-sound/pd/ChangeLog
+++ b/media-sound/pd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/pd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/ChangeLog,v 1.1 2002/06/14 19:00:06 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/ChangeLog,v 1.2 2002/08/19 00:44:39 rphillips Exp $
+
+*pd-0.35.0 (18 Aug 2002)
+
+ 18 Aug 2002; Ryan Phillips <rphillips@gentoo.org> pd-0.35.0.ebuild
+ files/pd-0.35-0-gentoo.patch :
+
+ New version. Submitted by Artem Baguinski
*pd-0.35_pre24 (14 June 2002)
diff --git a/media-sound/pd/files/digest-pd-0.35.0 b/media-sound/pd/files/digest-pd-0.35.0
new file mode 100644
index 000000000000..6a39bdcd7b73
--- /dev/null
+++ b/media-sound/pd/files/digest-pd-0.35.0
@@ -0,0 +1 @@
+MD5 753920639d209f71a6d2b7de3d092476 pd-0.35-0.linux.tar.gz 1455220
diff --git a/media-sound/pd/files/pd-0.35-0-gentoo.patch b/media-sound/pd/files/pd-0.35-0-gentoo.patch
new file mode 100644
index 000000000000..894dfa12a71b
--- /dev/null
+++ b/media-sound/pd/files/pd-0.35-0-gentoo.patch
@@ -0,0 +1,40 @@
+diff -ur pd-0.35-0/src/makefile.in pd-0.35-0.gentoo/src/makefile.in
+--- pd-0.35-0/src/makefile.in Fri May 24 19:08:40 2002
++++ pd-0.35-0.gentoo/src/makefile.in Sat Aug 10 22:16:46 2002
+@@ -12,6 +12,8 @@
+ INSTALL_PREFIX = @prefix@
+ GFLAGS = -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)\"
+
++MANDIR = @mandir@
++
+ # ALSA compilation
+
+ SOUND_ALSA = @alsa@
+@@ -164,6 +166,7 @@
+ cd ../extra/pique;make @EXTERNTARGET@
+
+ INSTDIR = $(DESTDIR)/$(INSTALL_PREFIX)
++MANINSTDIR = $(DESTDIR)/$(MANDIR)
+ install:
+ install -d $(INSTDIR)/lib/pd/bin
+ install $(BIN_DIR)/$(GUINAME) $(INSTDIR)/lib/pd/bin/$(GUINAME)
+@@ -179,12 +182,13 @@
+ cp -r ../doc $(INSTDIR)/lib/pd/
+ install -d $(INSTDIR)/include
+ install -m644 m_pd.h $(INSTDIR)/include/m_pd.h
+- gzip < ../man/pd.1 > $(INSTDIR)/man/man1/pd.1.gz
+- chmod 644 $(INSTDIR)/man/man1/pd.1.gz
+- gzip < ../man/pdsend.1 > $(INSTDIR)/man/man1/pdsend.1.gz
+- chmod 644 $(INSTDIR)/man/man1/pdsend.1.gz
+- gzip < ../man/pdreceive.1 > $(INSTDIR)/man/man1/pdreceive.1.gz
+- chmod 644 $(INSTDIR)/man/man1/pdreceive.1.gz
++ install -d $(MANINSTDIR)/man1
++ gzip < ../man/pd.1 > $(MANINSTDIR)/man1/pd.1.gz
++ chmod 644 $(MANINSTDIR)/man1/pd.1.gz
++ gzip < ../man/pdsend.1 > $(MANINSTDIR)/man1/pdsend.1.gz
++ chmod 644 $(MANINSTDIR)/man1/pdsend.1.gz
++ gzip < ../man/pdreceive.1 > $(MANINSTDIR)/man1/pdreceive.1.gz
++ chmod 644 $(MANINSTDIR)/man1/pdreceive.1.gz
+
+ local-clean:
+ -rm -f ../obj/* $(BIN_DIR)/pd $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \
diff --git a/media-sound/pd/pd-0.35.0.ebuild b/media-sound/pd/pd-0.35.0.ebuild
new file mode 100644
index 000000000000..d86699d5fb2a
--- /dev/null
+++ b/media-sound/pd/pd-0.35.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/pd-0.35.0.ebuild,v 1.1 2002/08/19 00:44:39 rphillips Exp $
+
+# Miller Puckette uses nonstandard versioning scheme that we have to crunch
+MY_P=`echo ${P} | sed 's/\.\([0-9]\+\)$/-\1/'`
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="real-time music and multimedia environment"
+SRC_URI="http://www-crca.ucsd.edu/~msp/Software/${MY_P}.linux.tar.gz"
+HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html"
+
+SLOT="0"
+LICENSE="BSD | as-is"
+KEYWORDS="x86"
+
+#
+# need to do something with alsa here:
+# pd can be configured to use alsa-0.5x or alsa-0.9x,
+# but i don't know how to determine which one is installed
+# automagicly
+#
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-lang/tk-8.3.3"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} || die
+ patch -p1 < ${FILESDIR}/${MY_P}-gentoo.patch || die
+ cd src || die
+ autoconf || die
+}
+
+src_compile() {
+
+ cd src
+ econf || die "./configure failed"
+ emake || die
+}
+
+src_install () {
+ cd src
+ make DESTDIR=${D} install || die
+}