cleanup from Brad (maintainer) after last commit:
- Correct CPPFLAGS handling - Remove bogus SUBST_CMD in pre-configure - Remove bogus gsm LIB_DEPENDS and move it to WANTLIB
This commit is contained in:
parent
bbdbbc1578
commit
f101ef36f7
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.92 2010/06/17 09:17:52 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.93 2010/06/19 09:46:42 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT-main= VideoLAN client; multimedia player
|
||||
|
||||
V= 1.0.6
|
||||
DISTNAME= vlc-${V}
|
||||
PKGNAME-main= ${DISTNAME}p3
|
||||
PKGNAME-main= ${DISTNAME}p4
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${V}/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@ -47,7 +47,6 @@ LIB_DEPENDS-main=${LIB_DEPENDS} \
|
||||
x264::multimedia/x264 \
|
||||
schroedinger-1.0::multimedia/schroedinger \
|
||||
dvbpsi.>=3::graphics/libdvbpsi \
|
||||
gsm.>=1.0::audio/gsm \
|
||||
speex::audio/speex \
|
||||
tag::audio/taglib \
|
||||
vorbis.>=6,vorbisenc.>=2::audio/libvorbis \
|
||||
@ -60,7 +59,7 @@ WANTLIB-main= GL GLU ICE SM SDL X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
|
||||
Xext Xfixes Xi Xinerama Xrandr Xrender Xv Xxf86vm atk-1.0 bz2 \
|
||||
c cairo dbus-glib-1 expat faac fontconfig freetype gdk-x11-2.0 \
|
||||
gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
||||
gthread-2.0 gtk-x11-2.0 jpeg m mp3lame oil-0.3 ogg pango-1.0 \
|
||||
gsm gthread-2.0 gtk-x11-2.0 jpeg m mp3lame oil-0.3 ogg pango-1.0 \
|
||||
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 pthread-stubs pthread \
|
||||
stdc++.>=46.0 sndio tiff usbhid xcb-keysyms xcb-render \
|
||||
xcb-render-util xcb z
|
||||
@ -105,11 +104,12 @@ CONFIGURE_ARGS+=--disable-altivec \
|
||||
--enable-release \
|
||||
--enable-theora \
|
||||
--without-contrib
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${WRKSRC}/include -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
PKG_CONFIG_PATH="${LOCALBASE}/lib/qt4/pkgconfig" \
|
||||
LOCALBASE=${LOCALBASE}
|
||||
|
||||
CPPFLAGS= -I${WRKSRC}/include -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng
|
||||
|
||||
MULTI_PACKAGES=-main
|
||||
|
||||
PSEUDO_FLAVORS= no_web no_jack
|
||||
@ -118,17 +118,11 @@ FLAVOR?=
|
||||
.if !${FLAVOR:L:Mno_web}
|
||||
MULTI_PACKAGES+=-web
|
||||
COMMENT-web= Mozilla plugin for embedded media playback
|
||||
PKGNAME-web= vlc-web-${V}p0
|
||||
PKGNAME-web= vlc-web-${V}p1
|
||||
BUILD_DEPENDS+= :xulrunner-devel->=1.9:devel/xulrunner/1.9,-devel
|
||||
CONFIGURE_ARGS+=--enable-mozilla --with-mozilla-sdk-path=${LOCALBASE}/xulrunner1.9
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${WRKSRC}/include -I${X11BASE}/include -I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/libpng \
|
||||
-I${LOCALBASE}/include/nspr \
|
||||
-I${LOCALBASE}/xulrunner1.9/include -DOPENBSD" \
|
||||
with_mozilla_pkg="libxul" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
PKG_CONFIG_PATH="${LOCALBASE}/lib/qt4/pkgconfig" \
|
||||
LOCALBASE=${LOCALBASE}
|
||||
CONFIGURE_ENV+= with_mozilla_pkg="libxul"
|
||||
CPPFLAGS+= -I${LOCALBASE}/include/nspr -I${LOCALBASE}/xulrunner1.9/include -DOPENBSD
|
||||
PORTPATH= ${WRKDIR}/bin:/usr/bin:/bin:/usr/sbin:/sbin:${DEPBASE}/bin:${LOCALBASE}/bin:${X11BASE}/bin:${LOCALBASE}/xulrunner1.9
|
||||
LIB_DEPENDS-web=${LIB_DEPENDS} \
|
||||
vlc,vlccore::${BASE_PKGPATH} \
|
||||
@ -151,6 +145,8 @@ RUN_DEPENDS-jack=::${BASE_PKGPATH}
|
||||
WANTLIB-jack= m
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CONFIGURE_ARGS+= --disable-mmx
|
||||
PKG_ARGS+=-Damd64=1
|
||||
@ -165,7 +161,6 @@ PKG_ARGS+=-Di386=0
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/configure.ac
|
||||
@perl -pi -e 's/grep -v /grep -av /' ${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-install:
|
||||
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST-web,v 1.3 2010/06/17 07:42:16 dcoppa Exp $
|
||||
@comment $OpenBSD: PLIST-web,v 1.4 2010/06/19 09:46:42 sthen Exp $
|
||||
lib/mozilla/
|
||||
lib/mozilla/plugins/
|
||||
@comment lib/mozilla/plugins/libvlcplugin.a
|
||||
@comment lib/mozilla/plugins/libvlcplugin.la
|
||||
lib/mozilla/plugins/libvlcplugin.la
|
||||
lib/mozilla/plugins/libvlcplugin.so
|
||||
share/vlc/mozilla/
|
||||
share/vlc/mozilla/fullscreen.xpm
|
||||
|
Loading…
x
Reference in New Issue
Block a user