New package: deepin-movie-reborn-3.2.7
This commit is contained in:
parent
5abb0a7cbe
commit
5de5841a26
6 changed files with 74 additions and 0 deletions
|
@ -814,6 +814,7 @@ libpeas-gtk-1.0.so.0 libpeas-1.0.0_2
|
||||||
libtotem.so.0 libtotem-3.6.2_1
|
libtotem.so.0 libtotem-3.6.2_1
|
||||||
libclutter-1.0.so.0 clutter-1.14.0_1
|
libclutter-1.0.so.0 clutter-1.14.0_1
|
||||||
libavfs.so.0 libavfs-1.0.5_1
|
libavfs.so.0 libavfs-1.0.5_1
|
||||||
|
libdmr.so.0.1 deepin-movie-reborn-3.2.5_1
|
||||||
libgjs.so.0 gjs-0.7.11_1
|
libgjs.so.0 gjs-0.7.11_1
|
||||||
libgjs-gi.so gjs-0.7.11_1
|
libgjs-gi.so gjs-0.7.11_1
|
||||||
libgjs-dbus.so.0 gjs-0.7.11_1
|
libgjs-dbus.so.0 gjs-0.7.11_1
|
||||||
|
|
1
srcpkgs/deepin-movie-reborn-devel
Symbolic link
1
srcpkgs/deepin-movie-reborn-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
deepin-movie-reborn
|
10
srcpkgs/deepin-movie-reborn/patches/cross.patch
Normal file
10
srcpkgs/deepin-movie-reborn/patches/cross.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- src/backends/mpv/mpv_glwidget.cpp 2018-05-04 10:15:32.000000000 +0200
|
||||||
|
+++ - 2018-05-22 22:08:57.552655817 +0200
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
#include <DApplication>
|
||||||
|
DWIDGET_USE_NAMESPACE
|
||||||
|
|
||||||
|
+#include <GL/gl.h>
|
||||||
|
|
||||||
|
static const char* vs_blend = R"(
|
||||||
|
attribute vec2 position;
|
11
srcpkgs/deepin-movie-reborn/patches/locale.patch
Normal file
11
srcpkgs/deepin-movie-reborn/patches/locale.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/libdmr/player_engine.cpp 2018-05-04 10:15:32.000000000 +0200
|
||||||
|
+++ - 2018-05-05 14:43:52.094245514 +0200
|
||||||
|
@@ -48,6 +48,8 @@
|
||||||
|
auto *l = new QVBoxLayout(this);
|
||||||
|
l->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
|
+ setlocale(LC_NUMERIC, "C");
|
||||||
|
+
|
||||||
|
_current = new MpvProxy(this);
|
||||||
|
if (_current) {
|
||||||
|
connect(_current, &Backend::stateChanged, this, &PlayerEngine::onBackendStateChanged);
|
13
srcpkgs/deepin-movie-reborn/patches/musl-basename.patch
Normal file
13
srcpkgs/deepin-movie-reborn/patches/musl-basename.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- compositing_manager.cpp 2018-02-16 23:26:46.157644103 +0100
|
||||||
|
+++ src/libdmr/compositing_manager.cpp 2018-02-16 23:31:57.378630531 +0100
|
||||||
|
@@ -46,6 +46,10 @@
|
||||||
|
#undef Bool
|
||||||
|
#include <mpv/qthelper.hpp>
|
||||||
|
|
||||||
|
+#if !defined(__GLIBC__)
|
||||||
|
+#include <libgen.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
typedef const char * glXGetScreenDriver_t (Display *dpy, int scrNum);
|
||||||
|
|
||||||
|
static glXGetScreenDriver_t *GetScreenDriver;
|
38
srcpkgs/deepin-movie-reborn/template
Normal file
38
srcpkgs/deepin-movie-reborn/template
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'deepin-movie-reborn'
|
||||||
|
pkgname=deepin-movie-reborn
|
||||||
|
version=3.2.7
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
||||||
|
makedepends="dtkwidget-devel ffmpegthumbnailer-devel libdvdnav-devel mpv-devel
|
||||||
|
pulseaudio-devel qt5-declarative-devel qt5-plugin-mysql qt5-plugin-odbc
|
||||||
|
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-tools-devel
|
||||||
|
qt5-x11extras-devel xcb-util-wm-devel"
|
||||||
|
depends="qt5integration"
|
||||||
|
short_desc="Deepin Movie Player"
|
||||||
|
maintainer="John <johnz@posteo.net>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/linuxdeepin/deepin-movie-reborn"
|
||||||
|
changelog="https://github.com/linuxdeepin/deepin-movie-reborn/blob/${version}/CHANGELOG.md"
|
||||||
|
distfiles="https://github.com/linuxdeepin/deepin-movie-reborn/archive/${version}.tar.gz"
|
||||||
|
checksum=25371d8407060aa791489b3c73127a1333d3396875dacc6074336dc77e8fb39a
|
||||||
|
|
||||||
|
CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
|
||||||
|
|
||||||
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
arm*) broken="https://travis-ci.org/void-linux/void-packages/jobs/394936356";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" dtkcore-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
deepin-movie-reborn-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue