Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
eba86620
Commit
eba86620
authored
May 26, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: fix building libbluray 0.3.0 for Windows
parent
ea857aac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
7 deletions
+50
-7
contrib/src/bluray/libbluray-win32.patch
contrib/src/bluray/libbluray-win32.patch
+43
-0
contrib/src/bluray/pkg-static.patch
contrib/src/bluray/pkg-static.patch
+6
-7
contrib/src/bluray/rules.mak
contrib/src/bluray/rules.mak
+1
-0
No files found.
contrib/src/bluray/libbluray-win32.patch
0 → 100644
View file @
eba86620
From 78e2db66ee6b592feaf1d1b4af490f50d164aab7 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Wed, 8 May 2013 09:40:37 -0700
Subject: [PATCH] build: make sure to add -ldl to Libs.private if needed.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
---
configure.ac | 4 ++++
src/libbluray.pc.in | 1 +
2 files changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 61ff283..c6439bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,10 @@
AS_IF([test "${SYS}" != "mingw32"], [
AC_SEARCH_LIBS([pthread_create], [pthread], ,
[AC_MSG_ERROR([pthread required])])
AC_SEARCH_LIBS([dlopen], [dl])
+ DLOPEN_LIBS="$ac_cv_search_dlopen"
+ AS_CASE([$DLOPEN_LIBS],
+ [no|none\ required], [DLOPEN_LIBS=""])
+ AC_SUBST([DLOPEN_LIBS])
])
dnl libxml2 for metadata parser
diff --git a/src/libbluray.pc.in b/src/libbluray.pc.in
index 4e3fe15..ce256e2 100644
--- a/src/libbluray.pc.in
+++ b/src/libbluray.pc.in
@@ -7,4 +7,5 @@
Name: libbluray
Description: library supporting Blu-ray playback
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbluray
+Libs.private: @DLOPEN_LIBS@
Cflags: -I${includedir}
--
1.7.10.4
contrib/src/bluray/pkg-static.patch
View file @
eba86620
diff -ru libbluray/src/libbluray.pc.in libbluray2/src/libbluray.pc.in
--- libbluray/src/libbluray.pc.in 2011-11-27 10:58:55.000000000 +0200
+++ libbluray2/src/libbluray.pc.in 2011-11-27 11:26:30.000000000 +0200
@@ -6,5 +6,5 @@
Name: libbluray
--- libbluray-0.3.0/src/libbluray.pc.in.orig 2013-05-26 12:05:07.233864756 +0200
+++ libbluray-0.3.0/src/libbluray.pc.in 2013-05-26 12:07:43.552878009 +0200
@@ -7,5 +7,5 @@
Description: library supporting Blu-ray playback
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lbluray
+Libs: -L${libdir} -lbluray @DLOPEN_LIBS@ @LIBXML2_LIBS@
Libs: -L${libdir} -lbluray
-Libs.private: @DLOPEN_LIBS@
+Libs.private: @DLOPEN_LIBS@ @LIBXML2_LIBS@
Cflags: -I${includedir}
contrib/src/bluray/rules.mak
View file @
eba86620
...
...
@@ -19,6 +19,7 @@ $(TARBALLS)/libbluray-$(BLURAY_VERSION).tar.bz2:
bluray
:
libbluray-$(BLURAY_VERSION).tar.bz2 .sum-bluray
$(UNPACK)
$(APPLY)
$(SRC)
/bluray/libbluray-win32.patch
$(APPLY)
$(SRC)
/bluray/pkg-static.patch
$(MOVE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment