[arch-commits] Commit in lib32-flac/trunk (PKGBUILD flac-1.2.1-gcc-4.3-includes.patch)

Jan Steffens heftig at archlinux.org
Tue Aug 20 16:59:47 UTC 2019


    Date: Tuesday, August 20, 2019 @ 16:59:47
  Author: heftig
Revision: 500337

1.3.3-1

Modified:
  lib32-flac/trunk/PKGBUILD
Deleted:
  lib32-flac/trunk/flac-1.2.1-gcc-4.3-includes.patch

-----------------------------------+
 PKGBUILD                          |   34 +++++++++++++++++++++++-----------
 flac-1.2.1-gcc-4.3-includes.patch |   11 -----------
 2 files changed, 23 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-20 16:51:11 UTC (rev 500336)
+++ PKGBUILD	2019-08-20 16:59:47 UTC (rev 500337)
@@ -2,30 +2,42 @@
 
 _pkgbasename=flac
 pkgname=lib32-$_pkgbasename
-pkgver=1.3.2
-pkgrel=2
-pkgdesc="Free Lossless Audio Codec (32-bit)"
+pkgver=1.3.3
+pkgrel=1
+pkgdesc='Free Lossless Audio Codec (32-bit)'
+url='https://xiph.org/flac/'
 arch=('x86_64')
-url="http://flac.sourceforge.net/"
 license=('BSD' 'GPL')
-depends=('lib32-libogg' 'lib32-gcc-libs' $_pkgbasename)
-makedepends=('nasm' gcc-multilib)
-options=('!makeflags')
+depends=('lib32-gcc-libs' 'lib32-libogg' $_pkgbasename)
+makedepends=('nasm')
 source=(https://downloads.xiph.org/releases/flac/${_pkgbasename}-${pkgver}.tar.xz)
-sha1sums=('2bdbb56b128a780a5d998e230f2f4f6eb98f33ee')
+sha256sums=('213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748')
+sha512sums=('d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28')
 
 build() {
+  cd ${_pkgbasename}-${pkgver}
+
   export CC="gcc -m32"
   export CXX="g++ -m32"
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
 
-  cd "${_pkgbasename}-${pkgver}"
-  ./configure --prefix=/usr --disable-sse --libdir=/usr/lib32
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --disable-thorough-tests \
+    --disable-sse
   make
 }
 
+check() {
+  cd ${_pkgbasename}-${pkgver}
+  make check
+}
+
 package() {
-  cd "${_pkgbasename}-${pkgver}"
+  provides=('libFLAC.so' 'libFLAC++.so')
+
+  cd ${_pkgbasename}-${pkgver}
   make DESTDIR="${pkgdir}" install
 
   rm -rf "${pkgdir}"/usr/{include,share,bin}

Deleted: flac-1.2.1-gcc-4.3-includes.patch
===================================================================
--- flac-1.2.1-gcc-4.3-includes.patch	2019-08-20 16:51:11 UTC (rev 500336)
+++ flac-1.2.1-gcc-4.3-includes.patch	2019-08-20 16:59:47 UTC (rev 500337)
@@ -1,11 +0,0 @@
-diff -Naur flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
---- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp	2007-09-13 09:58:03.000000000 -0600
-+++ flac-1.2.1/examples/cpp/encode/file/main.cpp	2007-11-18 12:59:45.000000000 -0600
-@@ -30,6 +30,7 @@
- 
- #include <stdio.h>
- #include <stdlib.h>
-+#include <cstring>
- #include "FLAC++/metadata.h"
- #include "FLAC++/encoder.h"
- 


More information about the arch-commits mailing list