New package: QMPlay2-18.07.03 (#560)
Closes https://github.com/void-linux/void-packages/issues/514
This commit is contained in:
parent
67b1585ce1
commit
4f4ee2da36
|
@ -0,0 +1 @@
|
||||||
|
QMPlay2
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/qmplay2/IPC_Unix.cpp.orig
|
||||||
|
+++ src/qmplay2/IPC_Unix.cpp
|
||||||
|
@@ -98,7 +98,7 @@
|
||||||
|
|
||||||
|
if (m_priv->fd > 0)
|
||||||
|
{
|
||||||
|
- const u_long on = 1;
|
||||||
|
+ const unsigned long on = 1;
|
||||||
|
ioctl(m_priv->fd, FIONBIO, &on);
|
||||||
|
m_priv->socketNotifier = new QSocketNotifier(m_priv->fd, QSocketNotifier::Read, this);
|
||||||
|
connect(m_priv->socketNotifier, SIGNAL(activated(int)), this, SLOT(socketReadActive()));
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'QMPlay2'
|
||||||
|
pkgname=QMPlay2
|
||||||
|
version=18.07.03
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}-src-${version}"
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
||||||
|
makedepends="alsa-lib-devel ffmpeg-devel libass-devel libcdio-devel libgme-devel
|
||||||
|
libsidplayfp-devel libva-glx-devel libXv-devel pulseaudio-devel
|
||||||
|
qt5-svg-devel qt5-tools-devel qt5-x11extras-devel taglib-devel"
|
||||||
|
short_desc="Video and audio player which can play most formats and codecs"
|
||||||
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
|
license="LGPL-3.0-only"
|
||||||
|
homepage="http://zaps166.sourceforge.net/?app=QMPlay2"
|
||||||
|
distfiles="https://github.com/zaps166/QMPlay2/releases/download/${version}/QMPlay2-src-${version}.tar.xz"
|
||||||
|
checksum=78cdadea21728f7a902ae240aae15481bcad2b9f34598c20ee7711feeff79122
|
||||||
|
|
||||||
|
QMPlay2-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue