pkgsrc-WIP-changes archive

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

gemrb: patch: fix the test for the VLC plugin



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sun Sep 4 21:21:33 2016 +0200
Changeset:	29693418c3b20e00fa0dee8959341ce41e36e4bd

Modified Files:
	gemrb/distinfo
Added Files:
	gemrb/patches/patch-gemrb_plugins_VLCPlayer_CMakeLists.txt

Log Message:
gemrb: patch: fix the test for the VLC plugin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=29693418c3b20e00fa0dee8959341ce41e36e4bd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gemrb/distinfo                                            |  1 +
 .../patches/patch-gemrb_plugins_VLCPlayer_CMakeLists.txt  | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/gemrb/distinfo b/gemrb/distinfo
index e1c9449..eab74e2 100644
--- a/gemrb/distinfo
+++ b/gemrb/distinfo
@@ -4,3 +4,4 @@ SHA1 (gemrb-0.8.4.tar.gz) = 10e972000999f205dc385d79fd73120fbfb6a2e1
 RMD160 (gemrb-0.8.4.tar.gz) = 16e1c1a20626c3e87644e571e231366c5af83887
 SHA512 (gemrb-0.8.4.tar.gz) = 4a64745481b3533efe3bfe333600b2c3f191eaff37a560be1e73c35c638cf737bae51305fe19e9e78bfd2eab9a9841b3403e89f91f0a968b6abdc5ce39a807f7
 Size (gemrb-0.8.4.tar.gz) = 12373930 bytes
+SHA1 (patch-gemrb_plugins_VLCPlayer_CMakeLists.txt) = be1c9462ceb5bc64ab8d735b7802bad6fb799202
diff --git a/gemrb/patches/patch-gemrb_plugins_VLCPlayer_CMakeLists.txt b/gemrb/patches/patch-gemrb_plugins_VLCPlayer_CMakeLists.txt
new file mode 100644
index 0000000..4b089f0
--- /dev/null
+++ b/gemrb/patches/patch-gemrb_plugins_VLCPlayer_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Check if VLC was actually found (enough to build),
+instead of just the library.
+
+--- gemrb/plugins/VLCPlayer/CMakeLists.txt.orig	2016-02-29 18:00:08.000000000 +0000
++++ gemrb/plugins/VLCPlayer/CMakeLists.txt
+@@ -1,5 +1,5 @@
+-IF (LIBVLC_LIBRARY)
++IF (LIBVLC_FOUND)
+ 	INCLUDE_DIRECTORIES( ${LIBVLC_INCLUDE_DIR} )
+ 	ADD_GEMRB_PLUGIN ( VLCPlayer VLCPlayer.cpp VideoContext.cpp )
+ 	TARGET_LINK_LIBRARIES( VLCPlayer ${LIBVLC_LIBRARY} )
+-ENDIF (LIBVLC_LIBRARY)
++ENDIF (LIBVLC_FOUND)


Home | Main Index | Thread Index | Old Index