Subject: pkg/18918: Buildlink2.mk for ffmpeg
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Juan@xtraeme.dyndns.org, RP@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 11/04/2002 11:31:39
>Number:         18918
>Category:       pkg
>Synopsis:       Buildlink2.mk for ffmpeg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 04 02:32:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6K
>Organization:
HispaBSD
>Environment:
System: NetBSD xtraeme.dyndns.org 1.6K NetBSD 1.6K (xtrakernel) #2: Sun Nov 3 16:21:57 CET 2002 root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:

	No there is a buildlink2 for graphics/ffmpeg in packages, copy and paste to buildlink2.mk:

# $NetBSD$
#
# This Makefile fragment is included by packages that use ffmpeg.
#
# This file was created automatically using createbuildlink 2.2.
#

.if !defined(FFMPEG_BUILDLINK2_MK)
FFMPEG_BUILDLINK2_MK=   # defined

BUILDLINK_PACKAGES+=                    ffmpeg
BUILDLINK_DEPENDS.ffmpeg?=              ffmpeg>=0.4.5nb1
BUILDLINK_PKGSRCDIR.ffmpeg?=            ../../graphics/ffmpeg

EVAL_PREFIX+=   BUILDLINK_PREFIX.ffmpeg=ffmpeg
BUILDLINK_PREFIX.ffmpeg_DEFAULT=        ${LOCALBASE}
BUILDLINK_FILES.ffmpeg+=        lib/libav.*
BUILDLINK_FILES.ffmpeg+=        lib/libavcodec.*

.include "../../devel/libgetopt/buildlink2.mk"

BUILDLINK_TARGETS+=     ffmpeg-buildlink

ffmpeg-buildlink: _BUILDLINK_USE

.endif  # FFMPEG_BUILDLINK2_MK
 
>How-To-Repeat:
>Fix:

Many thanks! 
>Release-Note:
>Audit-Trail:
>Unformatted: