diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-10-10 06:05:57 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-10-10 06:05:57 +0800 |
commit | f97b87bd5aa1268af52c1d054c0f1e072819b079 (patch) | |
tree | 04a71857d93428b8fe459bf0ec9ddeb363d5f0fb /multimedia/libva-vdpau-driver | |
parent | 3dbe190cec536875267ceb44bb599f29bf28afeb (diff) | |
download | freebsd-ports-gnome-f97b87bd5aa1268af52c1d054c0f1e072819b079.tar.gz freebsd-ports-gnome-f97b87bd5aa1268af52c1d054c0f1e072819b079.tar.zst freebsd-ports-gnome-f97b87bd5aa1268af52c1d054c0f1e072819b079.zip |
- Move vdpau-video to libva-vdpau-driver to follow upstream project
name change
- Update to 0.7.4
- Take maintainership
- Update master site
- Undeprecate
- Remove ABI version number from LIB_DEPENDS
- Convert to new options framework
- Add note in UPDATING about the move
Diffstat (limited to 'multimedia/libva-vdpau-driver')
-rw-r--r-- | multimedia/libva-vdpau-driver/Makefile | 46 | ||||
-rw-r--r-- | multimedia/libva-vdpau-driver/distinfo | 2 | ||||
-rw-r--r-- | multimedia/libva-vdpau-driver/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/libva-vdpau-driver/pkg-plist | 5 |
4 files changed, 56 insertions, 0 deletions
diff --git a/multimedia/libva-vdpau-driver/Makefile b/multimedia/libva-vdpau-driver/Makefile new file mode 100644 index 000000000000..78eca4a2b370 --- /dev/null +++ b/multimedia/libva-vdpau-driver/Makefile @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= libva-vdpau-driver +PORTVERSION= 0.7.4 +CATEGORIES= multimedia +MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ + +MAINTAINER= madpilot@FreeBSD.org +COMMENT= A VDPAU-based backend for VAAPI + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + +LIB_DEPENDS= vdpau:${PORTSDIR}/multimedia/libvdpau +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libva.pc:${PORTSDIR}/multimedia/libva \ + ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat + +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING +USE_BZIP2= yes +USE_GMAKE= yes +USE_GL= gl + +GNU_CONFIGURE= yes +CPPFLAGS+= -isystem${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +OPTIONS_DEFINE= DEBUG STRIP + +.include <bsd.port.options.mk> + +.if empty(PORT_OPTIONS:MDEBUG) +CONFIGURE_ARGS+= --disable-debug +.endif + +.if ${PORT_OPTIONS:MSTRIP} +INSTALL_TARGET= install-strip +.endif + +post-patch: .SILENT + ${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; \ + s/-lrt//; s/-lpthread/${PTHREAD_LIBS}/; }' \ + -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ + -e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/multimedia/libva-vdpau-driver/distinfo b/multimedia/libva-vdpau-driver/distinfo new file mode 100644 index 000000000000..0b4a91c41969 --- /dev/null +++ b/multimedia/libva-vdpau-driver/distinfo @@ -0,0 +1,2 @@ +SHA256 (libva-vdpau-driver-0.7.4.tar.bz2) = 155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9 +SIZE (libva-vdpau-driver-0.7.4.tar.bz2) = 316729 diff --git a/multimedia/libva-vdpau-driver/pkg-descr b/multimedia/libva-vdpau-driver/pkg-descr new file mode 100644 index 000000000000..1d9e9ff29e0d --- /dev/null +++ b/multimedia/libva-vdpau-driver/pkg-descr @@ -0,0 +1,3 @@ +A VDPAU-based backend for VAAPI. + +WWW: http://www.splitted-desktop.com/~gbeauchesne/ diff --git a/multimedia/libva-vdpau-driver/pkg-plist b/multimedia/libva-vdpau-driver/pkg-plist new file mode 100644 index 000000000000..657c8fc4acaf --- /dev/null +++ b/multimedia/libva-vdpau-driver/pkg-plist @@ -0,0 +1,5 @@ +lib/va/nvidia_drv_video.so +lib/va/s3g_drv_video.so +lib/va/vdpau_drv_video.la +lib/va/vdpau_drv_video.so +@dirrmtry lib/va |