Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / multimedia / gnash / Makefile
blob9d4e9e27956438b781fdfd4fcd8873cf40ac4a46
1 # $NetBSD: Makefile,v 1.69 2013/02/26 11:04:25 joerg Exp $
4 DISTNAME= gnash-0.8.10
5 PKGREVISION= 19
6 CATEGORIES= multimedia
7 MASTER_SITES= ${MASTER_SITE_GNU:=gnash/${PKGVERSION_NOREV}/}
8 EXTRACT_SUFX= .tar.bz2
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.gnashdev.org/
12 COMMENT= GPL SWF player
13 LICENSE= gnu-gpl-v3
15 USE_PKGLOCALEDIR= yes
16 USE_LANGUAGES= c c++
17 USE_LIBTOOL= yes
18 GNU_CONFIGURE= yes
19 USE_TOOLS+= bash gmake msgfmt pkg-config
20 INSTALL_TARGET= install install-plugin
22 # /bin/sh finds a syntax error without line number
23 CONFIG_SHELL= ${TOOLS_BASH}
24 CONFIGURE_ARGS+= --with-boost-incl=${BUILDLINK_PREFIX.boost-headers}/include
25 CONFIGURE_ARGS+= --with-boost-lib=${BUILDLINK_PREFIX.boost-libs}/lib
26 CONFIGURE_ARGS+= --without-gconf
27 CONFIGURE_ARGS+= --with-x11-incl=${X11BASE}/include
28 CONFIGURE_ARGS+= --with-x11-lib=${X11BASE}/lib
30 EGDIR= ${PREFIX}/share/examples/gnash
31 INSTALLATION_DIRS= ${EGDIR}
32 INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
33 CONF_FILES+= ${EGDIR}/gnashpluginrc ${PKG_SYSCONFDIR}/gnashpluginrc
34 CONF_FILES+= ${EGDIR}/gnashrc ${PKG_SYSCONFDIR}/gnashrc
36 .include "options.mk"
38 #ld: .libs/libgnashplugin_la-plugin.o(.text+0x5564): unresolvable relocation
39 # against symbol `_ZNKSs5c_strEv'
40 BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden
42 .include "../../mk/compiler.mk"
43 .if !empty(PKGSRC_COMPILER:Mclang)
44 CXXFLAGS+= -std=c++11
45 .endif
47 .include "../../audio/speex/buildlink3.mk"
48 .include "../../devel/SDL/buildlink3.mk"
49 .include "../../devel/boost-libs/buildlink3.mk"
50 .include "../../devel/libltdl/buildlink3.mk"
51 .include "../../devel/zlib/buildlink3.mk"
52 .include "../../mk/giflib.buildlink3.mk"
53 .include "../../mk/jpeg.buildlink3.mk"
54 .include "../../graphics/png/buildlink3.mk"
55 .include "../../www/curl/buildlink3.mk"
56 .include "../../x11/libXft/buildlink3.mk"
57 .include "../../x11/libXi/buildlink3.mk"
58 .include "../../mk/pthread.buildlink3.mk"
59 .include "../../mk/bsd.pkg.mk"