[arch-commits] Commit in bs1770gain/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:45:19 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:45:19
  Author: felixonmars
Revision: 658584

archrelease: copy trunk to community-staging-x86_64

Added:
  bs1770gain/repos/community-staging-x86_64/
  bs1770gain/repos/community-staging-x86_64/PKGBUILD
    (from rev 658583, bs1770gain/trunk/PKGBUILD)
  bs1770gain/repos/community-staging-x86_64/remove-inappropriate-text.patch
    (from rev 658583, bs1770gain/trunk/remove-inappropriate-text.patch)

---------------------------------+
 PKGBUILD                        |   29 +++++++++++++++++++++++++++++
 remove-inappropriate-text.patch |   20 ++++++++++++++++++++
 2 files changed, 49 insertions(+)

Copied: bs1770gain/repos/community-staging-x86_64/PKGBUILD (from rev 658583, bs1770gain/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:45:19 UTC (rev 658584)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=bs1770gain
+pkgver=0.6.0
+pkgrel=4
+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-inappropriate-text.patch)
+sha256sums=('d0372bb5946a34c7cad145e2d406b4e99751df229694acad10f1f4c1778fd85a'
+            '71cd58f8c3546485decd135992039bf9df266f5c2c0c478c32771ab5e0f0b314')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    patch -Np1 -i ${srcdir}/remove-inappropriate-text.patch
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure --prefix=/usr
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+}

Copied: bs1770gain/repos/community-staging-x86_64/remove-inappropriate-text.patch (from rev 658583, bs1770gain/trunk/remove-inappropriate-text.patch)
===================================================================
--- community-staging-x86_64/remove-inappropriate-text.patch	                        (rev 0)
+++ community-staging-x86_64/remove-inappropriate-text.patch	2020-07-07 13:45:19 UTC (rev 658584)
@@ -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