blob: bb5f339601f670da630903d38fcb37e5fc1b68c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.3 2001/04/14 23:09:46 hubertf Exp $
DISTNAME= avifile-0.53.5
CATEGORIES= graphics
MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \
http://divx.euro.ru/ \
http://www.toon.eu.org/divx/
MAINTAINER= zuntum@netbsd.org,jmcneill@invisible.yi.org
HOMEPAGE= http://divx.euro.ru/
COMMENT= MPEG-4 (DivX) video player library
DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs
DEPENDS+= SDL>=1.1.2:../../devel/SDL
#DEPENDS+= qt2-libs>=2.1.0:../../x11/qt2-libs
#DEPENDS+= qt2-designer>=2.1.0:../../x11/qt2-designer
DEPENDS+= pth>=1.3.7:../../devel/pth
ONLY_FOR_PLATFORM= NetBSD-*-i386
USE_XLIB= yes
USE_GMAKE= yes
USE_AUTOCONF= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
HAS_CONFIGURE= yes
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" \
MOC="${MOC}" \
UIC="${UIC}" \
# CPPFLAGS="-I${LOCALBASE}/include"
# LIBS="-Wl,-R${X11BASE}/qt2/lib -L${X11BASE}/qt2/lib"
CONFIGURE_ARGS+= --prefix=${PREFIX} --with-win32-path=${LOCALBASE}/lib/win32 \
--enable-sdl --without-qt
# --enable-timing
# --with-qt-dir=${X11BASE}/qt2 \
# --with-qt-includes=${X11BASE}/qt2/include \
# --with-qt-libraries=${X11BASE}/qt2/lib \
#CONFIGURE_ARGS+= --enable-loader-out # Verbose Win32 DLL loading
SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
MOC?= ${X11BASE}/qt2/bin/moc
UIC?= ${X11BASE}/qt2/bin/uic
.include "../../mk/bsd.pkg.mk"
|