From e641bedc28149a625e26e4912853fd043d0bbafc Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 28 Jun 2020 17:45:07 +1200 Subject: Add to AUR --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..396d3fe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = unsilence + pkgdesc = Console Interface and Library to remove silent parts of a media file + pkgver = 1.0.3 + pkgrel = 1 + url = https://github.com/lagmoellertim/unsilence + arch = any + license = MIT + makedepends = python-setuptools + depends = ffmpeg + depends = python-argparse + depends = python-rich + source = https://github.com/lagmoellertim/unsilence/archive/1.0.3.tar.gz + sha256sums = ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f + +pkgname = unsilence + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7fb384a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Caltlgin Stsodaat + +pkgname=unsilence +pkgver=1.0.3 +pkgrel=1 +pkgdesc='Console Interface and Library to remove silent parts of a media file' +arch=('any') +url='https://github.com/lagmoellertim/unsilence' +license=('MIT') +depends=('ffmpeg' 'python-argparse' 'python-rich') +makedepends=('python-setuptools') +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 'README.md' "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From 8f70c481a6fcc403a822dbaf9b6618a12e03a499 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 28 Jun 2020 19:29:04 +1200 Subject: Patch ffmpeg_version: Handle "n" prefix until next upstream release --- PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 7fb384a..8f743e5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -12,6 +12,11 @@ makedepends=('python-setuptools') source=("${url}/archive/${pkgver}.tar.gz") sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') +prepare() { + # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee + sed -i 's/ffmpeg version /ffmpeg version \\D\?/' "${pkgname}-${pkgver}/unsilence/lib/tools/ffmpeg_version.py" +} + build() { cd "${pkgname}-${pkgver}" python setup.py build -- cgit v1.2.3-70-g09d2 From fabff1688abd24f44d4c3e91fa830f05f4358806 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Mon, 20 Jul 2020 06:38:40 +1200 Subject: Update to v1.0.5 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 396d3fe..f8b9edc 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file - pkgver = 1.0.3 + pkgver = 1.0.5 pkgrel = 1 url = https://github.com/lagmoellertim/unsilence arch = any @@ -9,8 +9,8 @@ pkgbase = unsilence depends = ffmpeg depends = python-argparse depends = python-rich - source = https://github.com/lagmoellertim/unsilence/archive/1.0.3.tar.gz - sha256sums = ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f + source = unsilence-1.0.5.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.5.tar.gz + sha256sums = 326b85b8c58660962d2d7880e0e44dada2be2bdd9830dc0285cbee718d382ef7 pkgname = unsilence diff --git a/PKGBUILD b/PKGBUILD index 8f743e5..1244e02 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Caltlgin Stsodaat pkgname=unsilence -pkgver=1.0.3 +pkgver=1.0.5 pkgrel=1 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') @@ -9,8 +9,8 @@ url='https://github.com/lagmoellertim/unsilence' license=('MIT') depends=('ffmpeg' 'python-argparse' 'python-rich') makedepends=('python-setuptools') -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=('ac9ea5b5b5a8743133b4fd11fcc2b51418756e2d53530c71c0f663f44e24a56f') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('326b85b8c58660962d2d7880e0e44dada2be2bdd9830dc0285cbee718d382ef7') prepare() { # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee -- cgit v1.2.3-70-g09d2 From 5613c0daf67bbd633cde0ffa96a5a72465304671 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Wed, 12 Aug 2020 10:19:22 +1200 Subject: Remove prepare function. Clean PKGBUILD --- .SRCINFO | 3 ++- PKGBUILD | 14 +++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f8b9edc..841aa3b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,13 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file pkgver = 1.0.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lagmoellertim/unsilence arch = any license = MIT makedepends = python-setuptools depends = ffmpeg + depends = python depends = python-argparse depends = python-rich source = unsilence-1.0.5.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.5.tar.gz diff --git a/PKGBUILD b/PKGBUILD index 1244e02..d038984 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,21 +2,16 @@ pkgname=unsilence pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') url='https://github.com/lagmoellertim/unsilence' license=('MIT') -depends=('ffmpeg' 'python-argparse' 'python-rich') +depends=('ffmpeg' 'python' 'python-argparse' 'python-rich') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") sha256sums=('326b85b8c58660962d2d7880e0e44dada2be2bdd9830dc0285cbee718d382ef7') -prepare() { - # https://github.com/lagmoellertim/unsilence/commit/30581844096967a736cc0ea8e17abb3dbd8f81ee - sed -i 's/ffmpeg version /ffmpeg version \\D\?/' "${pkgname}-${pkgver}/unsilence/lib/tools/ffmpeg_version.py" -} - build() { cd "${pkgname}-${pkgver}" python setup.py build @@ -25,8 +20,9 @@ build() { package() { cd "${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm644 'README.md' "${pkgdir}/usr/share/doc/${pkgname}/README.md" - install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md' + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE' + rm -r "${pkgdir}/usr/lib/python"*'/site-packages/examples' } # vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From dcb6b8a59cce88ec47389eb057dc4247b9081b05 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Tue, 3 Nov 2020 06:26:03 +1300 Subject: Update to v1.0.6 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 841aa3b..6276d53 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file - pkgver = 1.0.5 - pkgrel = 2 + pkgver = 1.0.6 + pkgrel = 1 url = https://github.com/lagmoellertim/unsilence arch = any license = MIT @@ -10,8 +10,8 @@ pkgbase = unsilence depends = python depends = python-argparse depends = python-rich - source = unsilence-1.0.5.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.5.tar.gz - sha256sums = 326b85b8c58660962d2d7880e0e44dada2be2bdd9830dc0285cbee718d382ef7 + source = unsilence-1.0.6.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.6.tar.gz + sha256sums = 176a2b26922ddc12f0d4c5c8a2bd6f0cebd9e319eb9ea55ef184ceb48401642d pkgname = unsilence diff --git a/PKGBUILD b/PKGBUILD index d038984..455bcb8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Caltlgin Stsodaat pkgname=unsilence -pkgver=1.0.5 -pkgrel=2 +pkgver=1.0.6 +pkgrel=1 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') url='https://github.com/lagmoellertim/unsilence' @@ -10,7 +10,7 @@ license=('MIT') depends=('ffmpeg' 'python' 'python-argparse' 'python-rich') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('326b85b8c58660962d2d7880e0e44dada2be2bdd9830dc0285cbee718d382ef7') +sha256sums=('176a2b26922ddc12f0d4c5c8a2bd6f0cebd9e319eb9ea55ef184ceb48401642d') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From fa10fa6dd7c23b1cb0052ecd8b5e142001fc1dbe Mon Sep 17 00:00:00 2001 From: caltlgin Date: Thu, 3 Dec 2020 07:56:57 +1300 Subject: Python 3.9 rebuild --- .SRCINFO | 2 +- .gitignore | 4 ++++ PKGBUILD | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index 6276d53..8d8c65c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file pkgver = 1.0.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lagmoellertim/unsilence arch = any license = MIT diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD index 455bcb8..d9336e2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=unsilence pkgver=1.0.6 -pkgrel=1 +pkgrel=2 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') url='https://github.com/lagmoellertim/unsilence' -- cgit v1.2.3-70-g09d2 From 38b36217dd80376970be34132ab73e2c04eeadd7 Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sun, 6 Dec 2020 05:43:01 +1300 Subject: Update to v1.0.7 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8d8c65c..eb61af8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file - pkgver = 1.0.6 - pkgrel = 2 + pkgver = 1.0.7 + pkgrel = 1 url = https://github.com/lagmoellertim/unsilence arch = any license = MIT @@ -10,8 +10,8 @@ pkgbase = unsilence depends = python depends = python-argparse depends = python-rich - source = unsilence-1.0.6.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.6.tar.gz - sha256sums = 176a2b26922ddc12f0d4c5c8a2bd6f0cebd9e319eb9ea55ef184ceb48401642d + source = unsilence-1.0.7.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.7.tar.gz + sha256sums = 52f53d57f5a395d9b07c3ab724d2b590522266fd6ec38912f956ea778128b8d0 pkgname = unsilence diff --git a/PKGBUILD b/PKGBUILD index d9336e2..0493c72 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Caltlgin Stsodaat pkgname=unsilence -pkgver=1.0.6 -pkgrel=2 +pkgver=1.0.7 +pkgrel=1 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') url='https://github.com/lagmoellertim/unsilence' @@ -10,7 +10,7 @@ license=('MIT') depends=('ffmpeg' 'python' 'python-argparse' 'python-rich') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('176a2b26922ddc12f0d4c5c8a2bd6f0cebd9e319eb9ea55ef184ceb48401642d') +sha256sums=('52f53d57f5a395d9b07c3ab724d2b590522266fd6ec38912f956ea778128b8d0') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 668443ef7ab8bc1109df5d219f8bf32f6806e0ab Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 26 Sep 2021 20:01:08 +0300 Subject: Update to v1.0.8 --- .SRCINFO | 7 +++---- PKGBUILD | 10 +++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index eb61af8..958ad04 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = unsilence pkgdesc = Console Interface and Library to remove silent parts of a media file - pkgver = 1.0.7 + pkgver = 1.0.8 pkgrel = 1 url = https://github.com/lagmoellertim/unsilence arch = any @@ -10,8 +10,7 @@ pkgbase = unsilence depends = python depends = python-argparse depends = python-rich - source = unsilence-1.0.7.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.7.tar.gz - sha256sums = 52f53d57f5a395d9b07c3ab724d2b590522266fd6ec38912f956ea778128b8d0 + source = unsilence-1.0.8.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.8.tar.gz + sha256sums = bd377d279ae155d02cc29cb6fbe836021c2ca2d1bc2766675c0beeb2f50c9e43 pkgname = unsilence - diff --git a/PKGBUILD b/PKGBUILD index 0493c72..ca792d2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ -# Maintainer: Caltlgin Stsodaat +# Maintainer: Yigit Sever +# Contributor: Caltlgin Stsodaat pkgname=unsilence -pkgver=1.0.7 +pkgver=1.0.8 pkgrel=1 pkgdesc='Console Interface and Library to remove silent parts of a media file' arch=('any') @@ -10,10 +11,11 @@ license=('MIT') depends=('ffmpeg' 'python' 'python-argparse' 'python-rich') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('52f53d57f5a395d9b07c3ab724d2b590522266fd6ec38912f956ea778128b8d0') +sha256sums=('bd377d279ae155d02cc29cb6fbe836021c2ca2d1bc2766675c0beeb2f50c9e43') build() { cd "${pkgname}-${pkgver}" + sed -i 's/9.10.0/10.11.0/' requirements.txt python setup.py build } @@ -24,5 +26,3 @@ package() { install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE' rm -r "${pkgdir}/usr/lib/python"*'/site-packages/examples' } - -# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2