add jack subpackage

This commit is contained in:
jakemsr 2008-03-24 04:46:26 +00:00
parent 972b64c1c1
commit 0307b9a632
3 changed files with 18 additions and 2 deletions

View File

@ -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 SHARED_ONLY= Yes
@ -165,7 +165,7 @@ MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
MULTI_PACKAGES=-main MULTI_PACKAGES=-main
FLAVORS=altivec FLAVORS=altivec
PSEUDO_FLAVORS=no_web no_arts no_esd PSEUDO_FLAVORS=no_web no_arts no_esd no_jack
FLAVOR?= FLAVOR?=
.if !${FLAVOR:L:Mno_web} .if !${FLAVOR:L:Mno_web}
@ -210,6 +210,19 @@ WANTLIB-esd= audiofile m
CONFIGURE_ARGS+=--disable-esd CONFIGURE_ARGS+=--disable-esd
.endif .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" .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
PKG_ARGS+=-Dx86opt=1 PKG_ARGS+=-Dx86opt=1
.else .else

1
x11/vlc/pkg/DESCR-jack Normal file
View File

@ -0,0 +1 @@
jackd sound server output module for vlc.

2
x11/vlc/pkg/PLIST-jack Normal file
View File

@ -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