adriconf: update to 1.4.
This commit is contained in:
parent
ba9748c129
commit
04d7db5ba0
|
@ -1,33 +0,0 @@
|
|||
Source: https://github.com/jlHertel/adriconf/commit/1ebe19290826b6cb0ba818e65211038900727081.patch
|
||||
Upstream: Yes
|
||||
Reason: libxml++-3.0 compatibility
|
||||
|
||||
From 1ebe19290826b6cb0ba818e65211038900727081 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
|
||||
Date: Mon, 24 Dec 2018 22:13:59 +0100
|
||||
Subject: [PATCH] Allow to build with LibXML++ 3.0
|
||||
|
||||
Keep it compatible with LibXML++ 2.6.
|
||||
---
|
||||
CMakeLists.txt | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 901ff9f..915eb4e 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -39,7 +39,13 @@ include_directories(${Boost_INCLUDE_DIRS})
|
||||
link_directories(${Boost_LIBRARY_DIRS})
|
||||
|
||||
# LIBXML
|
||||
-pkg_check_modules(LibXML++ REQUIRED libxml++-2.6)
|
||||
+pkg_check_modules(LibXML++ libxml++-3.0)
|
||||
+if(NOT LibXML++_FOUND)
|
||||
+ pkg_check_modules(LibXML++2 REQUIRED libxml++-2.6)
|
||||
+ set(LibXML++_INCLUDE_DIRS ${LibXML++2_INCLUDE_DIRS})
|
||||
+ set(LibXML++_LIBRARY_DIRS ${LibXML++2_LIBRARY_DIRS})
|
||||
+ set(LibXML++_LIBRARIES ${LibXML++2_LIBRARIES})
|
||||
+endif()
|
||||
include_directories(${LibXML++_INCLUDE_DIRS})
|
||||
link_directories(${LibXML++_LIBRARY_DIRS})
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'adriconf'
|
||||
pkgname=adriconf
|
||||
version=1.3
|
||||
revision=4
|
||||
version=1.4
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config glib-devel"
|
||||
makedepends="MesaLib-devel gtkmm-devel boost-devel libxml++3.0-devel pciutils-devel gtest-devel"
|
||||
|
@ -10,7 +10,7 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/jlHertel/adriconf"
|
||||
distfiles="https://github.com/jlHertel/adriconf/archive/v${version}.tar.gz"
|
||||
checksum=564bab30de6f8a4c945ffa5d2fa66fdc9f0cb44608c3eab43df808c6c1332c05
|
||||
checksum=058e7ed2ab2450167de1399898db4a53829b433157f43a1e14e50e7fae01f18c
|
||||
|
||||
post_install() {
|
||||
vbin build/adriconf
|
||||
|
|
Loading…
Reference in New Issue