Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 99952 Details for
Bug 151070
[new ebuild] GridFlow, an external for PureData
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-video/gridflow/gridflow-0.8.4-r1.ebuild
gridflow-0.8.4-r1.ebuild (text/plain), 3.35 KB, created by
Federico Ferri (RETIRED)
on 2006-10-18 10:34:19 UTC
(
hide
)
Description:
media-video/gridflow/gridflow-0.8.4-r1.ebuild
Filename:
MIME Type:
Creator:
Federico Ferri (RETIRED)
Created:
2006-10-18 10:34:19 UTC
Size:
3.35 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils versionator > >DESCRIPTION="N-dimensional dataflow processing for PureData, designed for interactive multimedia" >HOMEPAGE="http://gridflow.ca/" >SRC_URI="http://gridflow.ca/download/gridflow-${PV}.tar.gz" > >LICENSE="GPL" >SLOT="0" >KEYWORDS="~x86" >IUSE="debug mmx X usb sdl fftw quartz aalib gcc64 quicktime gem" > >DEPEND="" >RDEPEND="media-sound/pd > gem? (media-video/gem) > dev-lang/ruby-cvs > aalib? (media-libs/aalib) > sdl? (media-libs/libsdl) > fftw? (sci-libs/fftw) > usb? (dev-libs/libusb) > X? (virtual/x11)" > >src_compile() { > myconf="" > > if use gem; then > # gridflow's build system has to look for a set > # of *configured* Gem-sources. > # since when 'gem' USE flag is set, gem becomes a dependency > # after gem has compiled, the sources should be still there (?) > GEM_VERSION="0.90.0" > POS="${PORTAGE_TMPDIR}/portage/gem-${GEM_VERSION}/work/gem-${GEM_VERSION}" > pushd .. > if test -d "$POS"; then > ln -s "$POS" "Gem" > else > eerror "Cannot find GEM workdir. ($POS)" > eerror "You can solve this by rebuilding gem with:" > eerror "" > eerror "FEATURES=keepwork emerge gem gridflow" > die > fi > popd > myconf="$myconf --gem-source $WORKDIR/Gem/src" > fi > if ! use mmx; then myconf="$myconf --no-mmx"; fi > if ! use X; then myconf="$myconf --no-x11"; fi > if ! use usb; then myconf="$myconf --no-usb"; fi > if ! use fftw; then myconf="$myconf --no-fftw"; fi > if ! use sdl; then myconf="$myconf --no-sdl"; fi > if ! use gcc64; then myconf="$myconf --no-gcc64"; fi > if ! use quartz; then myconf="$myconf --no-quartz"; fi > if ! use quartz; then myconf="$myconf --no-objcpp"; fi > if ! use quartz; then myconf="$myconf --no-quicktimeapple"; fi > if use debug; then myconf="$myconf --debug"; fi > ./configure $myconf || die "$PN configuration failed." > > # strip -mcpu -march from config.make > sed -e's/^\(CFLAGS.*\)\(-mcpu=[^ ]\+\)\(.*\)$/\1\3/' \ > -e's/^\(CFLAGS.*\)\(-march=[^ ]\+\)\(.*\)$/\1\3/' \ > -i config.make > sed -e's/^CPU=.*$//' \ > -e's/^HAVE_GEM=.*$//' \ > -e's/^HAVE_USB=.*$//' \ > -e's/^HAVE_FFTW=.*$//' \ > -i config.make > > if use gem; then HAVE_GEM_V="yes"; else HAVE_GEM_V="no"; fi > if use gem; then HAVE_USB_V="yes"; else HAVE_USB_V="no"; fi > if use gem; then HAVE_FFTW_V="yes"; else HAVE_FFTW_V="no"; fi > echo -e "\nHAVE_GEM=$HAVE_GEM_V\nHAVE_USB=$HAVE_USB_V\n\HAVE_FFTW=$HAVE_FFTW_V\n" \ >> config.make > > emake || die "$PN make failed." >} > >src_install() { > insinto /usr/lib/pd/extra > doins gridflow.so > doins gridflow.pd_linux > > # installing ruby files and pd files > cd $WORKDIR/gridflow-$PV > INSTDIR="/usr/lib/pd/extra/gridflow" > mkdir -p "${D}${INSTDIR}" > for i in examples extra doc images \ > pd_abstractions \ > base format bin bridge \ > bundled cpu devices4ruby \ > optional tests tmp; do > cp -r $i "${D}${INSTDIR}/" > done > ln -s "${D}${INSTDIR}/bridge" "${D}${INSTDIR}/../" > INSTDIR="/usr/lib/pd/doc/gridflow" > mkdir -p "${D}${INSTDIR}" > cp -r pd_examples "${D}${INSTDIR}/" >} > >pkg_postinst() { > einfo "" > einfo "In order to complete the install of gridflow, run these commands:" > einfo "" > einfo " echo '-helppath $INSTDIR/doc/format' >> ~/.pdrc" > einfo " echo '-helppath $INSTDIR/doc/flow_classes' >> ~/.pdrc" > einfo " echo '-path $INSTDIR/pd_abstractions' >> ~/.pdrc" > einfo " echo 'GridFlow.data_path << \"$INSTDIR/images\"' >> ~/.gridflow_startup" > einfo "" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 151070
:
99468
|
99469
|
99578
| 99952