[arch-commits] Commit in double-conversion/trunk (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Aug 19 19:50:18 UTC 2017
Date: Saturday, August 19, 2017 @ 19:50:17
Author: arojas
Revision: 302896
Update to 3.0.0
Modified:
double-conversion/trunk/PKGBUILD
Deleted:
double-conversion/trunk/double-conversion-shared-lib.patch
------------------------------------+
PKGBUILD | 21 +++++++----------
double-conversion-shared-lib.patch | 42 -----------------------------------
2 files changed, 9 insertions(+), 54 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-19 19:36:46 UTC (rev 302895)
+++ PKGBUILD 2017-08-19 19:50:17 UTC (rev 302896)
@@ -3,8 +3,8 @@
# Contributor: Jonas Heinrich <onny at project-insanity.org>
pkgname=double-conversion
-pkgver=2.0.1
-pkgrel=3
+pkgver=3.0.0
+pkgrel=1
pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles'
arch=(i686 x86_64)
url='https://github.com/google/double-conversion'
@@ -11,19 +11,16 @@
license=(BSD)
depends=(gcc-libs)
makedepends=(cmake)
-source=(double-conversion-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz
- double-conversion-shared-lib.patch)
-sha1sums=('a590b4e9e1509bcf48da79a9c0571cfe218920f4'
- '54abeec2090908c7ed229986826e8cce400edd1b')
+source=(double-conversion-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz)
+sha256sums=('152f15355242b6b1fbb4098fcd825bf08527eda0c65e8446939222a13f0b3915')
-prepare() {
- cd double-conversion-$pkgver
- patch -p1 < ../double-conversion-shared-lib.patch
-}
-
build() {
cd double-conversion-$pkgver
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib
make
}
Deleted: double-conversion-shared-lib.patch
===================================================================
--- double-conversion-shared-lib.patch 2017-08-19 19:36:46 UTC (rev 302895)
+++ double-conversion-shared-lib.patch 2017-08-19 19:50:17 UTC (rev 302896)
@@ -1,42 +0,0 @@
-commit c7734598e2ee084c17e1b8a41daa569fb021d593
-Author: Florian Loitsch <florian at loitsch.com>
-Date: Sat Mar 8 15:02:13 2014 +0100
-
- Support shared libraries with Cmake. Improve README.
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 5bf382e..7b09be0 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,8 +2,12 @@ cmake_minimum_required(VERSION 2.8)
- project(double-conversion)
-
- # pick a version #
--set(double-conversion_VERSION
-- 1.1.1)
-+set(double-conversion_VERSION 2.0.1)
-+set(double-conversion_SOVERSION_MAJOR 1)
-+set(double-conversion_SOVERSION_MINOR 0)
-+set(double-conversion_SOVERSION_PATCH 0)
-+set(double-conversion_SOVERSION
-+ ${double-conversion_SOVERSION_MAJOR}.${double-conversion_SOVERSION_MINOR}.${double-conversion_SOVERSION_PATCH})
-
- # set paths for install -- empty initially
- # Offer the user the choice of overriding the installation directories
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 7f5c985..0da50b1 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -29,6 +29,12 @@ ${headers}
- set_target_properties(double-conversion
- PROPERTIES PUBLIC_HEADER "${headers}")
-
-+if (BUILD_SHARED_LIBS)
-+ set_target_properties(double-conversion
-+ PROPERTIES VERSION ${double-conversion_SOVERSION}
-+ SOVERSION ${double-conversion_SOVERSION_MAJOR})
-+endif()
-+
- #
- # install command to set up library install
- # given the above PUBLIC_HEADER property set, this
More information about the arch-commits
mailing list