diff options
author | jsa <jsa@FreeBSD.org> | 2010-12-05 07:38:48 +0800 |
---|---|---|
committer | jsa <jsa@FreeBSD.org> | 2010-12-05 07:38:48 +0800 |
commit | e6072622262ea65d56286b9ead40d7945bf9e0c1 (patch) | |
tree | ca14ec41c806a4c347cf899e30fdd78948714e7e /multimedia/vlc | |
parent | 9a9724cb9308514007936e050d3a56092257fbcc (diff) | |
download | freebsd-ports-gnome-e6072622262ea65d56286b9ead40d7945bf9e0c1.tar.gz freebsd-ports-gnome-e6072622262ea65d56286b9ead40d7945bf9e0c1.tar.zst freebsd-ports-gnome-e6072622262ea65d56286b9ead40d7945bf9e0c1.zip |
Add depenency information for PULSE option. Fix pkgconfig data path.
Approved by: kwm (mentor)
Diffstat (limited to 'multimedia/vlc')
-rw-r--r-- | multimedia/vlc/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 465f7774e53a..77c9ad52bebc 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -7,7 +7,7 @@ PORTNAME= vlc DISTVERSION= 1.1.5 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \ @@ -97,9 +97,10 @@ PLIST= ${WRKDIR}/plist USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${FAKEDIR}/include -I${WRKSRC}/include ${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/ffmpeg ${PTHREAD_CFLAGS}" \ - LDFLAGS="${LDFLAGS} -L${FAKEDIR}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lc" \ - LIBS="-lc" +CONFIGURE_ENV= CPPFLAGS="-I${FAKEDIR}/include -I${WRKSRC}/include \ + ${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/ffmpeg \ + ${PTHREAD_CFLAGS}" LDFLAGS="${LDFLAGS} -L${FAKEDIR}/lib \ + -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lc" LIBS="-lc" CONFIGURE_ARGS+= --enable-vlc \ --enable-avcodec \ @@ -190,7 +191,7 @@ BROKEN= Does not compile with perl ${PERL_VERSION} .endif .if ${ARCH} == "powerpc64" -CONFIGURE_ARGS+= --enable-altivec # VLC's config script doesn't know to do this +CONFIGURE_ARGS+=--enable-altivec # VLC's config script doesn't know to do this .endif # End OS specific hacks @@ -458,6 +459,7 @@ CONFIGURE_ARGS+=--disable-portaudio .endif .if defined(WITH_PULSE) +LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio CONFIGURE_ARGS+=--enable-pulse .else CONFIGURE_ARGS+=--disable-pulse @@ -676,16 +678,16 @@ pre-install: ${RM} -f ${FAKEDIR}/lib/vlc/plugins/services_discovery/libsap_plugin.la ${RM} -f ${FAKEDIR}/lib/vlc/plugins/services_discovery/libsap_plugin.so .endif + ${MKDIR} ${FAKEDIR}/libdata + ${MV} ${FAKEDIR}/lib/pkgconfig ${FAKEDIR}/libdata/pkgconfig cd ${FAKEDIR}/lib && ${FIND} -s * -type f -o -type l| \ ${SED} -e 's|^|lib/|' >> ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrmtry lib/|' >> ${PLIST} - if [ -d ${FAKEDIR}/libdata ]; then \ cd ${FAKEDIR}/libdata && ${FIND} -s * -type f -o -type l| \ ${SED} -e 's|^|libdata/|' >> ${PLIST} \ && ${FIND} -d * -type d | \ - ${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} ; \ - fi + ${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} .for dir in icons kde4 vlc if [ -d ${FAKEDIR}/share/${dir} ]; then \ cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \ |