File: README.MacOSX

package info (click to toggle)
bino 1.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,636 kB
  • sloc: cpp: 21,288; sh: 4,849; makefile: 314; sed: 16
file content (121 lines) | stat: -rw-r--r-- 4,630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Compiling with Equalizer on Mac OS X

Install (or upgrade) all dependency packages (ffmpeg glew qt4-mac
openal) from MacPorts using the universal variant:

# sudo port install (or upgrade --enforce-variants) <package> +universal

Since not all dependencies exist in the universal variant, building in 32 bit
does not work out of the box. It might be possible to install all dependencies
manually. Tested is building in 64 bit using an Equalizer version compiled for
GLX (AGL does not support 64 bit).

Use the following configure options to select the proper frameworks and
architecture:

# ./configure --with-equalizer \
  libEqualizer_CFLAGS="-I<EQ_DIR>/include" \
  libEqualizer_LIBS="-L<EQ_DIR>/lib -lEqualizer" \
  libopenal_LIBS="-L/opt/local/lib -framework OpenAL" \
  libopenal_CFLAGS="-framework OpenAL" \
  CXXFLAGS="-I/usr/X11R6/include"

Stefan Eilemann <eile@eyescale.ch>, 06/Dec/2010

===============================================================================

If you are using MacPorts, you can use the following port files to build Bino.

The bino port has two variants:
+qt4nokia to use the official Qt4 installation rather than qt4-mac from MacPorts
+openalsoft to use openal-soft rather than openal, for multi-channel support

These port files were written by Frédéric Devernay
<Frederic.Devernay@inrialpes.fr>.

You can also build an application bundle using 'make package-macosx'.

audio/openal-soft/Portfile:
-------------------------------------------------------------------------------
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0
PortGroup           cmake 1.0

name                openal-soft
version             1.11.753
categories		    audio devel
maintainers         openmaintainer
description         OpenAL Soft with multichannel support for Mac OS X
long_description    temporary fork of OpenAL Soft for development of a multi-channel capable Mac OS X renderer.

#homepage            http://kcat.strangesoft.net/openal.html
homepage            https://github.com/garinh/openal-soft
platforms           darwin

fetch.type          git
git.url             https://github.com/garinh/openal-soft.git
git.branch          899eb0747644923239d48dd706fe2d3cde02734a

livecheck.type  none
-------------------------------------------------------------------------------

multimedia/bino/Portfile:
-------------------------------------------------------------------------------
# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0
name		bino
version		0.6.20101206
revision	1
categories	multimedia
maintainers	frederic.devernay@m4x.org
description	Bino plays stereoscopic videos, also known as 3D videos

long_description	${description}

homepage	http://bino3d.org/
#checksums           md5     8293eb63a682e61cc7f9ed322fa61dd4 \
#                    sha1    1de0e1fe6750148d3d7316e719f434101479d4dd \
#                    rmd160  f2724a8acc79aca9ddd317c7334c9bfa5ed64ef0
master_sites	http://download.savannah.nongnu.org/releases/bino/
#use_xz		yes
#depends_extract port:xz-devel

depends_build	
depends_lib \
	port:ffmpeg \
    port:glew \
    port:openal \
    port:qt4-mac

#patchfiles	bino-mac.patch
#patch.pre_args	-p1
use_autoreconf	yes

variant qt4nokia description {Use the official Qt4 distribution from http://qt.nokia.com/download} {
    depends_lib-delete      port:qt4-mac
	pre-configure {
		if {![file exists "/Library/Frameworks/QtOpenGL.framework/Headers/QtOpenGL"]} {
			return -code error "\n********************\n${name} requires Qt for Mac, please download and install it from http://qt.nokia.com/download\n********************"
		}
	}
    configure.args-append \
        libqtopengl_LIBS="-framework QtCore -framework QtGui -framework QtOpenGL -framework OpenGL" \
        libqtopengl_CFLAGS="-I/Library/Frameworks/QtCore.framework/Headers -I/Library/Frameworks/QtGui.framework/Headers -I/Library/Frameworks/QtOpenGL.framework/Headers"
}

variant openalsoft description {Use the OpenAL-soft from https://github.com/garinh/openal-soft with multi-channel support} {
    depends_lib-delete      port:openal
    depends_lib-append      port:openal-soft
}

fetch.type          git
git.url            git://git.savannah.nongnu.org/bino.git
#use "git log" to find out branch value
git.branch          	7974964569005d14bc184166c99d14e2b57b6306

livecheck.type  none
-------------------------------------------------------------------------------