[arch-commits] Commit in msgpack-c/repos (6 files)

Baptiste Jonglez zorun at archlinux.org
Sun Jun 11 15:33:41 UTC 2017


    Date: Sunday, June 11, 2017 @ 15:33:40
  Author: zorun
Revision: 236209

archrelease: copy trunk to community-i686, community-x86_64

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

------------------------------------+
 /PKGBUILD                          |   88 +++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD            |   33 -------------
 community-i686/test-cflags.patch   |   11 ++++
 community-x86_64/PKGBUILD          |   33 -------------
 community-x86_64/test-cflags.patch |   11 ++++
 5 files changed, 110 insertions(+), 66 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-06-11 15:33:19 UTC (rev 236208)
+++ community-i686/PKGBUILD	2017-06-11 15:33:40 UTC (rev 236209)
@@ -1,33 +0,0 @@
-# Maintainer: Anatol Pomozov
-# Contributor: Leen Jewel <leenjewel at gmail.com>
-# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-
-pkgname=msgpack-c
-pkgver=2.1.1
-_tag=cpp-$pkgver
-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=($pkgname-$pkgver.zip::https://github.com/msgpack/msgpack-c/archive/$_tag.zip)
-sha1sums=('9e8911ae670e879c4210aa939ffcbd353c1f78c5')
-
-build() {
-  cd msgpack-c-$_tag 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DMSGPACK_CXX11=ON .
-  make
-}
-
-check() {
-  cd msgpack-c-$_tag
-  make test 
-}
-
-package() {
-  cd msgpack-c-$_tag
-  make DESTDIR="$pkgdir" install
-}

Copied: msgpack-c/repos/community-i686/PKGBUILD (from rev 236208, msgpack-c/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-11 15:33:40 UTC (rev 236209)
@@ -0,0 +1,44 @@
+# Maintainer: Baptiste Jonglez
+# Contributor: Leen Jewel <leenjewel at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=msgpack-c
+pkgver=2.1.2
+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=('4f855ac251e927a478aa69e4d3087ec2d5eb62e034e3a7897c1d5d2df97b7863'
+            '0e6bd401c3ff6f6c68e8beca682b1ecb1b125092a1b1739757294c3c040ba481')
+
+prepare() {
+  cd "msgpack-${pkgver}"
+  # Remove -Werror when building tests (useless and makes build fail)
+  patch -p0 < ../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-i686/test-cflags.patch (from rev 236208, msgpack-c/trunk/test-cflags.patch)
===================================================================
--- community-i686/test-cflags.patch	                        (rev 0)
+++ community-i686/test-cflags.patch	2017-06-11 15:33:40 UTC (rev 236209)
@@ -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")

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-06-11 15:33:19 UTC (rev 236208)
+++ community-x86_64/PKGBUILD	2017-06-11 15:33:40 UTC (rev 236209)
@@ -1,33 +0,0 @@
-# Maintainer: Anatol Pomozov
-# Contributor: Leen Jewel <leenjewel at gmail.com>
-# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-
-pkgname=msgpack-c
-pkgver=2.1.1
-_tag=cpp-$pkgver
-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=($pkgname-$pkgver.zip::https://github.com/msgpack/msgpack-c/archive/$_tag.zip)
-sha1sums=('9e8911ae670e879c4210aa939ffcbd353c1f78c5')
-
-build() {
-  cd msgpack-c-$_tag 
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DMSGPACK_CXX11=ON .
-  make
-}
-
-check() {
-  cd msgpack-c-$_tag
-  make test 
-}
-
-package() {
-  cd msgpack-c-$_tag
-  make DESTDIR="$pkgdir" install
-}

Copied: msgpack-c/repos/community-x86_64/PKGBUILD (from rev 236208, msgpack-c/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-11 15:33:40 UTC (rev 236209)
@@ -0,0 +1,44 @@
+# Maintainer: Baptiste Jonglez
+# Contributor: Leen Jewel <leenjewel at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=msgpack-c
+pkgver=2.1.2
+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=('4f855ac251e927a478aa69e4d3087ec2d5eb62e034e3a7897c1d5d2df97b7863'
+            '0e6bd401c3ff6f6c68e8beca682b1ecb1b125092a1b1739757294c3c040ba481')
+
+prepare() {
+  cd "msgpack-${pkgver}"
+  # Remove -Werror when building tests (useless and makes build fail)
+  patch -p0 < ../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/test-cflags.patch (from rev 236208, msgpack-c/trunk/test-cflags.patch)
===================================================================
--- community-x86_64/test-cflags.patch	                        (rev 0)
+++ community-x86_64/test-cflags.patch	2017-06-11 15:33:40 UTC (rev 236209)
@@ -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