blob: 07a94fe29bf3ce688af985a7a95854538c1d205d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: plugins.mk,v 1.3 2004/04/15 21:20:32 jmmv Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GStreamer modules. It takes care of rebuilding the corresponding databases
# at (de)installation time.
#
.if !defined(GSTREAMER_PLUGINS_MK)
GSTREAMER_PLUGINS_MK= # defined
GST_DBDIR= ${BUILDLINK_PREFIX.gstreamer}/libdata/gstreamer-0.8
GST_COMPPREP= ${BUILDLINK_PREFIX.gstreamer}/bin/gst-compprep
GST_REGISTER= ${BUILDLINK_PREFIX.gstreamer}/bin/gst-register
FILES_SUBST+= GST_DBDIR="${GST_DBDIR}"
FILES_SUBST+= GST_COMPPREP="${GST_COMPPREP}"
FILES_SUBST+= GST_REGISTER="${GST_REGISTER}"
INSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer/files/plugins.tmpl
DEINSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer/files/plugins.tmpl
USE_PKGINSTALL= YES
.if defined(_GSTREAMER_NO_DEPEND)
BUILDLINK_PREFIX.gstreamer= ${LOCALBASE}
.else
USE_BUILDLINK3= YES
PRINT_PLIST_AWK+= /^libdata\/gstreamer-0.8/ { next; }
PRINT_PLIST_AWK+= /^@dirrm libdata\/gstreamer-0.8/ { next; }
BUILDLINK_DEPENDS.gstreamer+= gstreamer>=0.8.1
. include "../../multimedia/gstreamer/buildlink3.mk"
.endif
.endif # GSTREAMER_PLUGINS_MK
|