Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
unittestpp
Commits:
124dd76c by Antonio Rojas at 2023-12-16T11:03:08+01:00
upgpkg: 2.0.0-6: Fix version number in pc file
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- fix-pc-version.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = unittestpp
pkgdesc = Lightweight unit testing framework for C++
pkgver = 2.0.0
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/unittest-cpp/unittest-cpp/
arch = x86_64
license = MIT
@@ -11,8 +11,8 @@ pkgbase = unittestpp
source =
unittestpp-2.0.0.tar.gz::https://github.com/unittest-cpp/unittest-cpp/archive/v2.0.0.tar.gz
source = fix-pc-version.patch
sha256sums =
74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9
- sha256sums =
6bb25aadc05f56d97d5dcbd061ad72089f2909f8389343bde050f1ac42f724ab
+ sha256sums =
511bc6ea34b49201c0ca17c2935fcf33b19c5598ef7b7246143469f9f54d6339
sha512sums =
39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab
- sha512sums =
0e11b4565308c2c174cbbe12ef3794cb0c877e2292b13acab4ebdb7045aba67571056941f69947e6ea2c6f01436f42fb90dcfe9493fd86573e0ec2359abc4741
+ sha512sums =
89ed53b10864eca0dd35e53d5e098d9872d1a74e33bec1792ef6994768c687608f71995288d785693e76c279998e251cd3c3afd663980316e4c5c6ffd0bf4d2e
pkgname = unittestpp
=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
pkgname=unittestpp
pkgver=2.0.0
-pkgrel=5
+pkgrel=6
pkgdesc='Lightweight unit testing framework for C++'
url='https://github.com/unittest-cpp/unittest-cpp/'
arch=('x86_64')
@@ -17,9 +17,9 @@ options=('staticlibs')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/unittest-cpp/unittest-cpp/archive/v${pkgver}.tar.gz
fix-pc-version.patch)
sha256sums=('74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9'
- '6bb25aadc05f56d97d5dcbd061ad72089f2909f8389343bde050f1ac42f724ab')
+ '511bc6ea34b49201c0ca17c2935fcf33b19c5598ef7b7246143469f9f54d6339')
sha512sums=('39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab'
-
'0e11b4565308c2c174cbbe12ef3794cb0c877e2292b13acab4ebdb7045aba67571056941f69947e6ea2c6f01436f42fb90dcfe9493fd86573e0ec2359abc4741')
+
'89ed53b10864eca0dd35e53d5e098d9872d1a74e33bec1792ef6994768c687608f71995288d785693e76c279998e251cd3c3afd663980316e4c5c6ffd0bf4d2e')
prepare() {
mkdir -p unittest-cpp-${pkgver}/build
=====================================
fix-pc-version.patch
=====================================
@@ -1,12 +1,20 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b4c75c9..168766b 100644
+index fb10f47..9be19d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -135,6 +135,7 @@ set(prefix ${CMAKE_INSTALL_PREFIX})
+@@ -1,5 +1,5 @@
+-cmake_minimum_required(VERSION 2.8.1)
+-project(UnitTest++)
++cmake_minimum_required(VERSION 3.0)
++project(UnitTest++ VERSION 2.0.0)
+
+ option(UTPP_USE_PLUS_SIGN
+ "Set this to OFF if you wish to use '-cpp' instead of '++' in lib/include
paths"
+@@ -105,6 +105,7 @@ set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix ${CMAKE_INSTALL_PREFIX}/bin)
- set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
+ set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
set(includedir ${CMAKE_INSTALL_PREFIX}/include/UnitTest++)
+set(PACKAGE_VERSION ${UnitTest++_VERSION})
configure_file("UnitTest++.pc.in" "UnitTest++.pc" @ONLY)
- if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
- set(pkgconfdir ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/UnitTest++.pc"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/unittestpp/-/commit/124dd76cd89ab31e97cf1878ba9a10c7aff74594
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/unittestpp/-/commit/124dd76cd89ab31e97cf1878ba9a10c7aff74594
You're receiving this email because of your account on gitlab.archlinux.org.