From 04d7db5ba09bd854201f41a53bf838bffaa1d5ad Mon Sep 17 00:00:00 2001 From: lemmi Date: Sat, 9 Feb 2019 16:22:19 +0100 Subject: [PATCH] adriconf: update to 1.4. --- srcpkgs/adriconf/patches/libxml++-3.0.patch | 33 --------------------- srcpkgs/adriconf/template | 6 ++-- 2 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/adriconf/patches/libxml++-3.0.patch diff --git a/srcpkgs/adriconf/patches/libxml++-3.0.patch b/srcpkgs/adriconf/patches/libxml++-3.0.patch deleted file mode 100644 index f1ff151aef8..00000000000 --- a/srcpkgs/adriconf/patches/libxml++-3.0.patch +++ /dev/null @@ -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?= -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}) - diff --git a/srcpkgs/adriconf/template b/srcpkgs/adriconf/template index c3a2bf08c43..5f03859b73d 100644 --- a/srcpkgs/adriconf/template +++ b/srcpkgs/adriconf/template @@ -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 " 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