[arch-commits] Commit in mediaelch/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed May 12 22:20:58 UTC 2021


    Date: Wednesday, May 12, 2021 @ 22:20:57
  Author: anthraxx
Revision: 932742

archrelease: copy trunk to community-x86_64

Added:
  mediaelch/repos/community-x86_64/PKGBUILD
    (from rev 932741, mediaelch/trunk/PKGBUILD)
Deleted:
  mediaelch/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 41 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 22:20:54 UTC (rev 932741)
+++ PKGBUILD	2021-05-12 22:20:57 UTC (rev 932742)
@@ -1,33 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Matt Harrison <matt at mistbyte.com>
-
-pkgname=mediaelch
-pkgver=2.8.6
-pkgrel=1
-pkgdesc='Media Manager for handling Movies, TV Shows and Concerts/Music Videos for Kodi'
-url='https://www.mediaelch.de/mediaelch/'
-arch=('x86_64')
-license=('LGPL3')
-depends=('glibc' 'gcc-libs' 'libmediainfo' 'qt5-declarative' 'qt5-multimedia' 'qt5-script' 'quazip')
-source=(https://github.com/Komet/MediaElch/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('7713e689cea1eb614f9354df27801afb991fd8d4faa7b95503802c79c1ebc8fa')
-b2sums=('d8dec33d4ca777f9ddafce3923125f237b2bd446df5621d78082282b8c3c5a08577da88c573fbb22a3262fb3cb4627121a88ada2a1343fe6c808c648e6007c51')
-
-prepare() {
-  cd MediaElch-${pkgver}
-  sed 's|quazip/quazip/|QuaZip-Qt5-1.1/quazip/|g' -i src/*/*.cpp src/*/*.h
-  sed 's|lquazip5|lquazip1-qt5|g' -i MediaElch.pro
-}
-
-build() {
-  cd MediaElch-${pkgver}
-  qmake
-  make SUBLIBS="-lquazip1-qt5"
-}
-
-package() {
-  cd MediaElch-${pkgver}
-  make INSTALL_ROOT="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: mediaelch/repos/community-x86_64/PKGBUILD (from rev 932741, mediaelch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-12 22:20:57 UTC (rev 932742)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Matt Harrison <matt at mistbyte.com>
+
+pkgname=mediaelch
+pkgver=2.8.12
+pkgrel=1
+pkgdesc='Media Manager for handling Movies, TV Shows and Concerts/Music Videos for Kodi'
+url='https://www.mediaelch.de/mediaelch/'
+arch=('x86_64')
+license=('LGPL3')
+depends=('glibc' 'gcc-libs' 'libmediainfo' 'qt5-declarative' 'qt5-multimedia'
+         'qt5-script' 'qt5-svg' 'quazip')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+source=(https://github.com/Komet/MediaElch/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('c3f30fb18ad496057984ea7ea2593710ec4069eda1f4324ba10dffb66a5c3a75')
+b2sums=('f0c8afa6b12988621d339b5c6b56d7dd4354d61598a2cb26a2f4a75784d197aad5e2d425d59032b174efb57b079ec9a9fd948553e74f5e1bcea8b49a494dc047')
+
+prepare() {
+  cd MediaElch-${pkgver}
+  sed 's|quazip5/|QuaZip-Qt5-1.1/quazip/|g' -i src/*/*.cpp src/*/*.h
+  sed 's|quazip5|quazip1-qt5|g' -i */CMakeLists.txt */*/CMakeLists.txt MediaElch.pro
+}
+
+build() {
+  cd MediaElch-${pkgver}
+  cmake -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DDISABLE_UPDATER=ON \
+    -DUSE_EXTERN_QUAZIP=ON \
+    -Wno-dev \
+    -G Ninja
+  ninja -C build
+}
+
+package() {
+  cd MediaElch-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list