pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg Fix the PLIST handling of the SDL op...
details: https://anonhg.NetBSD.org/pkgsrc/rev/22fa21604cc6
branches: trunk
changeset: 546862:22fa21604cc6
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Mon Sep 08 17:57:02 2008 +0000
description:
Fix the PLIST handling of the SDL option.
Problem reported by Amitai Schlair.
diffstat:
multimedia/ffmpeg/Makefile | 3 ++-
multimedia/ffmpeg/PLIST | 6 +++---
multimedia/ffmpeg/PLIST.sdl | 2 --
multimedia/ffmpeg/options.mk | 10 ++++++----
4 files changed, 11 insertions(+), 10 deletions(-)
diffs (74 lines):
diff -r 69d4863ee261 -r 22fa21604cc6 multimedia/ffmpeg/Makefile
--- a/multimedia/ffmpeg/Makefile Mon Sep 08 17:40:16 2008 +0000
+++ b/multimedia/ffmpeg/Makefile Mon Sep 08 17:57:02 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2008/09/08 00:16:35 ahoka Exp $
+# $NetBSD: Makefile,v 1.39 2008/09/08 17:57:02 ahoka Exp $
DISTNAME= ffmpeg-${DISTVERSION}
PKGNAME= ffmpeg-${DISTVERSION:S/-//g}
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_FREEBSD}
EXTRACT_SUFX= .tar.bz2
diff -r 69d4863ee261 -r 22fa21604cc6 multimedia/ffmpeg/PLIST
--- a/multimedia/ffmpeg/PLIST Mon Sep 08 17:40:16 2008 +0000
+++ b/multimedia/ffmpeg/PLIST Mon Sep 08 17:57:02 2008 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.7 2008/09/07 23:39:37 ahoka Exp $
+@comment $NetBSD: PLIST,v 1.8 2008/09/08 17:57:02 ahoka Exp $
bin/ffmpeg
-bin/ffplay
bin/ffserver
+${PLIST.sdl}bin/ffplay
+${PLIST.sdl}man/man1/ffplay.1
include/libavcodec/avcodec.h
include/libavcodec/opt.h
include/libavdevice/avdevice.h
@@ -65,7 +66,6 @@
lib/pkgconfig/libpostproc.pc
lib/pkgconfig/libswscale.pc
man/man1/ffmpeg.1
-man/man1/ffplay.1
man/man1/ffserver.1
share/doc/ffmpeg/README
share/doc/ffmpeg/TODO
diff -r 69d4863ee261 -r 22fa21604cc6 multimedia/ffmpeg/PLIST.sdl
--- a/multimedia/ffmpeg/PLIST.sdl Mon Sep 08 17:40:16 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.sdl,v 1.1 2008/09/07 23:39:37 ahoka Exp $
-bin/ffplay
diff -r 69d4863ee261 -r 22fa21604cc6 multimedia/ffmpeg/options.mk
--- a/multimedia/ffmpeg/options.mk Mon Sep 08 17:40:16 2008 +0000
+++ b/multimedia/ffmpeg/options.mk Mon Sep 08 17:57:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2008/09/07 23:39:37 ahoka Exp $
+# $NetBSD: options.mk,v 1.8 2008/09/08 17:57:02 ahoka Exp $
# Global and legacy options
@@ -11,6 +11,8 @@
.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= sdl
+
###
### faad option
###
@@ -37,11 +39,11 @@
###
.if !empty(PKG_OPTIONS:Msdl)
-
CONFIGURE_ARGS+= --enable-ffplay
-PLIST_SRC+= ${PKGDIR}/PLIST.sdl
-
+PLIST.sdl= yes
.include "../../devel/SDL/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ffplay
.endif
###
Home |
Main Index |
Thread Index |
Old Index