Date: Wednesday, February 27, 2013 @ 18:06:45 Author: andrea Revision: 85204
archrelease: copy trunk to community-testing-i686 Added: qsopcast/repos/community-testing-i686/ qsopcast/repos/community-testing-i686/PKGBUILD (from rev 85203, qsopcast/trunk/PKGBUILD) qsopcast/repos/community-testing-i686/gcc47.patch (from rev 85203, qsopcast/trunk/gcc47.patch) qsopcast/repos/community-testing-i686/qsopcast.desktop (from rev 85203, qsopcast/trunk/qsopcast.desktop) ------------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ gcc47.patch | 33 +++++++++++++++++++++++++++++++++ qsopcast.desktop | 10 ++++++++++ 3 files changed, 80 insertions(+) Copied: qsopcast/repos/community-testing-i686/PKGBUILD (from rev 85203, qsopcast/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-02-27 17:06:45 UTC (rev 85204) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qsopcast +pkgver=0.3.8 +pkgrel=6 +pkgdesc="A Qt front-end to p2p TV sopcast" +arch=('i686' 'x86_64') +url="http://code.google.com/p/qsopcast" +license=('GPL2') +depends=('qt4' 'sopcast') +source=("http://qsopcast.googlecode.com/files/${pkgname}-${pkgver}-qt4.tar.bz2" + 'qsopcast.desktop' + 'gcc47.patch') +sha1sums=('d0bb84bbc7d0e75fd1473a3ee8ddcf18ee5c43ca' + 'ada48f3fdeab903235967142740d057d544494c4' + '96619ebf04b8c3f752d8e219785e13a68bb9e06c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}-qt4/src" + + patch -p2 -i "${srcdir}"/gcc47.patch + + sed -i "s:/usr/local:/usr:g" qsopcast.pro main.cpp + qmake4 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}-qt4/src" + + make INSTALL_ROOT=$pkgdir install + install -D -m644 $srcdir/qsopcast.desktop \ + $pkgdir/usr/share/applications/qsopcast.desktop + rm -rf "${pkgdir}/usr/bin/sp-sc" +} Copied: qsopcast/repos/community-testing-i686/gcc47.patch (from rev 85203, qsopcast/trunk/gcc47.patch) =================================================================== --- community-testing-i686/gcc47.patch (rev 0) +++ community-testing-i686/gcc47.patch 2013-02-27 17:06:45 UTC (rev 85204) @@ -0,0 +1,33 @@ +--- qsopcast-0.3.8-qt4/src/loadsave.cpp~ 2013-02-27 17:01:20.543229693 +0000 ++++ qsopcast-0.3.8-qt4/src/loadsave.cpp 2013-02-27 17:01:38.629768649 +0000 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <unistd.h> ++ + #include "mypopupmenu.h" + #include "loadsave.h" + #include "mainwindow.h" +--- qsopcast-0.3.8-qt4/src/sopfork.cpp~ 2013-02-27 17:03:19.355725555 +0000 ++++ qsopcast-0.3.8-qt4/src/sopfork.cpp 2013-02-27 17:03:33.018960848 +0000 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <unistd.h> ++ + #include "sopfork.h" + #include "header.h" + #include "playfork.h" +--- qsopcast-0.3.8-qt4/src/record.cpp~ 2013-02-27 17:05:04.374982336 +0000 ++++ qsopcast-0.3.8-qt4/src/record.cpp 2013-02-27 17:05:15.474903741 +0000 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <unistd.h> ++ + #include "sopfork.h" + #include "record.h" + #include "header.h" Copied: qsopcast/repos/community-testing-i686/qsopcast.desktop (from rev 85203, qsopcast/trunk/qsopcast.desktop) =================================================================== --- community-testing-i686/qsopcast.desktop (rev 0) +++ community-testing-i686/qsopcast.desktop 2013-02-27 17:06:45 UTC (rev 85204) @@ -0,0 +1,10 @@ +[Desktop Entry] +Comment=A Qt frontend of sopcast +Exec=qsopcast +GenericName=Online TV +Icon=qsopcast.xpm +Name=QSopcast +StartupNotify=true +Terminal=false +Type=Application +Categories=Application;Network;