[arch-commits] Commit in bs1770gain/trunk (PKGBUILD remove-hate.patch)
Jelle van der Waa
jelle at archlinux.org
Fri Sep 13 18:35:52 UTC 2019
Date: Friday, September 13, 2019 @ 18:35:52
Author: jelle
Revision: 510387
upgpkg: bs1770gain 0.6.0-2
Remove racial bullshit.
Added:
bs1770gain/trunk/remove-hate.patch
Modified:
bs1770gain/trunk/PKGBUILD
-------------------+
PKGBUILD | 12 +++++++++---
remove-hate.patch | 20 ++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-13 18:21:54 UTC (rev 510386)
+++ PKGBUILD 2019-09-13 18:35:52 UTC (rev 510387)
@@ -2,15 +2,21 @@
pkgname=bs1770gain
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="A loudness scanner compliant with ITU-R BS.1770."
arch=(x86_64)
url="http://bs1770gain.sourceforge.net"
license=(GPL)
depends=(ffmpeg)
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('d0372bb5946a34c7cad145e2d406b4e99751df229694acad10f1f4c1778fd85a')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" remove-hate.patch)
+sha256sums=('d0372bb5946a34c7cad145e2d406b4e99751df229694acad10f1f4c1778fd85a'
+ '71cd58f8c3546485decd135992039bf9df266f5c2c0c478c32771ab5e0f0b314')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/remove-hate.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
Added: remove-hate.patch
===================================================================
--- remove-hate.patch (rev 0)
+++ remove-hate.patch 2019-09-13 18:35:52 UTC (rev 510387)
@@ -0,0 +1,20 @@
+diff -aur bs1770gain-0.6.0/libbg/bgx.c bs1770gain-0.6.0.new/libbg/bgx.c
+--- bs1770gain-0.6.0/libbg/bgx.c 2019-08-13 08:09:47.000000000 +0200
++++ bs1770gain-0.6.0.new/libbg/bgx.c 2019-09-13 20:13:48.828606603 +0200
+@@ -37,16 +37,12 @@
+ * turn with "libff.a".) finally serving as bs1770gain's implementation.
+ */
+ #if 1 // [
+-#if 1 // [
+ #define BS1770GAIN_TEAM_WHITE \
+ " #TeamWhite"
+ #else // ] [
+ #define BS1770GAIN_TEAM_WHITE \
+ ""
+ #endif // ]
+-#define BS1770GAIN_NANOS_GIGANTUM_HUMERIS_INSIDENTES \
+- "Nanos gigantum humeris insidentes." BS1770GAIN_TEAM_WHITE "\n"
+-#endif // ]
+
+ ///////////////////////////////////////////////////////////////////////////////
+ static const ffchar_t *bg_version(const ffchar_t *path, FILE *f)
More information about the arch-commits
mailing list