summaryrefslogtreecommitdiff
path: root/community/minitube
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
committerroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
commit55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (patch)
tree2225c1ac4218dd287787d4a4c8ec8ceaced09067 /community/minitube
parent3025740c981e5acc29f25b400bc93046776d7008 (diff)
Sun Jul 1 00:03:50 UTC 2012
Diffstat (limited to 'community/minitube')
-rw-r--r--community/minitube/PKGBUILD15
-rw-r--r--community/minitube/fix-build.patch11
2 files changed, 21 insertions, 5 deletions
diff --git a/community/minitube/PKGBUILD b/community/minitube/PKGBUILD
index 4cdeafce2..38aab9086 100644
--- a/community/minitube/PKGBUILD
+++ b/community/minitube/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 68258 2012-03-20 19:50:34Z andrea $
+# $Id: PKGBUILD 73056 2012-06-29 18:18:46Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=minitube
-pkgver=1.7.1
-pkgrel=3
+pkgver=1.8
+pkgrel=1
pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
arch=('i686' 'x86_64')
url='http://flavio.tordini.org/minitube'
license=('GPL')
depends=('phonon')
install="${pkgname}.install"
-source=("http://flavio.tordini.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('ce336b8cca8294f85d8e34b6a7828e38')
+source=("http://flavio.tordini.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'fix-build.patch')
+md5sums=('dabfe4776ab6a19eff14e644f68714bb'
+ 'b6d67acdfc5ef17235449ca13575ba97')
build() {
cd "${srcdir}"/${pkgname}
+
+ patch -p1 -i "${srcdir}"/fix-build.patch
+
qmake
}
diff --git a/community/minitube/fix-build.patch b/community/minitube/fix-build.patch
new file mode 100644
index 000000000..9ac61d21b
--- /dev/null
+++ b/community/minitube/fix-build.patch
@@ -0,0 +1,11 @@
+--- minitube/src/qtsingleapplication/qtlocalpeer.cpp~ 2012-06-29 18:13:35.133070928 +0000
++++ minitube/src/qtsingleapplication/qtlocalpeer.cpp 2012-06-29 18:14:16.359420453 +0000
+@@ -57,6 +57,8 @@
+ static PProcessIdToSessionId pProcessIdToSessionId = 0;
+ #endif
+ #if defined(Q_OS_UNIX)
++#include <sys/types.h>
++#include <unistd.h>
+ #include <time.h>
+ #endif
+