blob: 7951f862167542ad93c70840854c26543f94dcf7 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# $NetBSD: Makefile,v 1.83 2013/06/04 22:16:46 tron Exp $
#
DISTNAME= avidemux_2.5.4
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 18
CATEGORIES= multimedia
MASTER_SITES= http://download.berlios.de/avidemux/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fixounet.free.fr/avidemux/
COMMENT= Graphical video editing program
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
GCC_REQD+= 3.0
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
USE_CMAKE= yes
CMAKE_ARG_PATH= ..
CONFIGURE_DIRS= _build
CMAKE_ARGS+= -DNO_ARTS=1
CMAKE_ARGS+= -DUSE_SYSTEM_SPIDERMONKEY=1
LIBS+= ${LIBOSSAUDIO}
# make sure __STDC_CONSTANT_MACROS is set before <stdint.h> is
# pulled in the first time - for UINT64_C()
CFLAGS+= -D__STDC_CONSTANT_MACROS
SUBST_CLASSES= audio
SUBST_STAGE.audio= post-patch
SUBST_FILES.audio= plugins/ADM_audioDevices/Oss/ADM_deviceoss.cpp
SUBST_SED.audio= -e "s|\\/dev\\/dsp|${DEVOSSAUDIO}|g"
SUBST_MESSAGE.audio= Fixing hardcoded audio device.
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
INSTALLATION_DIRS= share/applications share/icons/hicolor/64x64/apps
pre-configure:
${MKDIR} ${WRKSRC}/_build
post-configure:
for manual in ${PATCHDIR}/manual-*; do \
cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < $${manual}; \
done
post-install:
${INSTALL_DATA} ${WRKSRC}/avidemux2.desktop \
${DESTDIR}${PREFIX}/share/applications/avidemux2.desktop
${INSTALL_DATA} ${WRKSRC}/avidemux_icon.png \
${DESTDIR}${PREFIX}/share/icons/hicolor/64x64/apps/avidemux.png
.include "options.mk"
.include "../../audio/faac/buildlink3.mk"
.include "../../audio/faad2/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/spidermonkey/buildlink3.mk"
.include "../../multimedia/xvidcore/buildlink3.mk"
.include "../../multimedia/x264-devel/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|