openbsd-ports/multimedia/libquicktime/Makefile

57 lines
1.7 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2007/05/25 16:03:57 jakemsr Exp $
# $FreeBSD: ports/multimedia/libquicktime/Makefile,v 1.19 2004/03/16 04:23:53 edwin Exp $
SHARED_ONLY= Yes
COMMENT= library for reading and writing quicktime files
DISTNAME= libquicktime-0.9.7
PKGNAME= ${DISTNAME}p3
CATEGORIES= multimedia
SHARED_LIBS= quicktime 2.0
HOMEPAGE= http://libquicktime.sourceforge.net/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL GLU ICE SM X11 Xau Xaw Xcursor Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender Xt Xv \
atk-1.0.>=1011.3 c expat fontconfig freetype \
2006-08-03 19:55:10 -04:00
glib-2.0.>=800.3 gmodule-2.0.>=800.3 \
gobject-2.0.>=800.3 m ogg ossaudio \
pango-1.0.>=1001.1 pangocairo-1.0.>=1001.1 \
cairo glitz pangoft2-1.0.>=1001.1 pthread z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libquicktime/}
MODULES= devel/gettext
2006-08-03 19:15:57 -04:00
LIB_DEPENDS= vorbis.>=3,vorbisfile.>=4,vorbisenc.>=2::audio/libvorbis \
jpeg.>=9::graphics/jpeg \
png.>=4::graphics/png \
dv.>=4::multimedia/libdv \
mp3lame::audio/lame \
avcodec.>=7::graphics/ffmpeg \
2006-08-03 19:15:57 -04:00
gtk-x11-2.0.>=800.8,gdk-x11-2.0.>=800.8,gdk_pixbuf-2.0.>=800.8::x11/gtk+2
VMEM_WARNING= Yes
AUTOCONF_VERSION= 2.59
2006-11-13 06:20:24 -05:00
USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
AVCODEC_LIBS="$$(pkg-config --libs libavcodec)"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-firewire \
--with-avcodec="${LOCALBASE}" \
--with-vorbis-libraries="${LOCALBASE}/lib -logg"
.include <bsd.port.mk>