[arch-commits] Commit in baka-mplayer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jun 4 19:05:26 UTC 2018
Date: Monday, June 4, 2018 @ 19:05:25
Author: arojas
Revision: 340434
archrelease: copy trunk to community-x86_64
Added:
baka-mplayer/repos/community-x86_64/PKGBUILD
(from rev 340433, baka-mplayer/trunk/PKGBUILD)
Deleted:
baka-mplayer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 44 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-04 19:05:05 UTC (rev 340433)
+++ PKGBUILD 2018-06-04 19:05:25 UTC (rev 340434)
@@ -1,39 +0,0 @@
-# $Id$
-# 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=2
-pkgdesc='A free and open source, cross-platform, libmpv based multimedia player. Qt5 build.'
-arch=('i686' '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")
-sha512sums=('7898d65e87540bcb528d429dc70daefc7d4c0711b2983326cf6fa3a14e566c2742334378befdb710b8cc59452f960bc17b290058ba9e6878e830de6dbafce55a')
-
-prepare() {
- # Make build directory
- mkdir ${srcdir}/build
-}
-
-build() {
- # Building package
- cd ${srcdir}/build
- qmake-qt5 ../Baka-MPlayer-${pkgver}/src \
- CONFIG+=release \
- CONFIG+=install_translations \
- -spec linux-g++
- make -j$(nproc)
-}
-
-package() {
- # Installing package
- cd ${srcdir}/build
- make INSTALL_ROOT=${pkgdir} install
-}
Copied: baka-mplayer/repos/community-x86_64/PKGBUILD (from rev 340433, baka-mplayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-04 19:05:25 UTC (rev 340434)
@@ -0,0 +1,44 @@
+# $Id$
+# 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=3
+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 ${srcdir}/build
+
+ cd Baka-MPlayer-$pkgver
+ patch -p1 -i ../ceil.patch # Fix build with GCC 7
+}
+
+build() {
+ # Building package
+ cd ${srcdir}/build
+ qmake-qt5 ../Baka-MPlayer-${pkgver}/src \
+ CONFIG+=release \
+ CONFIG+=install_translations \
+ -spec linux-g++
+ make -j$(nproc)
+}
+
+package() {
+ # Installing package
+ cd ${srcdir}/build
+ make INSTALL_ROOT=${pkgdir} install
+}
More information about the arch-commits
mailing list