author | Antonio Rojas
<arojas@archlinux.org> 2015-08-18 17:21:48 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2015-08-18 17:21:48 UTC |
parent | 6f52e3fdfb855b24d3a2bd741fb6be486baffe52 |
PKGBUILD | +3 | -8 |
gcc-5.patch | +0 | -23 |
diff --git a/PKGBUILD b/PKGBUILD index 6e8de42..23f6a05 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=libkdcraw -pkgver=15.04.3 +pkgver=15.08.0 pkgrel=1 pkgdesc="A C++ interface used to decode RAW picture" url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw" @@ -13,16 +13,11 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') install=${pkgname}.install -source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" 'gcc-5.patch') -sha1sums=('03eb16a8c3b5acfc63066b478c881b7031f736f9' - 'fc5a24e05feab6481b61c37bfe83a0d4b2af4e09') +source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +sha1sums=('80468c08e99c4e104b81b50423e99ae29c1d4444') prepare() { mkdir build - -# Fix build with GCC 5 - cd $pkgname-$pkgver - patch -p1 -i "$srcdir"/gcc-5.patch } build() { diff --git a/gcc-5.patch b/gcc-5.patch deleted file mode 100644 index 1038c55..0000000 --- a/gcc-5.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Gilles Caulier <caulier.gilles@gmail.com> -Date: Thu, 14 May 2015 20:54:16 +0000 -Subject: libraw 0.16.1 needs C++ exceptions rules while compilation -X-Git-Url: http://quickgit.kde.org/?p=libkdcraw.git&a=commitdiff&h=46898ec97a0462eb08a5b6d09999450a86b27aae ---- -libraw 0.16.1 needs C++ exceptions rules while compilation -BUGS: 347728 -FIXED-IN: 4.11.0 ---- - - ---- a/libkdcraw/CMakeLists.txt -+++ b/libkdcraw/CMakeLists.txt -@@ -3,6 +3,8 @@ - # - # Redistribution and use is allowed according to the terms of the BSD license. - # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -+ -+add_definitions(${KDE4_ENABLE_EXCEPTIONS}) - - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h) - -