add back altivec support
This commit is contained in:
parent
404172462a
commit
7a0e9b5743
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2005/12/22 03:45:36 jolan Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2005/12/22 04:45:38 jolan Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "videolan client; multimedia player"
|
||||
V= 0.8.4a
|
||||
DISTNAME= vlc-${V}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${V}/
|
||||
|
||||
@ -88,7 +89,6 @@ CONFIGURE_ARGS+=--disable-pth \
|
||||
--disable-testsuite \
|
||||
--disable-hal \
|
||||
--disable-optimizations \
|
||||
--disable-altivec \
|
||||
--disable-gnutls \
|
||||
--disable-dshow \
|
||||
--disable-smb \
|
||||
@ -161,6 +161,14 @@ MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
|
||||
FLAVORS= no_dvd
|
||||
FLAVOR?=
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
CONFIGURE_ARGS+=--enable-altivec
|
||||
PKG_ARGS+=-Daltivec=1
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-altivec
|
||||
PKG_ARGS+=-Daltivec=0
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
||||
PKG_ARGS+=-Dx86opt=1
|
||||
.else
|
||||
|
3
x11/vlc/pkg/PFRAG.altivec
Normal file
3
x11/vlc/pkg/PFRAG.altivec
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.altivec,v 1.1 2005/12/22 04:45:38 jolan Exp $
|
||||
lib/vlc/libi420_yuy2_altivec.a
|
||||
lib/vlc/libmemcpyaltivec.a
|
@ -1,5 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.16 2005/12/22 03:45:36 jolan Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.17 2005/12/22 04:45:38 jolan Exp $
|
||||
%%SHARED%%
|
||||
%%altivec%%
|
||||
%%x86opt%%
|
||||
bin/vlc
|
||||
bin/vlc-config
|
||||
|
Loading…
x
Reference in New Issue
Block a user