[arch-commits] Commit in baka-mplayer/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:14:31 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:14:31
  Author: felixonmars
Revision: 660047

archrelease: copy trunk to community-staging-x86_64

Added:
  baka-mplayer/repos/community-staging-x86_64/
  baka-mplayer/repos/community-staging-x86_64/PKGBUILD
    (from rev 660046, baka-mplayer/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: baka-mplayer/repos/community-staging-x86_64/PKGBUILD (from rev 660046, baka-mplayer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:14:31 UTC (rev 660047)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: u8sand <u8sand at gmail.com>
+# Contributor: Alfredo Ramos <alfredo dot ramos at yandex dot com>
+
+pkgname=baka-mplayer
+pkgver=2.0.4
+pkgrel=4
+pkgdesc='A free and open source, cross-platform, libmpv based multimedia player. Qt5 build.'
+arch=('x86_64')
+url='http://bakamplayer.u8sand.net/'
+license=('GPL')
+depends=('mpv' 'qt5-declarative' 'qt5-svg' 'qt5-x11extras')
+optdepends=('qt5-translations: for Qt5 dialog translations'
+            'youtube-dl: for remote video streaming')
+makedepends=('git' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/u8sand/Baka-MPlayer/archive/v$pkgver.tar.gz"
+        ceil.patch::"https://github.com/u8sand/Baka-MPlayer/commit/640cac8b.patch")
+sha512sums=('7898d65e87540bcb528d429dc70daefc7d4c0711b2983326cf6fa3a14e566c2742334378befdb710b8cc59452f960bc17b290058ba9e6878e830de6dbafce55a'
+            'd649d79fa0e594d19432f5ad88fa803c5c1d0d3fdb4a9a4f86dbad298e95a127296eb40033fbf41383521f9179d1e257d78d458ff9f77fa02cfc786906a033e3')
+
+prepare() {
+  # Make build directory
+  mkdir -p build
+
+  cd Baka-MPlayer-$pkgver
+  patch -p1 -i ../ceil.patch # Fix build with GCC 7
+}
+
+build() {
+  # Building package
+  cd build
+  qmake-qt5 ../Baka-MPlayer-$pkgver/src \
+    CONFIG+=release \
+    CONFIG+=install_translations \
+    -spec linux-g++
+  make -j$(nproc)
+}
+
+package() {
+  # Installing package
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list