[arch-commits] Commit in automoc4/repos/extra-x86_64 (6 files)
Antonio Rojas
arojas at archlinux.org
Wed May 30 20:20:14 UTC 2018
Date: Wednesday, May 30, 2018 @ 20:20:14
Author: arojas
Revision: 325214
archrelease: copy trunk to extra-x86_64
Added:
automoc4/repos/extra-x86_64/PKGBUILD
(from rev 325213, automoc4/trunk/PKGBUILD)
automoc4/repos/extra-x86_64/fix-cmake-warnings.patch
(from rev 325213, automoc4/trunk/fix-cmake-warnings.patch)
automoc4/repos/extra-x86_64/license.txt
(from rev 325213, automoc4/trunk/license.txt)
Deleted:
automoc4/repos/extra-x86_64/PKGBUILD
automoc4/repos/extra-x86_64/fix-cmake-warnings.patch
automoc4/repos/extra-x86_64/license.txt
--------------------------+
PKGBUILD | 84 +++++++++++++++++++++------------------------
fix-cmake-warnings.patch | 78 ++++++++++++++++++++---------------------
license.txt | 62 ++++++++++++++++-----------------
3 files changed, 111 insertions(+), 113 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-30 20:19:53 UTC (rev 325213)
+++ PKGBUILD 2018-05-30 20:20:14 UTC (rev 325214)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=automoc4
-pkgver=0.9.88
-pkgrel=8
-pkgdesc="Automatic moc for Qt4"
-arch=('i686' 'x86_64')
-url='http://www.kde.org/'
-license=('custom')
-depends=('qt4')
-makedepends=('pkgconfig' 'cmake')
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'license.txt' 'fix-cmake-warnings.patch')
-md5sums=('91bf517cb940109180ecd07bc90c69ec'
- '9014edbb7e2f02fe90b2db8707487bce'
- '65d8c4b8bb46ac408a8c3d5d82167f9b')
-
-prepare() {
- mkdir -p build
-
-# Fix CMake warnings with newer policies
- cd $pkgname-$pkgver
- patch -p1 -i ../fix-cmake-warnings.patch
-}
-
-build() {
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 "${srcdir}/license.txt" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: automoc4/repos/extra-x86_64/PKGBUILD (from rev 325213, automoc4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-30 20:20:14 UTC (rev 325214)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=automoc4
+pkgver=0.9.88
+pkgrel=9
+pkgdesc="Automatic moc for Qt4"
+arch=(x86_64)
+url='http://www.kde.org/'
+license=(custom)
+depends=(qt4)
+makedepends=(cmake)
+source=("http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
+ license.txt fix-cmake-warnings.patch)
+sha256sums=('234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49'
+ 'd99c6d161e46c23c46f027c76c1d2e134acffb08636cd0ede2e98a4825d7ea78'
+ 'db3fcf5a95d7e02b97c2f90c76919210d4877dd3ca3c55aa6a367c08a466fefc')
+
+prepare() {
+ mkdir -p build
+
+# Fix CMake warnings with newer policies
+ cd $pkgname-$pkgver
+ patch -p1 -i ../fix-cmake-warnings.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: fix-cmake-warnings.patch
===================================================================
--- fix-cmake-warnings.patch 2018-05-30 20:19:53 UTC (rev 325213)
+++ fix-cmake-warnings.patch 2018-05-30 20:20:14 UTC (rev 325214)
@@ -1,39 +0,0 @@
-From: Stephen Kelly <steveire at gmail.com>
-Date: Sun, 19 Jul 2015 19:24:51 +0000
-Subject: Don't attempt to add dependencies which do not exist.
-X-Git-Url: http://quickgit.kde.org/?p=automoc.git&a=commitdiff&h=48f6e64d98e4aaa47f2a49faa5f3e821bc21fd6e
----
-Don't attempt to add dependencies which do not exist.
----
-
-
---- a/Automoc4Config.cmake
-+++ b/Automoc4Config.cmake
-@@ -132,7 +132,6 @@
- if(_moc_files)
- set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_automoc.cpp")
- get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
-- get_directory_property(_moc_defs DEFINITIONS)
- get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
-
- # Assume CMAKE_INCLUDE_CURRENT_DIR is set
-@@ -198,7 +197,6 @@
- set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp")
- set(_automoc_dotFiles "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp.files")
- get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
-- get_directory_property(_moc_defs DEFINITIONS)
- get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
-
- # Assume CMAKE_INCLUDE_CURRENT_DIR is set
-@@ -274,7 +272,9 @@
-
-
- macro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING _target)
-- add_dependencies(${_target} "${_target}_automoc")
-+ if (TARGET "${_target}_automoc")
-+ add_dependencies(${_target} "${_target}_automoc")
-+ endif()
- endmacro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING)
-
-
-
Copied: automoc4/repos/extra-x86_64/fix-cmake-warnings.patch (from rev 325213, automoc4/trunk/fix-cmake-warnings.patch)
===================================================================
--- fix-cmake-warnings.patch (rev 0)
+++ fix-cmake-warnings.patch 2018-05-30 20:20:14 UTC (rev 325214)
@@ -0,0 +1,39 @@
+From: Stephen Kelly <steveire at gmail.com>
+Date: Sun, 19 Jul 2015 19:24:51 +0000
+Subject: Don't attempt to add dependencies which do not exist.
+X-Git-Url: http://quickgit.kde.org/?p=automoc.git&a=commitdiff&h=48f6e64d98e4aaa47f2a49faa5f3e821bc21fd6e
+---
+Don't attempt to add dependencies which do not exist.
+---
+
+
+--- a/Automoc4Config.cmake
++++ b/Automoc4Config.cmake
+@@ -132,7 +132,6 @@
+ if(_moc_files)
+ set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_automoc.cpp")
+ get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
+- get_directory_property(_moc_defs DEFINITIONS)
+ get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
+
+ # Assume CMAKE_INCLUDE_CURRENT_DIR is set
+@@ -198,7 +197,6 @@
+ set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp")
+ set(_automoc_dotFiles "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp.files")
+ get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
+- get_directory_property(_moc_defs DEFINITIONS)
+ get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
+
+ # Assume CMAKE_INCLUDE_CURRENT_DIR is set
+@@ -274,7 +272,9 @@
+
+
+ macro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING _target)
+- add_dependencies(${_target} "${_target}_automoc")
++ if (TARGET "${_target}_automoc")
++ add_dependencies(${_target} "${_target}_automoc")
++ endif()
+ endmacro(_AUTOMOC4_KDE4_POST_TARGET_HANDLING)
+
+
+
Deleted: license.txt
===================================================================
--- license.txt 2018-05-30 20:19:53 UTC (rev 325213)
+++ license.txt 2018-05-30 20:20:14 UTC (rev 325214)
@@ -1,31 +0,0 @@
-Upstream Authors:
-
- Mathias Kretz <kretz at kde.org>
- Alexander Neundorff <neundorff at kde.org>
-
-Copyright:
-
- Copyright (c) 2007 Mathias Kretz <kretz at kde.org>
-
-License:
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copied: automoc4/repos/extra-x86_64/license.txt (from rev 325213, automoc4/trunk/license.txt)
===================================================================
--- license.txt (rev 0)
+++ license.txt 2018-05-30 20:20:14 UTC (rev 325214)
@@ -0,0 +1,31 @@
+Upstream Authors:
+
+ Mathias Kretz <kretz at kde.org>
+ Alexander Neundorff <neundorff at kde.org>
+
+Copyright:
+
+ Copyright (c) 2007 Mathias Kretz <kretz at kde.org>
+
+License:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
More information about the arch-commits
mailing list