Update to 1.0.5: bugfixes and misc speedups.diff -r1.41 -r1.42 pkgsrc/multimedia/transcode/Makefile
(xtraeme)
@@ -1,55 +1,54 @@ | @@ -1,55 +1,54 @@ | |||
1 | # $NetBSD: Makefile,v 1.41 2007/12/02 11:36:54 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.42 2008/02/20 10:20:04 xtraeme Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= transcode-1.0.3 | 4 | DISTNAME= transcode-1.0.5 | |
5 | PKGREVISION= 1 | 5 | #PKGREVISION= 1 | |
6 | CATEGORIES= multimedia | 6 | CATEGORIES= multimedia | |
7 | MASTER_SITES= http://fromani.exit1.org/ \ | 7 | MASTER_SITES= http://fromani.exit1.org/ | |
8 | http://www.jakemsr.com/transcode/ | |||
9 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
10 | 9 | |||
11 | MAINTAINER= xtraeme@NetBSD.org | 10 | MAINTAINER= xtraeme@NetBSD.org | |
12 | HOMEPAGE= http://www.transcoding.org/ | 11 | HOMEPAGE= http://www.transcoding.org/ | |
13 | COMMENT= Command line video-stream processing tool | 12 | COMMENT= Command line video-stream processing tool | |
14 | 13 | |||
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | USE_TOOLS+= awk:run gmake pkg-config | 16 | USE_TOOLS+= awk:run gmake pkg-config | |
18 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
19 | 18 | |||
20 | CONFIGURE_ENV+= PATH_TO_AWK=${AWK:Q} | 19 | CONFIGURE_ENV+= PATH_TO_AWK=${AWK:Q} | |
21 | CONFIGURE_ARGS+= --disable-libpostproc | 20 | CONFIGURE_ARGS+= --enable-libpostproc | |
22 | CONFIGURE_ARGS+= --with-libavcodec-prefix=${BUILDLINK_PREFIX.ffmpeg} | 21 | CONFIGURE_ARGS+= \ | |
22 | --with-libavcodec-prefix=${BUILDLINK_PREFIX.ffmpeg-devel} | |||
23 | CONFIGURE_ARGS+= --enable-oss | 23 | CONFIGURE_ARGS+= --enable-oss | |
24 | CONFIGURE_ARGS+= --disable-xio | 24 | CONFIGURE_ARGS+= --disable-xio | |
25 | 25 | |||
26 | PTHREAD_AUTO_VARS= yes | |||
27 | PTHREAD_OPTS= require | |||
26 | LIBS+= ${LIBOSSAUDIO} | 28 | LIBS+= ${LIBOSSAUDIO} | |
27 | 29 | |||
28 | .include "../../mk/compiler.mk" | 30 | post-install: | |
29 | 31 | rm -f ${PREFIX}/lib/transcode/export_xvid.so | ||
30 | .if !empty(CC_VERSION:Mgcc-4*) | |||
31 | PLIST_SUBST+= TOMSMOCOMP='@comment ' | |||
32 | .else | |||
33 | PLIST_SUBST+= TOMSMOCOMP= | |||
34 | .endif | |||
35 | 32 | |||
36 | .include "options.mk" | 33 | .include "options.mk" | |
34 | .include "../../audio/faac/buildlink3.mk" | |||
37 | .include "../../audio/lame/buildlink3.mk" | 35 | .include "../../audio/lame/buildlink3.mk" | |
38 | .include "../../audio/libvorbis/buildlink3.mk" | 36 | .include "../../audio/libvorbis/buildlink3.mk" | |
39 | .include "../../converters/libiconv/buildlink3.mk" | 37 | .include "../../converters/libiconv/buildlink3.mk" | |
40 | .include "../../devel/zlib/buildlink3.mk" | 38 | .include "../../devel/zlib/buildlink3.mk" | |
41 | .include "../../graphics/jpeg/buildlink3.mk" | 39 | .include "../../graphics/jpeg/buildlink3.mk" | |
42 | .include "../../graphics/png/buildlink3.mk" | 40 | .include "../../graphics/png/buildlink3.mk" | |
43 | .include "../../multimedia/ffmpeg/buildlink3.mk" | 41 | .include "../../multimedia/ffmpeg-devel/buildlink3.mk" | |
44 | .include "../../multimedia/libdvdread/buildlink3.mk" | 42 | .include "../../multimedia/libdvdread/buildlink3.mk" | |
45 | .include "../../multimedia/libmpeg2/buildlink3.mk" | 43 | .include "../../multimedia/libmpeg2/buildlink3.mk" | |
46 | .include "../../multimedia/libogg/buildlink3.mk" | 44 | .include "../../multimedia/libogg/buildlink3.mk" | |
47 | .include "../../multimedia/libtheora/buildlink3.mk" | 45 | .include "../../multimedia/libtheora/buildlink3.mk" | |
46 | .include "../../multimedia/x264-devel/buildlink3.mk" | |||
48 | .include "../../x11/libXaw/buildlink3.mk" | 47 | .include "../../x11/libXaw/buildlink3.mk" | |
49 | .include "../../x11/libXext/buildlink3.mk" | 48 | .include "../../x11/libXext/buildlink3.mk" | |
50 | .include "../../x11/libXpm/buildlink3.mk" | 49 | .include "../../x11/libXpm/buildlink3.mk" | |
51 | .include "../../x11/libXv/buildlink3.mk" | 50 | .include "../../x11/libXv/buildlink3.mk" | |
52 | .include "../../x11/xextproto/buildlink3.mk" | 51 | .include "../../x11/xextproto/buildlink3.mk" | |
53 | .include "../../mk/oss.buildlink3.mk" | 52 | .include "../../mk/oss.buildlink3.mk" | |
54 | .include "../../mk/pthread.buildlink3.mk" | 53 | .include "../../mk/pthread.buildlink3.mk" | |
55 | .include "../../mk/bsd.pkg.mk" | 54 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.8 2006/08/24 16:06:25 xtraeme Exp $ | 1 | @comment $NetBSD: PLIST,v 1.9 2008/02/20 10:20:04 xtraeme Exp $ | |
2 | bin/avifix | 2 | bin/avifix | |
3 | bin/aviindex | 3 | bin/aviindex | |
4 | bin/avimerge | 4 | bin/avimerge | |
5 | bin/avisplit | 5 | bin/avisplit | |
6 | bin/avisync | 6 | bin/avisync | |
7 | bin/tccat | 7 | bin/tccat | |
8 | bin/tcdecode | 8 | bin/tcdecode | |
9 | bin/tcdemux | 9 | bin/tcdemux | |
10 | bin/tcextract | 10 | bin/tcextract | |
11 | bin/tcmodinfo | 11 | bin/tcmodinfo | |
12 | bin/tcmp3cut | 12 | bin/tcmp3cut | |
13 | bin/tcprobe | 13 | bin/tcprobe | |
14 | bin/tcrequant | 14 | bin/tcrequant | |
@@ -34,27 +34,26 @@ lib/transcode/export_lame.la | @@ -34,27 +34,26 @@ lib/transcode/export_lame.la | |||
34 | lib/transcode/export_mjpeg.la | 34 | lib/transcode/export_mjpeg.la | |
35 | lib/transcode/export_mp1e.la | 35 | lib/transcode/export_mp1e.la | |
36 | lib/transcode/export_mp2.la | 36 | lib/transcode/export_mp2.la | |
37 | ${MJPEGTOOLS}lib/transcode/export_mp2enc.la | 37 | ${MJPEGTOOLS}lib/transcode/export_mp2enc.la | |
38 | ${MJPEGTOOLS}lib/transcode/export_mpeg2enc.la | 38 | ${MJPEGTOOLS}lib/transcode/export_mpeg2enc.la | |
39 | lib/transcode/export_null.la | 39 | lib/transcode/export_null.la | |
40 | lib/transcode/export_ogg.la | 40 | lib/transcode/export_ogg.la | |
41 | lib/transcode/export_pcm.la | 41 | lib/transcode/export_pcm.la | |
42 | lib/transcode/export_ppm.la | 42 | lib/transcode/export_ppm.la | |
43 | lib/transcode/export_pvn.la | 43 | lib/transcode/export_pvn.la | |
44 | lib/transcode/export_raw.la | 44 | lib/transcode/export_raw.la | |
45 | lib/transcode/export_toolame.la | 45 | lib/transcode/export_toolame.la | |
46 | lib/transcode/export_wav.la | 46 | lib/transcode/export_wav.la | |
47 | lib/transcode/export_xvid.so | |||
48 | lib/transcode/export_xvid2.la | 47 | lib/transcode/export_xvid2.la | |
49 | lib/transcode/export_xvid3.la | 48 | lib/transcode/export_xvid3.la | |
50 | lib/transcode/export_xvid4.la | 49 | lib/transcode/export_xvid4.la | |
51 | ${MJPEGTOOLS}lib/transcode/export_yuv4mpeg.la | 50 | ${MJPEGTOOLS}lib/transcode/export_yuv4mpeg.la | |
52 | lib/transcode/filter_29to23.la | 51 | lib/transcode/filter_29to23.la | |
53 | lib/transcode/filter_32detect.la | 52 | lib/transcode/filter_32detect.la | |
54 | lib/transcode/filter_32drop.la | 53 | lib/transcode/filter_32drop.la | |
55 | lib/transcode/filter_aclip.la | 54 | lib/transcode/filter_aclip.la | |
56 | lib/transcode/filter_ascii.la | 55 | lib/transcode/filter_ascii.la | |
57 | lib/transcode/filter_astat.la | 56 | lib/transcode/filter_astat.la | |
58 | lib/transcode/filter_clone.la | 57 | lib/transcode/filter_clone.la | |
59 | ${IMAGEMAGICK}lib/transcode/filter_compare.la | 58 | ${IMAGEMAGICK}lib/transcode/filter_compare.la | |
60 | lib/transcode/filter_control.la | 59 | lib/transcode/filter_control.la | |
@@ -80,41 +79,42 @@ lib/transcode/filter_invert.la | @@ -80,41 +79,42 @@ lib/transcode/filter_invert.la | |||
80 | lib/transcode/filter_ivtc.la | 79 | lib/transcode/filter_ivtc.la | |
81 | lib/transcode/filter_levels.la | 80 | lib/transcode/filter_levels.la | |
82 | lib/transcode/filter_list.awk | 81 | lib/transcode/filter_list.awk | |
83 | ${IMAGEMAGICK}lib/transcode/filter_logo.la | 82 | ${IMAGEMAGICK}lib/transcode/filter_logo.la | |
84 | ${IMAGEMAGICK}lib/transcode/filter_logoaway.la | 83 | ${IMAGEMAGICK}lib/transcode/filter_logoaway.la | |
85 | lib/transcode/filter_lowpass.la | 84 | lib/transcode/filter_lowpass.la | |
86 | lib/transcode/filter_mask.la | 85 | lib/transcode/filter_mask.la | |
87 | lib/transcode/filter_modfps.la | 86 | lib/transcode/filter_modfps.la | |
88 | lib/transcode/filter_msharpen.la | 87 | lib/transcode/filter_msharpen.la | |
89 | lib/transcode/filter_nored.la | 88 | lib/transcode/filter_nored.la | |
90 | lib/transcode/filter_normalize.la | 89 | lib/transcode/filter_normalize.la | |
91 | lib/transcode/filter_null.la | 90 | lib/transcode/filter_null.la | |
92 | ${DV}lib/transcode/filter_preview.la | 91 | ${DV}lib/transcode/filter_preview.la | |
92 | lib/transcode/filter_pp.la | |||
93 | lib/transcode/filter_pv.la | 93 | lib/transcode/filter_pv.la | |
94 | lib/transcode/filter_resample.la | 94 | lib/transcode/filter_resample.la | |
95 | lib/transcode/filter_skip.la | 95 | lib/transcode/filter_skip.la | |
96 | lib/transcode/filter_slowmo.la | 96 | lib/transcode/filter_slowmo.la | |
97 | lib/transcode/filter_smartbob.la | 97 | lib/transcode/filter_smartbob.la | |
98 | lib/transcode/filter_smartdeinter.la | 98 | lib/transcode/filter_smartdeinter.la | |
99 | lib/transcode/filter_smartyuv.la | 99 | lib/transcode/filter_smartyuv.la | |
100 | lib/transcode/filter_smooth.la | 100 | lib/transcode/filter_smooth.la | |
101 | ${MPEG3}lib/transcode/filter_subtitler.la | 101 | ${MPEG3}lib/transcode/filter_subtitler.la | |
102 | lib/transcode/filter_tc_audio.la | 102 | lib/transcode/filter_tc_audio.la | |
103 | lib/transcode/filter_tc_video.la | 103 | lib/transcode/filter_tc_video.la | |
104 | lib/transcode/filter_test.la | 104 | lib/transcode/filter_test.la | |
105 | lib/transcode/filter_testframe.la | 105 | lib/transcode/filter_testframe.la | |
106 | ${FREETYPE2}lib/transcode/filter_text.la | 106 | ${FREETYPE2}lib/transcode/filter_text.la | |
107 | ${TOMSMOCOMP}lib/transcode/filter_tomsmocomp.la | 107 | lib/transcode/filter_tomsmocomp.la | |
108 | lib/transcode/filter_unsharp.la | 108 | lib/transcode/filter_unsharp.la | |
109 | lib/transcode/filter_videocore.la | 109 | lib/transcode/filter_videocore.la | |
110 | lib/transcode/filter_whitebalance.la | 110 | lib/transcode/filter_whitebalance.la | |
111 | lib/transcode/filter_xsharpen.la | 111 | lib/transcode/filter_xsharpen.la | |
112 | lib/transcode/filter_yuvdenoise.la | 112 | lib/transcode/filter_yuvdenoise.la | |
113 | lib/transcode/filter_yuvmedian.la | 113 | lib/transcode/filter_yuvmedian.la | |
114 | lib/transcode/filter_yuy2toyv12.la | 114 | lib/transcode/filter_yuy2toyv12.la | |
115 | lib/transcode/import_ac3.la | 115 | lib/transcode/import_ac3.la | |
116 | lib/transcode/import_avi.la | 116 | lib/transcode/import_avi.la | |
117 | lib/transcode/import_bsdav.la | 117 | lib/transcode/import_bsdav.la | |
118 | lib/transcode/import_divx.la | 118 | lib/transcode/import_divx.la | |
119 | lib/transcode/import_dv.la | 119 | lib/transcode/import_dv.la | |
120 | lib/transcode/import_dvd.la | 120 | lib/transcode/import_dvd.la |
@@ -1,27 +1,15 @@ | @@ -1,27 +1,15 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2007/08/09 20:06:35 drochner Exp $ | 1 | $NetBSD: distinfo,v 1.12 2008/02/20 10:20:04 xtraeme Exp $ | |
2 | 2 | |||
3 | SHA1 (transcode-1.0.3.tar.bz2) = 80617acac039bbab66ae36f6e11469e3f759d59e | 3 | SHA1 (transcode-1.0.5.tar.bz2) = 96f8746a8d54c3ed78f0b5eb32ff7c72313e8e6b | |
4 | RMD160 (transcode-1.0.3.tar.bz2) = f7c2db91be55c14a8e59eee4467a7f6a1bd73c83 | 4 | RMD160 (transcode-1.0.5.tar.bz2) = 7f335fa3f3df4f178b82314bfe661aa34f75e693 | |
5 | Size (transcode-1.0.3.tar.bz2) = 1987499 bytes | 5 | Size (transcode-1.0.5.tar.bz2) = 1989934 bytes | |
6 | SHA1 (patch-aa) = 01c2093ff606b4a0744dd0b8e5422277d081b8f2 | 6 | SHA1 (patch-aa) = 01c2093ff606b4a0744dd0b8e5422277d081b8f2 | |
7 | SHA1 (patch-ab) = ce8477442d9e9bb5680fef2aacd6e496f95a5ff2 | 7 | SHA1 (patch-ab) = ce8477442d9e9bb5680fef2aacd6e496f95a5ff2 | |
8 | SHA1 (patch-ac) = 1e5fa05a1238b8e20f7f89a8f3d1c3cda55cbe49 | 8 | SHA1 (patch-ac) = 1e5fa05a1238b8e20f7f89a8f3d1c3cda55cbe49 | |
9 | SHA1 (patch-ad) = a520f32c75bb4a811be7801afbec4a783cf36c00 | |||
10 | SHA1 (patch-ae) = 901c88fb1a47d9a4b084d2d3918390584cdf9c42 | 9 | SHA1 (patch-ae) = 901c88fb1a47d9a4b084d2d3918390584cdf9c42 | |
11 | SHA1 (patch-af) = 1133631c4a6c2396bf8628bfa9b2b26ad3a5b9ac | |||
12 | SHA1 (patch-ag) = 00a9341dc359e88e8664c41366a72d1790466244 | |||
13 | SHA1 (patch-ah) = d7c52dfc0f142cad2714e184723c1546b4431f97 | |||
14 | SHA1 (patch-ai) = 366ebfbf3de0d4eb53104bad6645056e8b7b8397 | |||
15 | SHA1 (patch-aj) = ff2d3ed5e82d4c669561ab041fb709ff3db91f75 | 10 | SHA1 (patch-aj) = ff2d3ed5e82d4c669561ab041fb709ff3db91f75 | |
16 | SHA1 (patch-ak) = d144d8c9b3188c5fcd05454e267a9931240e7c1e | |||
17 | SHA1 (patch-al) = bd2720a89ecfb86d8e1cc28e87931316082a6861 | |||
18 | SHA1 (patch-am) = 967a7ba589386a8130e1ff2756d7e1787d40e03f | |||
19 | SHA1 (patch-an) = 897e096d31db4e6602e4a0999d22f187f694f4c3 | |||
20 | SHA1 (patch-ao) = 4ece2603c4d504911cb3669e10222cb5bfd95caa | 11 | SHA1 (patch-ao) = 4ece2603c4d504911cb3669e10222cb5bfd95caa | |
21 | SHA1 (patch-ap) = 29e723a35d40e66086dc5064acf471c05c3911bc | |||
22 | SHA1 (patch-aq) = 8ed8767cd09d49a9d1fe210058ded77e32c59242 | |||
23 | SHA1 (patch-ar) = 7b25af9639cb74705335840965f46f96c8f1a9e1 | |||
24 | SHA1 (patch-as) = f52658ae005ad3d68134a33878eb634e949a269a | 12 | SHA1 (patch-as) = f52658ae005ad3d68134a33878eb634e949a269a | |
25 | SHA1 (patch-at) = 60e6c507049e3fd1723440859b90e828aac968ad | 13 | SHA1 (patch-at) = 60e6c507049e3fd1723440859b90e828aac968ad | |
26 | SHA1 (patch-au) = 3d06c68c60cda13d235a440b13a07d11b8de7877 | 14 | SHA1 (patch-au) = 3d06c68c60cda13d235a440b13a07d11b8de7877 | |
27 | SHA1 (patch-av) = 40f3a47adedce2a9286d4b3e1204266f46e3e4f7 | 15 | SHA1 (patch-av) = 40f3a47adedce2a9286d4b3e1204266f46e3e4f7 |
@@ -1,21 +1,22 @@ | @@ -1,21 +1,22 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2006/01/25 08:53:34 xtraeme Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2008/02/20 10:20:04 xtraeme Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.transcode | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.transcode | |
5 | PKG_SUPPORTED_OPTIONS= a52 freetype2 mjpegtools mpeg3 lzo libxml2 | 5 | PKG_SUPPORTED_OPTIONS= a52 freetype2 mjpegtools mpeg3 lzo libxml2 | |
6 | PKG_SUPPORTED_OPTIONS+= dv gtk imagemagick | 6 | PKG_SUPPORTED_OPTIONS+= dv imagemagick | |
7 | 7 | |||
8 | PKG_SUGGESTED_OPTIONS= a52 freetype2 mjpegtools mpeg3 libxml2 imagemagick | 8 | PKG_SUGGESTED_OPTIONS= a52 freetype2 mjpegtools mpeg3 libxml2 | |
9 | PKG_SUGGESTED_OPTIONS+= imagemagick | |||
9 | 10 | |||
10 | .include "../../mk/bsd.options.mk" | 11 | .include "../../mk/bsd.options.mk" | |
11 | 12 | |||
12 | .if !empty(PKG_OPTIONS:Ma52) | 13 | .if !empty(PKG_OPTIONS:Ma52) | |
13 | . include "../../audio/liba52/buildlink3.mk" | 14 | . include "../../audio/liba52/buildlink3.mk" | |
14 | CONFIGURE_ARGS+= --enable-a52 | 15 | CONFIGURE_ARGS+= --enable-a52 | |
15 | CONFIGURE_ARGS+= --enable-a52-default-decoder | 16 | CONFIGURE_ARGS+= --enable-a52-default-decoder | |
16 | PLIST_SUBST+= A52= | 17 | PLIST_SUBST+= A52= | |
17 | .else | 18 | .else | |
18 | PLIST_SUBST+= A52='@comment ' | 19 | PLIST_SUBST+= A52='@comment ' | |
19 | CONFIGURE_ARGS+= --disable-a52 | 20 | CONFIGURE_ARGS+= --disable-a52 | |
20 | .endif | 21 | .endif | |
21 | 22 | |||
@@ -28,66 +29,59 @@ PLIST_SUBST+= FREETYPE2='@comment ' | @@ -28,66 +29,59 @@ PLIST_SUBST+= FREETYPE2='@comment ' | |||
28 | CONFIGURE_ARGS+= --disable-freetype2 | 29 | CONFIGURE_ARGS+= --disable-freetype2 | |
29 | .endif | 30 | .endif | |
30 | 31 | |||
31 | .if !empty(PKG_OPTIONS:Mmjpegtools) | 32 | .if !empty(PKG_OPTIONS:Mmjpegtools) | |
32 | . include "../../multimedia/mjpegtools/buildlink3.mk" | 33 | . include "../../multimedia/mjpegtools/buildlink3.mk" | |
33 | PLIST_SUBST+= MJPEGTOOLS= | 34 | PLIST_SUBST+= MJPEGTOOLS= | |
34 | CONFIGURE_ARGS+= --enable-mjpegtools | 35 | CONFIGURE_ARGS+= --enable-mjpegtools | |
35 | .else | 36 | .else | |
36 | PLIST_SUBST+= MJPEGTOOLS='@comment ' | 37 | PLIST_SUBST+= MJPEGTOOLS='@comment ' | |
37 | CONFIGURE_ARGS+= --disable-mjpegtools | 38 | CONFIGURE_ARGS+= --disable-mjpegtools | |
38 | .endif | 39 | .endif | |
39 | 40 | |||
40 | .if !empty(PKG_OPTIONS:Mmpeg3) | 41 | .if !empty(PKG_OPTIONS:Mmpeg3) | |
42 | BUILDLINK_API_DEPENDS.libmpeg3+= libmpeg3>=1.7 | |||
41 | PLIST_SUBST+= MPEG3= | 43 | PLIST_SUBST+= MPEG3= | |
42 | . include "../../multimedia/libmpeg3/buildlink3.mk" | 44 | . include "../../multimedia/libmpeg3/buildlink3.mk" | |
45 | CONFIGURE_ARGS+= --with-libmpeg3-prefix=${BUILDLINK_PREFIX.libmpeg3} | |||
43 | CONFIGURE_ARGS+= --enable-libmpeg3 | 46 | CONFIGURE_ARGS+= --enable-libmpeg3 | |
44 | .else | 47 | .else | |
45 | PLIST_SUBST+= MPEG3='@comment ' | 48 | PLIST_SUBST+= MPEG3='@comment ' | |
46 | CONFIGURE_ARGS+= --disable-libmpeg3 | 49 | CONFIGURE_ARGS+= --disable-libmpeg3 | |
47 | .endif | 50 | .endif | |
48 | 51 | |||
49 | .if !empty(PKG_OPTIONS:Mlzo) | 52 | .if !empty(PKG_OPTIONS:Mlzo) | |
50 | PLIST_SUBST+= LZO= | 53 | PLIST_SUBST+= LZO= | |
51 | . include "../../archivers/lzo/buildlink3.mk" | 54 | . include "../../archivers/lzo/buildlink3.mk" | |
52 | CONFIGURE_ARGS+= --enable-lzo | 55 | CONFIGURE_ARGS+= --enable-lzo | |
53 | CONFIGURE_ARGS+= --with-lzo-includes=${BUILDLINK_PREFIX.lzo}/include/lzo | 56 | CONFIGURE_ARGS+= --with-lzo-prefix==${BUILDLINK_PREFIX.lzo} | |
54 | .else | 57 | .else | |
55 | PLIST_SUBST+= LZO='@comment ' | 58 | PLIST_SUBST+= LZO='@comment ' | |
56 | CONFIGURE_ARGS+= --disable-lzo | 59 | CONFIGURE_ARGS+= --disable-lzo | |
57 | .endif | 60 | .endif | |
58 | 61 | |||
59 | .if !empty(PKG_OPTIONS:Mlibxml2) | 62 | .if !empty(PKG_OPTIONS:Mlibxml2) | |
60 | PLIST_SUBST+= LIBXML2= | 63 | PLIST_SUBST+= LIBXML2= | |
61 | . include "../../textproc/libxml2/buildlink3.mk" | 64 | . include "../../textproc/libxml2/buildlink3.mk" | |
62 | CONFIGURE_ARGS+= --enable-libxml2 | 65 | CONFIGURE_ARGS+= --enable-libxml2 | |
63 | .else | 66 | .else | |
64 | PLIST_SUBST+= LIBXML2='@comment ' | 67 | PLIST_SUBST+= LIBXML2='@comment ' | |
65 | CONFIGURE_ARGS+= --disable-libxml2 | 68 | CONFIGURE_ARGS+= --disable-libxml2 | |
66 | .endif | 69 | .endif | |
67 | 70 | |||
68 | .if !empty(PKG_OPTIONS:Mdv) | 71 | .if !empty(PKG_OPTIONS:Mdv) | |
69 | PLIST_SUBST+= DV= | 72 | PLIST_SUBST+= DV= | |
70 | . include "../../multimedia/libdv/buildlink3.mk" | 73 | . include "../../multimedia/libdv/buildlink3.mk" | |
71 | CONFIGURE_ARGS+= --enable-libdv | 74 | CONFIGURE_ARGS+= --enable-libdv | |
72 | .else | 75 | .else | |
73 | PLIST_SUBST+= DV='@comment ' | 76 | PLIST_SUBST+= DV='@comment ' | |
74 | CONFIGURE_ARGS+= --disable-libdv | 77 | CONFIGURE_ARGS+= --disable-libdv | |
75 | .endif | 78 | .endif | |
76 | 79 | |||
77 | .if !empty(PKG_OPTIONS:Mgtk) | |||
78 | PLIST_SUBST+= GTK= | |||
79 | . include "../../x11/gtk/buildlink3.mk" | |||
80 | CONFIGURE_ARGS+= --enable-gtk | |||
81 | .else | |||
82 | PLIST_SUBST+= GTK='@comment ' | |||
83 | CONFIGURE_ARGS+= --disable-gtk | |||
84 | .endif | |||
85 | ||||
86 | .if !empty(PKG_OPTIONS:Mimagemagick) | 80 | .if !empty(PKG_OPTIONS:Mimagemagick) | |
87 | PLIST_SUBST+= IMAGEMAGICK= | 81 | PLIST_SUBST+= IMAGEMAGICK= | |
88 | . include "../../graphics/ImageMagick/buildlink3.mk" | 82 | . include "../../graphics/ImageMagick/buildlink3.mk" | |
89 | CONFIGURE_ARGS+= --enable-imagemagick | 83 | CONFIGURE_ARGS+= --enable-imagemagick | |
90 | .else | 84 | .else | |
91 | PLIST_SUBST+= IMAGEMAGICK='@comment ' | 85 | PLIST_SUBST+= IMAGEMAGICK='@comment ' | |
92 | CONFIGURE_ARGS+= --disable-imagemagick | 86 | CONFIGURE_ARGS+= --disable-imagemagick | |
93 | .endif | 87 | .endif |