diff --git a/x11/vlc/Makefile b/x11/vlc/Makefile index 5d0eec82b3b..a7d9c491b4a 100644 --- a/x11/vlc/Makefile +++ b/x11/vlc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.66 2008/03/02 02:27:04 jakemsr Exp $ +# $OpenBSD: Makefile,v 1.67 2008/03/24 04:46:26 jakemsr Exp $ SHARED_ONLY= Yes @@ -165,7 +165,7 @@ MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools MULTI_PACKAGES=-main FLAVORS=altivec -PSEUDO_FLAVORS=no_web no_arts no_esd +PSEUDO_FLAVORS=no_web no_arts no_esd no_jack FLAVOR?= .if !${FLAVOR:L:Mno_web} @@ -210,6 +210,19 @@ WANTLIB-esd= audiofile m CONFIGURE_ARGS+=--disable-esd .endif +.if !${FLAVOR:L:Mno_jack} +MULTI_PACKAGES+=-jack +COMMENT-jack= jackd audio output module for vlc +FULLPKGNAME-jack=vlc-jack-${V} +CONFIGURE_ARGS+=--enable-jack +LIB_DEPENDS-jack=jack::audio/jack +# any FLAVOR of vlc will do +RUN_DEPENDS-jack=::x11/vlc +WANTLIB-jack= m +.else +CONFIGURE_ARGS+=--disable-jack +.endif + .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" PKG_ARGS+=-Dx86opt=1 .else diff --git a/x11/vlc/pkg/DESCR-jack b/x11/vlc/pkg/DESCR-jack new file mode 100644 index 00000000000..c9c0501429d --- /dev/null +++ b/x11/vlc/pkg/DESCR-jack @@ -0,0 +1 @@ +jackd sound server output module for vlc. diff --git a/x11/vlc/pkg/PLIST-jack b/x11/vlc/pkg/PLIST-jack new file mode 100644 index 00000000000..fd504f38da5 --- /dev/null +++ b/x11/vlc/pkg/PLIST-jack @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST-jack,v 1.1 2008/03/24 04:46:26 jakemsr Exp $ +lib/vlc/audio_output/libjack_plugin.so