Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # $OpenBSD: Makefile,v 1.53 2017/04/10 11:46:23 sthen Exp $
  2. COMMENT= library for reading and writing QuickTime files
  3. DISTNAME= libquicktime-1.2.4
  4. REVISION= 8
  5. CATEGORIES= multimedia
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libquicktime/}
  7. SHARED_LIBS= quicktime 5.1
  8. HOMEPAGE= http://libquicktime.sourceforge.net/
  9. # LGPLv2.1+
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += GL ICE SM X11 X11-xcb Xau Xaw Xcomposite Xcursor Xdamage
  12. WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xmu Xpm Xrandr Xrender
  13. WANTLIB += Xt Xv Xxf86vm avcodec avutil c cairo drm dv expat faad
  14. WANTLIB += ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
  15. WANTLIB += gio-2.0 glapi glib-2.0 gmodule-2.0 gobject-2.0 graphite2
  16. WANTLIB += gsm gthread-2.0 gtk-x11-2.0 harfbuzz jpeg m mp3lame
  17. WANTLIB += ogg opus pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
  18. WANTLIB += pixman-1 png pthread pthread-stubs sndio speex ${LIBCXX}
  19. WANTLIB += swresample swscale vorbisenc vorbisfile vpx x264 x265
  20. WANTLIB += xcb xcb-dri2 xcb-glx xcb-render xcb-shm xvidcore z
  21. WANTLIB += atk-1.0 vorbis
  22. MODULES= devel/gettext
  23. LIB_DEPENDS= audio/faad \
  24. audio/lame \
  25. audio/libvorbis \
  26. graphics/ffmpeg>=20100512 \
  27. graphics/jpeg \
  28. graphics/png \
  29. multimedia/libdv \
  30. multimedia/x264 \
  31. x11/gtk+2
  32. CONFIGURE_STYLE= gnu
  33. CONFIGURE_ARGS= --enable-gpl \
  34. --enable-static \
  35. --with-libdv \
  36. --without-alsa \
  37. --without-faac \
  38. --without-schroedinger \
  39. --without-doxygen
  40. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  41. LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
  42. ac_cv_lib_ossaudio__oss_ioctl=no \
  43. ac_cv_header_soundcard_h=no
  44. post-install:
  45. @find ${PREFIX}/lib/libquicktime -name '*.a' -print | xargs rm
  46. @find ${PREFIX}/lib -name '*.la' -print | xargs rm
  47. .include <bsd.port.mk>