remove libxml2 as lib dependency
LibXml2 is not needed to compile the gstreamer backend for Phonon
This commit is contained in:
parent
9d83ce35e7
commit
ef4fc811d5
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2018/10/19 20:53:27 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2019/03/03 17:02:24 rsadowski Exp $
|
||||
|
||||
COMMENT-main = GStreamer-based Phonon backend
|
||||
COMMENT-icons = GStreamer-based Phonon backend icons
|
||||
@ -12,6 +12,7 @@ MASTER_SITES = https://download.kde.org/stable/phonon/phonon-backend-gstreamer/
|
||||
|
||||
FULLPKGNAME-main = ${PKGNAME}
|
||||
FULLPKGPATH-main = ${PKGPATH},${FLAVOR},-main
|
||||
REVISION-main = 0
|
||||
|
||||
# deconflict Qt4 and Qt5 versions by extracting common data
|
||||
MULTI_PACKAGES = -main -icons
|
||||
@ -27,7 +28,6 @@ RUN_DEPENDS-main = multimedia/gstreamer1/plugins-good \
|
||||
|
||||
LIB_DEPENDS-icons =
|
||||
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
||||
textproc/libxml \
|
||||
multimedia/gstreamer1/core \
|
||||
multimedia/gstreamer1/plugins-base
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1 2019/03/03 17:02:25 rsadowski Exp $
|
||||
|
||||
LibXml2 is not needed to compile the gstreamer backend for Phonon
|
||||
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -50,9 +50,6 @@ macro_log_feature(GLIB2_FOUND "GLib2" "GLib 2 is requi
|
||||
|
||||
find_package(GObject REQUIRED)
|
||||
|
||||
-find_package(LibXml2 REQUIRED)
|
||||
-macro_log_feature(LIBXML2_FOUND "LibXml2" "LibXml2 is required to compile the gstreamer backend for Phonon" "http://xmlsoft.org/downloads.html" TRUE)
|
||||
-
|
||||
add_subdirectory(gstreamer)
|
||||
|
||||
macro_display_feature_log()
|
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-gstreamer_CMakeLists_txt,v 1.5 2019/03/03 17:02:25 rsadowski Exp $
|
||||
|
||||
LibXml2 is not needed to compile the gstreamer backend for Phonon
|
||||
|
||||
Index: gstreamer/CMakeLists.txt
|
||||
--- gstreamer/CMakeLists.txt.orig
|
||||
+++ gstreamer/CMakeLists.txt
|
||||
@@ -20,7 +20,6 @@ include_directories(
|
||||
${GSTREAMER_PLUGIN_AUDIO_INCLUDE_DIR}
|
||||
${GSTREAMER_PLUGIN_PBUTILS_INCLUDE_DIR}
|
||||
${GLIB2_INCLUDE_DIR}
|
||||
- ${LIBXML2_INCLUDE_DIR}
|
||||
${X11_X11_INCLUDE_PATH})
|
||||
|
||||
if(${PHONON_VERSION} VERSION_GREATER "4.6.49") # Pre-release 4.7 starts at 4.6.50
|
Loading…
Reference in New Issue
Block a user