[arch-commits] Commit in avisynthplus/repos/community-x86_64 (4 files)

Daniel Bermond dbermond at gemini.archlinux.org
Sat Jan 22 11:47:35 UTC 2022


    Date: Saturday, January 22, 2022 @ 11:47:33
  Author: dbermond
Revision: 1113422

archrelease: copy trunk to community-x86_64

Added:
  avisynthplus/repos/community-x86_64/PKGBUILD
    (from rev 1113421, avisynthplus/trunk/PKGBUILD)
  avisynthplus/repos/community-x86_64/avisynthplus.xml
    (from rev 1113421, avisynthplus/trunk/avisynthplus.xml)
Deleted:
  avisynthplus/repos/community-x86_64/PKGBUILD
  avisynthplus/repos/community-x86_64/avisynthplus.xml

------------------+
 PKGBUILD         |   77 ++++++++++++++++++++++++++---------------------------
 avisynthplus.xml |   18 ++++++------
 2 files changed, 48 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-22 11:43:42 UTC (rev 1113421)
+++ PKGBUILD	2022-01-22 11:47:33 UTC (rev 1113422)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=avisynthplus
-pkgver=3.7.1
-pkgrel=1
-pkgdesc='An improved version of the AviSynth frameserver'
-arch=('x86_64')
-url='https://avs-plus.net/'
-license=('GPL')
-depends=('gcc-libs' 'hicolor-icon-theme')
-optdepends=('devil: for ImageSeq plugin')
-makedepends=('cmake' 'devil')
-source=("https://github.com/AviSynth/AviSynthPlus/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        'avisynthplus.xml')
-sha256sums=('96c5043512ecf8dca7a6257b8a54a28dcb8fea454d0dc5a9fd6f61cceda6bbef'
-            'c4b270a3df7fbe1c153400215169c4ae4cae3b7a8710c843393e3a6ed0fd8a3e')
-
-build() {
-    cmake -B build -S "AviSynthPlus-${pkgver}" \
-        -DCMAKE_BUILD_TYPE:STRING='None' \
-        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-        -Wno-dev
-    make -C build
-}
-
-package() {
-    make -C build DESTDIR="$pkgdir" install
-    install -D -m644 avisynthplus.xml -t "${pkgdir}/usr/share/mime/packages"
-    
-    local _icon
-    local _res
-    while read -r -d '' _icon
-    do
-        _res="$(sed 's/[[:alpha:]]*\([0-9]\+\)\.png/\1/' <<< "${_icon##*/}")"
-        [ -n "$_res" ] && install -D -m644 "$_icon" \
-            "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/mimetypes/avisynthplus-script.png"
-    done < <(find "AviSynthPlus-${pkgver}/distrib/Icons/Rastered" -type f -name 'AvsPlusIcon*.png' -print0)
-}

Copied: avisynthplus/repos/community-x86_64/PKGBUILD (from rev 1113421, avisynthplus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-22 11:47:33 UTC (rev 1113422)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=avisynthplus
+pkgver=3.7.1.a
+_srcver="${pkgver%.[[:alpha:]]}${pkgver##*.}"
+pkgrel=1
+pkgdesc='An improved version of the AviSynth frameserver'
+arch=('x86_64')
+url='https://avs-plus.net/'
+license=('GPL')
+depends=('gcc-libs' 'hicolor-icon-theme')
+optdepends=('devil: for ImageSeq plugin')
+makedepends=('cmake' 'devil')
+source=("https://github.com/AviSynth/AviSynthPlus/archive/v${_srcver}/${pkgname}-${_srcver}.tar.gz"
+        'avisynthplus.xml')
+sha256sums=('e4347d8d62bf702abdbd93a98d02838a5089592908626883b8c17a82c8fb2a41'
+            'c4b270a3df7fbe1c153400215169c4ae4cae3b7a8710c843393e3a6ed0fd8a3e')
+
+build() {
+    cmake -B build -S "AviSynthPlus-${_srcver}" \
+        -DCMAKE_BUILD_TYPE:STRING='None' \
+        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
+        -Wno-dev
+    make -C build
+}
+
+package() {
+    make -C build DESTDIR="$pkgdir" install
+    install -D -m644 avisynthplus.xml -t "${pkgdir}/usr/share/mime/packages"
+    
+    local _icon
+    local _res
+    while read -r -d '' _icon
+    do
+        _res="$(sed 's/[[:alpha:]]*\([0-9]\+\)\.png/\1/' <<< "${_icon##*/}")"
+        [ -n "$_res" ] && install -D -m644 "$_icon" \
+            "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/mimetypes/avisynthplus-script.png"
+    done < <(find "AviSynthPlus-${_srcver}/distrib/Icons/Rastered" -type f -name 'AvsPlusIcon*.png' -print0)
+}

Deleted: avisynthplus.xml
===================================================================
--- avisynthplus.xml	2022-01-22 11:43:42 UTC (rev 1113421)
+++ avisynthplus.xml	2022-01-22 11:47:33 UTC (rev 1113422)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
-  <mime-type type="text/x-avs">
-    <glob pattern="*.avs"/>
-    <glob pattern="*.avsi"/>
-    <icon name="avisynthplus-script"/>
-    <comment>AviSynthPlus script</comment>
-  </mime-type>
-</mime-info>

Copied: avisynthplus/repos/community-x86_64/avisynthplus.xml (from rev 1113421, avisynthplus/trunk/avisynthplus.xml)
===================================================================
--- avisynthplus.xml	                        (rev 0)
+++ avisynthplus.xml	2022-01-22 11:47:33 UTC (rev 1113422)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+  <mime-type type="text/x-avs">
+    <glob pattern="*.avs"/>
+    <glob pattern="*.avsi"/>
+    <icon name="avisynthplus-script"/>
+    <comment>AviSynthPlus script</comment>
+  </mime-type>
+</mime-info>



More information about the arch-commits mailing list