blob: 34597c262cced1236f788075b30b2d7b351525d6 (
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
|
# $NetBSD: Makefile.common,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $
#
DISTNAME= xine-lib-1-rc0a
PKGNAME= xine-lib-1rc0a
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
USE_PKGLOCALEDIR= YES
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libtool-nofpic
PKGCONFIG_OVERRIDE= ${WRKSRC}/misc/libxine.pc.in
USE_GNU_TOOLS+= make
CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
CONFIGURE_ENV+= have_libpng="yes"
CONFIGURE_ENV+= PNG_CFLAGS="-I${PREFIX}/include"
CONFIGURE_ENV+= PNG_LIBS="-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpng"
.if !exists(${X11BASE}/lib/libXv.so)
PLIST_SUBST+= XV_WORKAROUND="@comment "
.else
PLIST_SUBST+= XV_WORKAROUND=""
.endif
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
|