openbsd-ports/multimedia/libquicktime/Makefile

61 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2009/08/10 06:33:02 kili 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-1.1.1
PKGNAME= ${DISTNAME}p4
CATEGORIES= multimedia
SHARED_LIBS= quicktime 4.0
HOMEPAGE= http://libquicktime.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL ICE SM X11 Xau Xaw Xcomposite Xcursor \
Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender Xt Xv a52 atk-1.0 c cairo expat \
faac faad fontconfig freetype gio-2.0 \
glib-2.0 glitz gmodule-2.0 gobject-2.0 m \
ogg ossaudio pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 pthread theora \
z oil-0.3 schroedinger-1.0 pthread-stubs xcb
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libquicktime/}
MODULES= devel/gettext
BUILD_DEPENDS= :doxygen-*:devel/doxygen
LIB_DEPENDS= avcodec.>=13.1,avutil.>=6,swscale.>=1:ffmpeg->=20080620p10:graphics/ffmpeg \
dv.>=4::multimedia/libdv \
gtk-x11-2.0.>=800.8,gdk-x11-2.0.>=800.8,gdk_pixbuf-2.0.>=800.8::x11/gtk+2 \
jpeg.>=9::graphics/jpeg \
mp3lame::audio/lame \
png.>=4::graphics/png \
vorbis.>=3,vorbisfile.>=4,vorbisenc.>=2::audio/libvorbis \
x264::multimedia/x264
VMEM_WARNING= Yes
USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
MAKE_ENV= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
ac_cv_search_pthread_create=-pthread
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-gpl \
--with-libdv \
--without-alsa
.include <bsd.port.mk>