pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/linphone committed



On Sun, Jul 10, 2005 at 01:43:06PM +0200, Thomas Klausner wrote:
> On Thu, Jul 07, 2005 at 04:03:34PM +0200, Pavel Cahyna wrote:
> > After that, linking fails because it doesn't find libossaudio. Could please
> > some pkgsrc guru look at it and add necessary configure and buildlink magic?
> 
> For pkgsrc, just include mk/ossaudio.buildlink3.mk and add
> ${LIBOSSAUDIO} in LIBS (or the appropriate link line).

Thanks, this works for me.

Bye     Pavel

--- mediastreamer/osscard.c.orig        2005-07-07 17:02:08.000000000 +0200
+++ mediastreamer/osscard.c     2005-07-07 16:56:20.000000000 +0200
@@ -430,8 +430,12 @@
        return base;
 }
 
+#ifndef DSP_NAME
 #define DSP_NAME "/dev/dsp"
+#endif
+#ifndef MIXER_NAME
 #define MIXER_NAME "/dev/mixer"
+#endif
 
 gint oss_card_manager_init(SndCardManager *manager, gint tabindex)
 {

--- mediastreamer2/osscard.c.orig       2005-07-07 17:03:19.000000000 +0200
+++ mediastreamer2/osscard.c    2005-07-07 16:57:18.000000000 +0200
@@ -428,8 +428,12 @@
        return base;
 }
 
+#ifndef DSP_NAME
 #define DSP_NAME "/dev/dsp"
+#endif
+#ifndef MIXER_NAME
 #define MIXER_NAME "/dev/mixer"
+#endif
 
 gint oss_card_manager_init(SndCardManager *manager, gint tabindex)
 {

#Makefile

# $NetBSD$

DISTNAME=       linphone-1.0.1
CATEGORIES=     net
MASTER_SITES=   http://simon.morlat.free.fr/download/1.0.x/source/

MAINTAINER=     schwarz%NetBSD.org@localhost
HOMEPAGE=       http://www.linphone.org
COMMENT=        a SIP-based IP telephony client

BUILD_DEFS+=    USE_INET6

GNU_CONFIGURE=  YES
USE_TOOLS+=     gmake
USE_LIBTOOL=
USE_PKGLOCALEDIR=       yes

CONFIGURE_ARGS+=        --with-osip=${BUILDLINK_PREFIX.libosip2}
CONFIGURE_ARGS+=        --with-speex=${BUILDLINK_PREFIX.speex}
CONFIGURE_ARGS+=        --disable-manual --enable-glib

PKG_SUPPORTED_OPTIONS=  alsa nogui
PKG_OPTIONS_VAR=        PKG_OPTIONS.linphone

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+=        --enable-alsa
.endif

.if !empty(PKG_OPTIONS:Mnogui)
CONFIGURE_ARGS+=        --enable-gnome_ui=no
PLIST_SUBST+=   GUI="@comment "
.else
PLIST_SUBST+=   GUI=
CONFIGURE_ARGS+=        --enable-gnome_ui=yes
.include "../../x11/gnome-panel/buildlink3.mk"
.endif

.include "../../mk/bsd.prefs.mk"

.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+=        --enable-ipv6
.endif

USE_PERL5+=     build
BUILD_DEPENDS+= p5-XML-Parser-*:../../textproc/p5-XML-Parser

LIBS+=                  ${LIBOSSAUDIO}
CPPFLAGS+=              -DDSP_NAME="\"${DEVOSSAUDIO}\""

.include "../../mk/ossaudio.buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libosip/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index