Merge pull request #2138 from beefcurtains/quimup
New package: quimup-1.4.0
This commit is contained in:
commit
2459e998c0
7 changed files with 39 additions and 11 deletions
|
@ -10,14 +10,14 @@ _process_patch() {
|
||||||
elif [ -n "$patch_args" ]; then
|
elif [ -n "$patch_args" ]; then
|
||||||
_args=$patch_args
|
_args=$patch_args
|
||||||
fi
|
fi
|
||||||
cp -f $i $wrksrc
|
cp -f $i "$wrksrc"
|
||||||
|
|
||||||
# Try to guess if its a compressed patch.
|
# Try to guess if its a compressed patch.
|
||||||
if [[ $f =~ .gz$ ]]; then
|
if [[ $f =~ .gz$ ]]; then
|
||||||
gunzip $wrksrc/${_patch}
|
gunzip "$wrksrc/${_patch}"
|
||||||
_patch=${_patch%%.gz}
|
_patch=${_patch%%.gz}
|
||||||
elif [[ $f =~ .bz2$ ]]; then
|
elif [[ $f =~ .bz2$ ]]; then
|
||||||
bunzip2 $wrksrc/${_patch}
|
bunzip2 "$wrksrc/${_patch}"
|
||||||
_patch=${_patch%%.bz2}
|
_patch=${_patch%%.bz2}
|
||||||
elif [[ $f =~ .diff ]]; then
|
elif [[ $f =~ .diff ]]; then
|
||||||
:
|
:
|
||||||
|
@ -28,7 +28,7 @@ _process_patch() {
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $wrksrc
|
cd "$wrksrc"
|
||||||
patch -sl ${_args} -i ${_patch} 2>/dev/null
|
patch -sl ${_args} -i ${_patch} 2>/dev/null
|
||||||
msg_normal "$pkgver: patch applied: ${_patch}.\n"
|
msg_normal "$pkgver: patch applied: ${_patch}.\n"
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ if [ -f "$XBPS_BUILD_DONE" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $wrksrc || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc]\n"
|
cd "$wrksrc" || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc]\n"
|
||||||
if [ -n "$build_wrksrc" ]; then
|
if [ -n "$build_wrksrc" ]; then
|
||||||
cd $build_wrksrc || \
|
cd $build_wrksrc || \
|
||||||
msg_error "$pkgver: cannot access build_wrksrc directory [$build_wrksrc]\n"
|
msg_error "$pkgver: cannot access build_wrksrc directory [$build_wrksrc]\n"
|
||||||
|
|
|
@ -32,7 +32,7 @@ if [ -f "$XBPS_CONFIGURE_DONE" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $wrksrc || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc].\n"
|
cd "$wrksrc" || msg_error "$pkgver: cannot access wrksrc directory [$wrksrc].\n"
|
||||||
if [ -n "$build_wrksrc" ]; then
|
if [ -n "$build_wrksrc" ]; then
|
||||||
cd $build_wrksrc || \
|
cd $build_wrksrc || \
|
||||||
msg_error "$pkgver: cannot access build_wrksrc directory [$build_wrksrc].\n"
|
msg_error "$pkgver: cannot access build_wrksrc directory [$build_wrksrc].\n"
|
||||||
|
|
|
@ -41,7 +41,7 @@ fi
|
||||||
# If template defines do_extract() use it rather than the hooks.
|
# If template defines do_extract() use it rather than the hooks.
|
||||||
if declare -f do_extract >/dev/null; then
|
if declare -f do_extract >/dev/null; then
|
||||||
[ ! -d "$wrksrc" ] && mkdir -p $wrksrc
|
[ ! -d "$wrksrc" ] && mkdir -p $wrksrc
|
||||||
cd $wrksrc
|
cd "$wrksrc"
|
||||||
run_func do_extract
|
run_func do_extract
|
||||||
else
|
else
|
||||||
if [ -n "$build_style" ]; then
|
if [ -n "$build_style" ]; then
|
||||||
|
@ -60,7 +60,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
[ -d $wrksrc ] && cd $wrksrc
|
[ -d "$wrksrc" ] && cd "$wrksrc"
|
||||||
|
|
||||||
# If template defines post_extract(), use it.
|
# If template defines post_extract(), use it.
|
||||||
if declare -f post_extract >/dev/null; then
|
if declare -f post_extract >/dev/null; then
|
||||||
|
|
|
@ -28,7 +28,7 @@ XBPS_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_install_don
|
||||||
XBPS_PRE_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_pre_install_done"
|
XBPS_PRE_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_pre_install_done"
|
||||||
XBPS_POST_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_post_install_done"
|
XBPS_POST_INSTALL_DONE="${XBPS_STATEDIR}/${sourcepkg}_${XBPS_CROSS_BUILD}_post_install_done"
|
||||||
|
|
||||||
cd $wrksrc || msg_error "$pkgver: cannot access to wrksrc [$wrksrc]\n"
|
cd "$wrksrc" || msg_error "$pkgver: cannot access to wrksrc [$wrksrc]\n"
|
||||||
if [ -n "$build_wrksrc" ]; then
|
if [ -n "$build_wrksrc" ]; then
|
||||||
cd $build_wrksrc || msg_error "$pkgver: cannot access to build_wrksrc [$build_wrksrc]\n"
|
cd $build_wrksrc || msg_error "$pkgver: cannot access to build_wrksrc [$build_wrksrc]\n"
|
||||||
fi
|
fi
|
||||||
|
@ -48,7 +48,7 @@ if [ ! -f $XBPS_INSTALL_DONE ]; then
|
||||||
|
|
||||||
# Run do_install()
|
# Run do_install()
|
||||||
if [ ! -f $XBPS_INSTALL_DONE ]; then
|
if [ ! -f $XBPS_INSTALL_DONE ]; then
|
||||||
cd $wrksrc
|
cd "$wrksrc"
|
||||||
[ -n "$build_wrksrc" ] && cd $build_wrksrc
|
[ -n "$build_wrksrc" ] && cd $build_wrksrc
|
||||||
if declare -f do_install >/dev/null; then
|
if declare -f do_install >/dev/null; then
|
||||||
run_func do_install
|
run_func do_install
|
||||||
|
@ -64,7 +64,7 @@ if [ ! -f $XBPS_INSTALL_DONE ]; then
|
||||||
|
|
||||||
# Run post_install()
|
# Run post_install()
|
||||||
if [ ! -f $XBPS_POST_INSTALL_DONE ]; then
|
if [ ! -f $XBPS_POST_INSTALL_DONE ]; then
|
||||||
cd $wrksrc
|
cd "$wrksrc"
|
||||||
[ -n "$build_wrksrc" ] && cd $build_wrksrc
|
[ -n "$build_wrksrc" ] && cd $build_wrksrc
|
||||||
if declare -f post_install >/dev/null; then
|
if declare -f post_install >/dev/null; then
|
||||||
run_func post_install
|
run_func post_install
|
||||||
|
|
10
srcpkgs/quimup/patches/quimup.patch
Normal file
10
srcpkgs/quimup/patches/quimup.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- src/qtlocalpeer.cpp.orig
|
||||||
|
+++ src/qtlocalpeer.cpp
|
||||||
|
@@ -41,6 +41,7 @@
|
||||||
|
#include "qtlocalpeer.h"
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QTime>
|
||||||
|
+#include <QDataStream>
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
|
#include <QLibrary>
|
18
srcpkgs/quimup/template
Normal file
18
srcpkgs/quimup/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'quimup'
|
||||||
|
pkgname=quimup
|
||||||
|
version=1.4.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname} ${version}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config qt5-qmake"
|
||||||
|
makedepends="libmpdclient-devel qt5-devel taglib-devel"
|
||||||
|
short_desc="Client for MPD written in c++ and QT5"
|
||||||
|
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://coonsden.com/?cat=4"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}%20${version}/${pkgname}_${version}_src.tar.gz"
|
||||||
|
checksum=b46f8ff651b9154a43cf90b005c160cbbddcc2fb8c6b17dfdee9b6c4a2e131ea
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
qmake
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue