pkgsrc/multimedia/avidemux/Makefile

58 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2005/12/11 09:40:45 wiz Exp $
#
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
DISTNAME= avidemux-2.0.40
PKGREVISION= 1
CATEGORIES= multimedia
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
MASTER_SITES= http://download.berlios.de/avidemux/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://fixounet.free.fr/avidemux/
COMMENT= Graphical video editing program
GCC_REQD+= 3.0
GNU_CONFIGURE= YES
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
USE_TOOLS+= gmake pkg-config
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
LDFLAGS+= ${LIBOSSAUDIO}
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
CONFIGURE_ENV+= ac_cv_path_ART_CONFIG=no
CONFIGURE_ARGS+= --disable-faad # Dolby doesn't allow binary distribution
.include "../../mk/bsd.prefs.mk"
2005-06-01 20:37:27 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux
.if ${MACHINE_ARCH} == "i386"
2005-06-01 20:37:27 +02:00
PKG_SUPPORTED_OPTIONS= mmx
.endif
2005-06-01 20:37:27 +02:00
.include "../../mk/bsd.options.mk"
2004-03-11 11:38:01 +01:00
2005-06-01 20:37:27 +02:00
.if empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --disable-mmx
post-configure:
${MV} ${WRKSRC}/adm_lavcodec/config.mak \
${WRKSRC}/adm_lavcodec/config.mak.in
${SED} -e 's/TARGET_MMX=yes/TARGET_MMX=no/g' \
< ${WRKSRC}/adm_lavcodec/config.mak.in \
> ${WRKSRC}/adm_lavcodec/config.mak
.endif
Update to avidemux-2.0.40 Numerous releases and fixes since 2.0.18. Most recent changes include: * miniocr fix : Fix error on decoding some subs. * xvideco fix : Fix compilation issue. * ffv1rec fix : Fix compilation issue. * SSE2 display fix : SSE2 cpu flag display. * Mplayer resize fix : Caused crash in some case. * [Filter] Ported Asharp by MarcFD . * [Filter] Mplayer Eq2 is now completly ported. * [Cli ] New cli command --rebuild-index. * [Video ] Accelerated playback selectable in misc/pref. * [Audio ] Fixed mp3 decoding on low frequency mpeg. * [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases). * [Codec ] Fixed save as huffyuv. * [Codec ] Fixed save jpeg. * [Export] Fixed race in mpeg ps export (thanks to T. Rupp). * [Import] Support mov file starting by skip atom. See website news for more changes. I never tested the USE_MMX. And the webpage says the --disable-mmx has been removed and all x86 stuff is now probed at run time, so maybe get rid of USE_MMX support for this? Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received cc1: Invalid option `-falign-loops=16' and various warnings. Reworded part of DESCRiption. And this does support divx. Updated MASTER_SITES. Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support removed and maybe will be readded later according to author. Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because "`DEVOSSAUDIO' was not declared in this scope". Sorted some settings. Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM. I didn't need them, but maybe on another system they are needed. Disable faad support since Dolby doesn't allow binary distributions. Add faac support. Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead. Just let regular install target install it. (This is slow though.) Update PLIST. Name this avidemux2 with the two as the author requests.
2005-05-28 07:52:18 +02:00
.include "../../audio/faac/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../multimedia/mjpegtools/buildlink3.mk"
.include "../../multimedia/xvidcore/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"