summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-19 13:48:31 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-19 13:48:31 +0000
commitdbf7842301b5278933471d1a8c8708880518c5f3 (patch)
treee050a714a76e56a465f2bcd0c7444df49ff471ca /multimedia
parent9cfa1b6753a632bdf61d6c06d3ebd781094dacc2 (diff)
downloadpkgsrc-dbf7842301b5278933471d1a8c8708880518c5f3.tar.gz
Handle dts PLIST entries correctly.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine-lib/PLIST.common6
-rw-r--r--multimedia/xine-lib/options.mk4
2 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/xine-lib/PLIST.common b/multimedia/xine-lib/PLIST.common
index 4b5123f544d..d860bd46028 100644
--- a/multimedia/xine-lib/PLIST.common
+++ b/multimedia/xine-lib/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.38 2014/04/17 13:53:47 wiz Exp $
+@comment $NetBSD: PLIST.common,v 1.39 2016/04/19 13:48:31 jperkin Exp $
bin/xine-config
bin/xine-list-1.2
include/xine.h
@@ -68,8 +68,8 @@ lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.a
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_a52.so
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_bitplane.a
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_bitplane.so
-lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.a
-lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.so
+${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.a
+${PLIST.dts}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dts.so
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.a
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_dvaudio.so
lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_faad.a
diff --git a/multimedia/xine-lib/options.mk b/multimedia/xine-lib/options.mk
index 2b771384497..094e755e119 100644
--- a/multimedia/xine-lib/options.mk
+++ b/multimedia/xine-lib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2016/04/19 10:41:14 jperkin Exp $
+# $NetBSD: options.mk,v 1.2 2016/04/19 13:48:31 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xine-lib
@@ -7,8 +7,10 @@ PKG_SUPPORTED_OPTIONS= dts
.include "../../mk/bsd.options.mk"
# Marked NO_BIN_ON_*. Only enable if you don't want to distribute packages.
+PLIST_VARS+= dts
.if !empty(PKG_OPTIONS:Mdts)
.include "../../audio/libdca/buildlink3.mk"
+PLIST.dts= yes
.else
CONFIGURE_ARGS+= --disable-dts
.endif