[arch-commits] Commit in bs1770gain/trunk (PKGBUILD remove-inappropriate-text.patch)

Jelle van der Waa jelle at archlinux.org
Sat Sep 14 09:46:03 UTC 2019


    Date: Saturday, September 14, 2019 @ 09:46:02
  Author: jelle
Revision: 510510

upgpkg: bs1770gain 0.6.0-3

Rename the patch

Added:
  bs1770gain/trunk/remove-inappropriate-text.patch
Modified:
  bs1770gain/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |    6 +++---
 remove-inappropriate-text.patch |   20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-14 09:10:44 UTC (rev 510509)
+++ PKGBUILD	2019-09-14 09:46:02 UTC (rev 510510)
@@ -2,19 +2,19 @@
 
 pkgname=bs1770gain
 pkgver=0.6.0
-pkgrel=2
+pkgrel=3
 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" remove-hate.patch)
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" remove-inappropriate-text.patch)
 sha256sums=('d0372bb5946a34c7cad145e2d406b4e99751df229694acad10f1f4c1778fd85a'
             '71cd58f8c3546485decd135992039bf9df266f5c2c0c478c32771ab5e0f0b314')
 
 prepare() {
     cd ${pkgname}-${pkgver}
-    patch -Np1 -i ${srcdir}/remove-hate.patch
+    patch -Np1 -i ${srcdir}/remove-inappropriate-text.patch
 }
 
 build() {

Added: remove-inappropriate-text.patch
===================================================================
--- remove-inappropriate-text.patch	                        (rev 0)
+++ remove-inappropriate-text.patch	2019-09-14 09:46:02 UTC (rev 510510)
@@ -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