summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2020-01-08 17:44:36 +0800
committerlilac2020-01-08 17:44:36 +0800
commitf427cf7a0055565a0a0073bcc1966b62734915ef (patch)
tree947871ac11bd84dbdd352d85554d42f1e304190d
parent3c9369accaac987bd587a0c0b4fae22a76654cb1 (diff)
downloadaur-f427cf7a0055565a0a0073bcc1966b62734915ef.tar.gz
update by lilac
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
2 files changed, 22 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48684457a5a..f51f871413f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,23 @@
pkgbase = moonplayer
pkgdesc = A qt font-end for mplayer with the abilities of watching and downloading videos from chinese network
- pkgver = 2.9
- pkgrel = 1
+ pkgver = 3.0
+ pkgrel = 2
url = https://github.com/coslyk/moonplayer
arch = i686
arch = x86_64
license = GPL
+ makedepends = cmake
makedepends = git
+ makedepends = qt5-tools
depends = python
depends = qt5-x11extras
- depends = qt5-websockets
- depends = qt5-webengine
+ depends = qt5-base
+ depends = qt5-declarative
+ depends = qt5-quickcontrols
+ depends = qt5-quickcontrols2
depends = mpv
- depends = qtermwidget
- provides = moonplayer
- conflicts = moonplayer
- source = moonplayer-2.9.tar.gz::https://github.com/coslyk/moonplayer/archive/2.9.tar.gz
- sha1sums = 8a0d9fc00cd7a2414d213faf83b056e92dfdf10d
+ source = moonplayer-3.0.tar.gz::https://github.com/coslyk/moonplayer/archive/v3.0.tar.gz
+ sha1sums = 5748214011d7079aa6031b53d0ea31e391d37fe4
pkgname = moonplayer
diff --git a/PKGBUILD b/PKGBUILD
index 8dc127fb087..658b6e9681b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,36 +3,33 @@
# contributer: rob.til.freedman@googlemail.com
pkgname=moonplayer
-pkgver=2.9
-pkgrel=1
+pkgver=3.0
+pkgrel=2
pkgdesc="A qt font-end for mplayer with the abilities of watching and downloading videos from chinese network"
arch=('i686' 'x86_64')
url="https://github.com/coslyk/moonplayer"
license=('GPL')
-depends=('python' 'qt5-x11extras' 'qt5-websockets' 'qt5-webengine' 'mpv' 'qtermwidget')
-makedepends=('git')
+depends=('python' 'qt5-x11extras' 'qt5-base' 'qt5-declarative' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'mpv')
+makedepends=('cmake' 'git' 'qt5-tools')
source=(
- $pkgname-$pkgver.tar.gz::https://github.com/coslyk/moonplayer/archive/$pkgver.tar.gz
+ $pkgname-$pkgver.tar.gz::https://github.com/coslyk/moonplayer/archive/v$pkgver.tar.gz
)
-provides=('moonplayer')
-conflicts=('moonplayer')
-sha1sums=('8a0d9fc00cd7a2414d213faf83b056e92dfdf10d')
+sha1sums=('5748214011d7079aa6031b53d0ea31e391d37fe4')
build() {
- cd $srcdir/$pkgname-$pkgver/src
-#
- find . -name '*.py' -exec sed -i \
- 's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+ cd $srcdir/$pkgname-$pkgver
+ mkdir build
+ cd build
- qmake-qt5 PREFIX=/usr moonplayer.pro
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd $srcdir/$pkgname-$pkgver/src
+ cd $srcdir/$pkgname-$pkgver/build
- make INSTALL_ROOT=$pkgdir install
+ make DESTDIR="${pkgdir}" install
#clean pyc
#rm $pkgdir/usr/share/moonplayer/plugins/*.pyc