Update cppunit packages to 1.15.0
This commit is contained in:
parent
032b251176
commit
cc6f212f78
|
@ -21,18 +21,18 @@ _android_clang_toolchain_path=$_android_ndk_path/toolchains/llvm/prebuilt/linux-
|
||||||
_install_prefix=/opt/android-libs/$_pkg_arch
|
_install_prefix=/opt/android-libs/$_pkg_arch
|
||||||
|
|
||||||
pkgname=android-$_pkg_arch-$_pkgname
|
pkgname=android-$_pkg_arch-$_pkgname
|
||||||
pkgver=1.14.0
|
pkgver=1.15.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://www.freedesktop.org/wiki/Software/cppunit"
|
url="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('android-ndk')
|
depends=('android-ndk')
|
||||||
conflicts=("android-$_pkgname-$_android_arch")
|
conflicts=("android-$_pkgname-$_android_arch")
|
||||||
replaces=("android-$_pkgname-$_android_arch")
|
replaces=("android-$_pkgname-$_android_arch")
|
||||||
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
||||||
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
||||||
sha256sums=('3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780')
|
sha256sums=('1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# configure flags
|
# configure flags
|
||||||
|
@ -53,7 +53,8 @@ build() {
|
||||||
-O3 \
|
-O3 \
|
||||||
-fPIC \
|
-fPIC \
|
||||||
-DCPPUNIT_HAVE_LIBDL=1 \
|
-DCPPUNIT_HAVE_LIBDL=1 \
|
||||||
-Wno-unused-command-line-argument"
|
-Wno-unused-command-line-argument \
|
||||||
|
-Wno-defaulted-function-deleted"
|
||||||
local ld_flags=" \
|
local ld_flags=" \
|
||||||
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
||||||
-nostdlib++"
|
-nostdlib++"
|
||||||
|
|
|
@ -21,18 +21,18 @@ _android_clang_toolchain_path=$_android_ndk_path/toolchains/llvm/prebuilt/linux-
|
||||||
_install_prefix=/opt/android-libs/$_pkg_arch
|
_install_prefix=/opt/android-libs/$_pkg_arch
|
||||||
|
|
||||||
pkgname=android-$_pkg_arch-$_pkgname
|
pkgname=android-$_pkg_arch-$_pkgname
|
||||||
pkgver=1.14.0
|
pkgver=1.15.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://www.freedesktop.org/wiki/Software/cppunit"
|
url="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('android-ndk')
|
depends=('android-ndk')
|
||||||
conflicts=("android-$_pkgname-$_android_arch")
|
conflicts=("android-$_pkgname-$_android_arch")
|
||||||
replaces=("android-$_pkgname-$_android_arch")
|
replaces=("android-$_pkgname-$_android_arch")
|
||||||
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
||||||
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
||||||
sha256sums=('3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780')
|
sha256sums=('1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# configure flags
|
# configure flags
|
||||||
|
@ -53,7 +53,8 @@ build() {
|
||||||
-O3 \
|
-O3 \
|
||||||
-fPIC \
|
-fPIC \
|
||||||
-DCPPUNIT_HAVE_LIBDL=1 \
|
-DCPPUNIT_HAVE_LIBDL=1 \
|
||||||
-Wno-unused-command-line-argument"
|
-Wno-unused-command-line-argument \
|
||||||
|
-Wno-defaulted-function-deleted"
|
||||||
local ld_flags=" \
|
local ld_flags=" \
|
||||||
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
||||||
-nostdlib++"
|
-nostdlib++"
|
||||||
|
|
|
@ -21,18 +21,18 @@ _android_clang_toolchain_path=$_android_ndk_path/toolchains/llvm/prebuilt/linux-
|
||||||
_install_prefix=/opt/android-libs/$_pkg_arch
|
_install_prefix=/opt/android-libs/$_pkg_arch
|
||||||
|
|
||||||
pkgname=android-$_pkg_arch-$_pkgname
|
pkgname=android-$_pkg_arch-$_pkgname
|
||||||
pkgver=1.14.0
|
pkgver=1.15.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
pkgdesc="A C++ unit testing framework (Android, $_android_arch)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://www.freedesktop.org/wiki/Software/cppunit"
|
url="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('android-ndk')
|
depends=('android-ndk')
|
||||||
conflicts=("android-$_pkgname-$_android_arch")
|
conflicts=("android-$_pkgname-$_android_arch")
|
||||||
replaces=("android-$_pkgname-$_android_arch")
|
replaces=("android-$_pkgname-$_android_arch")
|
||||||
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
||||||
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
source=("https://dev-www.libreoffice.org/src/${_pkgname}-${pkgver}.tar.gz")
|
||||||
sha256sums=('3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780')
|
sha256sums=('1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# configure flags
|
# configure flags
|
||||||
|
@ -53,7 +53,8 @@ build() {
|
||||||
-O3 \
|
-O3 \
|
||||||
-fPIC \
|
-fPIC \
|
||||||
-DCPPUNIT_HAVE_LIBDL=1 \
|
-DCPPUNIT_HAVE_LIBDL=1 \
|
||||||
-Wno-unused-command-line-argument"
|
-Wno-unused-command-line-argument \
|
||||||
|
-Wno-defaulted-function-deleted"
|
||||||
local ld_flags=" \
|
local ld_flags=" \
|
||||||
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
$_android_ndk_path/sources/cxx-stl/llvm-libc++/libs/$_android_arch/libc++_shared.so \
|
||||||
-nostdlib++"
|
-nostdlib++"
|
||||||
|
|
|
@ -7,30 +7,20 @@
|
||||||
|
|
||||||
_name=cppunit
|
_name=cppunit
|
||||||
pkgname=mingw-w64-cppunit
|
pkgname=mingw-w64-cppunit
|
||||||
pkgver=1.14.0
|
pkgver=1.15.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C++ unit testing framework (mingw-w64)"
|
pkgdesc="A C++ unit testing framework (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://www.freedesktop.org/wiki/Software/cppunit"
|
url="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('mingw-w64-crt')
|
depends=('mingw-w64-crt')
|
||||||
makedepends=('mingw-w64-gcc' 'mingw-w64-configure')
|
makedepends=('mingw-w64-gcc' 'mingw-w64-configure')
|
||||||
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
options=(!strip !buildflags !libtool staticlibs !emptydirs)
|
||||||
source=("https://dev-www.libreoffice.org/src/${_name}-${pkgver}.tar.gz"
|
source=("https://dev-www.libreoffice.org/src/${_name}-${pkgver}.tar.gz")
|
||||||
0001-Don-t-redefine-NOMINMAX.patch)
|
sha256sums=('1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922')
|
||||||
sha256sums=('3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780'
|
|
||||||
'68ae7a200a6bea8669268665c9a2b80c96a90fbf07273749184ce7a7f190cd40')
|
|
||||||
|
|
||||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "${srcdir}/${_name}-${pkgver}"
|
|
||||||
for patch in "$srcdir/"*.patch; do
|
|
||||||
msg2 "Applying patch $patch"
|
|
||||||
patch -p1 -i "$patch"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
for _arch in ${_architectures}; do
|
for _arch in ${_architectures}; do
|
||||||
mkdir -p "${srcdir}/${_name}-${pkgver}/build-${_arch}"
|
mkdir -p "${srcdir}/${_name}-${pkgver}/build-${_arch}"
|
||||||
|
|
Loading…
Reference in New Issue