pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2016Q1]: pkgsrc/multimedia/xine-lib Pullup ticket #5043 - requ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a147982a490
branches:  pkgsrc-2016Q1
changeset: 408922:8a147982a490
user:      spz <spz%pkgsrc.org@localhost>
date:      Sun Jun 19 17:03:04 2016 +0000

description:
Pullup ticket #5043 - requested by jperkin
multimedia/xine-lib: dependency fix

Revisions pulled up:
- multimedia/xine-lib/Makefile                                  1.140
- multimedia/xine-lib/PLIST.common                              1.39
- multimedia/xine-lib/options.mk                                1.1-1.2

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        jperkin
   Date:                Tue Apr 19 10:41:14 UTC 2016

   Modified Files:
        pkgsrc/multimedia/xine-lib: Makefile
   Added Files:
        pkgsrc/multimedia/xine-lib: options.mk

   Log Message:
   Remove dependency on audio/faac (appears unused) and move audio/libdca
   dependency to options.mk, defaulting to disabled.  Both these packages
   are marked NO_BIN_ON_* so xine-lib couldn't previously be distributed
   in binary package sets.

   Bump PKGREVISION.


   To generate a diff of this commit:
   cvs rdiff -u -r1.139 -r1.140 pkgsrc/multimedia/xine-lib/Makefile
   cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/xine-lib/options.mk

-------------------------------------------------------------------
   Module Name: pkgsrc
   Committed By:        jperkin
   Date:                Tue Apr 19 13:48:31 UTC 2016

   Modified Files:
        pkgsrc/multimedia/xine-lib: PLIST.common options.mk

   Log Message:
   Handle dts PLIST entries correctly.


   To generate a diff of this commit:
   cvs rdiff -u -r1.38 -r1.39 pkgsrc/multimedia/xine-lib/PLIST.common
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/multimedia/xine-lib/options.mk

diffstat:

 multimedia/xine-lib/Makefile     |   8 ++++----
 multimedia/xine-lib/PLIST.common |   6 +++---
 multimedia/xine-lib/options.mk   |  16 ++++++++++++++++
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs (68 lines):

diff -r 121c6067d325 -r 8a147982a490 multimedia/xine-lib/Makefile
--- a/multimedia/xine-lib/Makefile      Sun Jun 19 10:36:09 2016 +0000
+++ b/multimedia/xine-lib/Makefile      Sun Jun 19 17:03:04 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.139 2015/11/18 14:19:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.139.4.1 2016/06/19 17:03:04 spz Exp $
 
-PKGREVISION= 3
+PKGREVISION= 4
 .include "Makefile.common"
 
 COMMENT=               Multimedia player library
@@ -55,13 +55,13 @@
 CPPFLAGS.SunOS+=       -D__u32=uint32_t -DHAVE_SYSI86 -DHAVE_MMX_FALSE
 LDFLAGS.SunOS+=                -lresolv
 
+.include "options.mk"
+
 # flac is supported internally; don't know what the plugin is good for
 # but until autodetection is turned off, force external flac for now.
 .include "../../audio/flac/buildlink3.mk"
-.include "../../audio/faac/buildlink3.mk"
 .include "../../audio/faad2/buildlink3.mk"
 .include "../../audio/liba52/buildlink3.mk"
-.include "../../audio/libdca/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
 #.include "../../audio/libmpcdec/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
diff -r 121c6067d325 -r 8a147982a490 multimedia/xine-lib/PLIST.common
--- a/multimedia/xine-lib/PLIST.common  Sun Jun 19 10:36:09 2016 +0000
+++ b/multimedia/xine-lib/PLIST.common  Sun Jun 19 17:03:04 2016 +0000
@@ -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.38.16.1 2016/06/19 17:03:04 spz 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.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 -r 121c6067d325 -r 8a147982a490 multimedia/xine-lib/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xine-lib/options.mk    Sun Jun 19 17:03:04 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.2.2.2 2016/06/19 17:03:04 spz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.xine-lib
+
+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



Home | Main Index | Thread Index | Old Index