blob: 75b294a47a0b07e88eb76907f9736a050b57f5a5 (
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
47
48
49
50
51
52
|
# $NetBSD: Makefile.common,v 1.14 2004/12/21 18:56:44 drochner Exp $
#
DISTNAME= xine-lib-1-rc8
XINE_PKGNAME= xine-lib-1rc8
PKGNAME?= ${XINE_PKGNAME}
CATEGORIES?= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xine/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://xinehq.de/
COMMENT= Multimedia player library
DISTINFO_FILE= ${.CURDIR}/../../multimedia/xine-lib/distinfo
PATCHDIR= ${.CURDIR}/../../multimedia/xine-lib/patches
BUILD_USES_MSGFMT= YES
GNU_CONFIGURE= YES
AUTOCONF_REQD= 2.58
USE_PKGLOCALEDIR= YES
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= libtool libtool-nofpic
PKGCONFIG_OVERRIDE= misc/libxine.pc.in
USE_GNU_TOOLS+= make
CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
CONFIGURE_ARGS+= --without-external-ffmpeg --disable-ffmpegtest
CONFIGURE_ARGS+= --enable-shared-xv
CONFIGURE_ENV+= have_libpng="yes"
CONFIGURE_ENV+= PNG_CFLAGS="-I${PREFIX}/include"
CONFIGURE_ENV+= PNG_LIBS="-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpng"
BUILD_ENV+= "mkdir_p"="mkdir -p"
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/lib/libXv.so)
PLIST_SUBST+= HAVE_XV="@comment "
.else
CONFIGURE_ARGS+= --with-xv-path='${X11BASE}/lib'
PLIST_SUBST+= HAVE_XV=
.endif
pre-configure:
cd ${WRKSRC} && ${AUTOCONF}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/autoconf.mk"
|