[arch-commits] Commit in msgpack-c/repos/community-x86_64 (4 files)

Baptiste Jonglez zorun at archlinux.org
Mon Apr 2 09:52:44 UTC 2018


    Date: Monday, April 2, 2018 @ 09:52:43
  Author: zorun
Revision: 313835

archrelease: copy trunk to community-x86_64

Added:
  msgpack-c/repos/community-x86_64/PKGBUILD
    (from rev 313834, msgpack-c/trunk/PKGBUILD)
  msgpack-c/repos/community-x86_64/test-cflags.patch
    (from rev 313834, msgpack-c/trunk/test-cflags.patch)
Deleted:
  msgpack-c/repos/community-x86_64/PKGBUILD
  msgpack-c/repos/community-x86_64/test-cflags.patch

-------------------+
 PKGBUILD          |   87 +++++++++++++++++++++++++---------------------------
 test-cflags.patch |   22 ++++++-------
 2 files changed, 54 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-02 09:52:22 UTC (rev 313834)
+++ PKGBUILD	2018-04-02 09:52:43 UTC (rev 313835)
@@ -1,44 +0,0 @@
-# Maintainer: Baptiste Jonglez
-# Contributor: Leen Jewel <leenjewel at gmail.com>
-# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-
-pkgname=msgpack-c
-pkgver=2.1.5
-pkgrel=1
-pkgdesc='An efficient object serialization library'
-arch=("i686" "x86_64")
-url='http://msgpack.org/'
-license=("Apache")
-depends=("glibc")
-checkdepends=("gtest")
-makedepends=("cmake")
-source=("https://github.com/msgpack/msgpack-c/releases/download/cpp-${pkgver}/msgpack-${pkgver}.tar.gz"
-        "test-cflags.patch")
-sha256sums=('6126375af9b204611b9d9f154929f4f747e4599e6ae8443b337915dcf2899d2b'
-            '0e6bd401c3ff6f6c68e8beca682b1ecb1b125092a1b1739757294c3c040ba481')
-
-prepare() {
-  cd "msgpack-${pkgver}"
-  # Remove -Werror when building tests (useless and makes build fail)
-  patch -p0 < "$srcdir"/test-cflags.patch
-}
-
-build() {
-  cd "msgpack-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DMSGPACK_CXX11=ON \
-        -DMSGPACK_BUILD_EXAMPLES=OFF \
-        -DCMAKE_BUILD_TYPE=Release \
-        .
-  make
-}
-
-check() {
-  cd "msgpack-${pkgver}"
-  make test 
-}
-
-package() {
-  cd "msgpack-${pkgver}"
-  make DESTDIR="$pkgdir" install
-}

Copied: msgpack-c/repos/community-x86_64/PKGBUILD (from rev 313834, msgpack-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-02 09:52:43 UTC (rev 313835)
@@ -0,0 +1,43 @@
+# Maintainer: Baptiste Jonglez
+# Contributor: Leen Jewel <leenjewel at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=msgpack-c
+pkgver=2.1.5
+pkgrel=2
+pkgdesc='An efficient object serialization library'
+arch=("x86_64")
+url='http://msgpack.org/'
+license=("Apache")
+depends=("glibc")
+checkdepends=("gtest")
+makedepends=("cmake")
+source=("https://github.com/msgpack/msgpack-c/releases/download/cpp-${pkgver}/msgpack-${pkgver}.tar.gz"
+        "test-cflags.patch")
+sha256sums=('6126375af9b204611b9d9f154929f4f747e4599e6ae8443b337915dcf2899d2b'
+            '0e6bd401c3ff6f6c68e8beca682b1ecb1b125092a1b1739757294c3c040ba481')
+
+prepare() {
+  cd "msgpack-${pkgver}"
+  # Remove -Werror when building tests (useless and makes build fail)
+  patch -p0 < "$srcdir"/test-cflags.patch
+}
+
+build() {
+  cd "msgpack-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DMSGPACK_CXX11=ON \
+        -DMSGPACK_BUILD_EXAMPLES=OFF \
+        .
+  make
+}
+
+check() {
+  cd "msgpack-${pkgver}"
+  make test 
+}
+
+package() {
+  cd "msgpack-${pkgver}"
+  make DESTDIR="$pkgdir" install
+}

Deleted: test-cflags.patch
===================================================================
--- test-cflags.patch	2018-04-02 09:52:22 UTC (rev 313834)
+++ test-cflags.patch	2018-04-02 09:52:43 UTC (rev 313835)
@@ -1,11 +0,0 @@
---- test/CMakeLists.txt.old	2017-06-11 17:11:18.413443078 +0200
-+++ test/CMakeLists.txt	2017-06-11 17:11:39.383317557 +0200
-@@ -80,7 +80,7 @@
-     )
-     ADD_TEST (${source_file_we} ${source_file_we})
-     IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
--        SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS "-Wall -Wextra -Werror -g -O3 ")
-+        SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS "-Wall -Wextra -g -O3 ")
-     ENDIF ()
-     IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-         SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")

Copied: msgpack-c/repos/community-x86_64/test-cflags.patch (from rev 313834, msgpack-c/trunk/test-cflags.patch)
===================================================================
--- test-cflags.patch	                        (rev 0)
+++ test-cflags.patch	2018-04-02 09:52:43 UTC (rev 313835)
@@ -0,0 +1,11 @@
+--- test/CMakeLists.txt.old	2017-06-11 17:11:18.413443078 +0200
++++ test/CMakeLists.txt	2017-06-11 17:11:39.383317557 +0200
+@@ -80,7 +80,7 @@
+     )
+     ADD_TEST (${source_file_we} ${source_file_we})
+     IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+-        SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS "-Wall -Wextra -Werror -g -O3 ")
++        SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS "-Wall -Wextra -g -O3 ")
+     ENDIF ()
+     IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+         SET_PROPERTY (TARGET ${source_file_we} APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-mismatched-tags")



More information about the arch-commits mailing list