Commit d20cba33 authored by abveritas's avatar abveritas

merge platform kde-unstable changes into testine

parent 46b6f6bb
......@@ -6,23 +6,28 @@
pkgname=libqzeitgeist
pkgver=0.8.0
pkgrel=1
pkgrel=2
pkgdesc="A Qt interface to the Zeitgeist event tracking system"
url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
arch=('i686' 'x86_64')
license=('GPL')
depends=('qt')
makedepends=('cmake' 'automoc4' 'python2' 'zeitgeist')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('97bdea6a1865db7d5f29c93e3a492f24')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
'set-declarative-installation-dir.patch')
md5sums=('97bdea6a1865db7d5f29c93e3a492f24'
'd111c473314a9fe0add4888c7469b5ca')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/set-declarative-installation-dir.patch
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
-DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt/imports/
make
}
......
#
# Phonon Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=('phonon-backend-gstreamer')
_pkgname=('phonon-gstreamer')
pkgver=4.5.9
pkgrel=1
pkgdesc="Phonon GStreamer backend"
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
license=('LGPL')
depends=('gstreamer0.10-base-plugins' 'phonon')
makedepends=('qt' 'pkgconfig' 'cmake' 'automoc4' 'git' 'mesa')
groups=("kde-complete" "kde-uninstall")
conflicts=('phonon-gstreamer')
replaces=('phonon-gstreamer')
source=("http://www.chakra-linux.org/sources/${pkgname}/${_pkgname}-${pkgver}.tar.xz")
md5sums=('4434b053e58dcb93225a039199dff1bc')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://anongit.kde.org/${_pkgname}
pushd ${_pkgname}
popd
tar -cvJf ${_pkgname}-${pkgver}.tar.xz ${_pkgname}/*
md5sum ${_pkgname}-${pkgver}.tar.xz
}
build() {
cd ${srcdir}
mkdir -p build
cd build
cmake ../${_pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
#
# Phonon Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('phonon-backend-mplayer')
_pkgname=('phonon-mplayer')
pkgver=20111223
pkgrel=1
pkgdesc='Phonon MPlayer backend'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
license=('LGPL')
depends=('phonon' 'mplayer')
makedepends=('qt' 'pkgconfig' 'cmake' 'automoc4' 'git' 'mesa')
groups=("kde-complete" "kde-uninstall")
conflicts=("phonon-mplayer-svn" 'phonon-mplayer')
replaces=("phonon-mplayer-svn" 'phonon-mplayer')
_gitroot="git://anongit.kde.org/${_pkgname}.git"
_gitname="${_pkgname}"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d ${_gitname} ] ; then
cd ${_gitname} && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot} ${_gitname}
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "${srcdir}/${_gitname}-build"
git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
cd "${srcdir}/${_gitname}-build"
# Config
[ ${CARCH} = 'x86_64' ] && CXXFLAGS="$CXXFLAGS -fPIC"
# Build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DPLUGIN_INSTALL_DIR=/usr/lib/kde4 -DSERVICES_INSTALL_DIR=/usr/share/kde4/services . || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf "${srcdir}/${_gitname}-build"
}
#
# Phonon Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('phonon-backend-vlc')
_pkgname=('phonon-vlc')
pkgver=0.4.11
pkgrel=1
pkgdesc='Phonon VLC backend'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
license=('LGPL')
depends=('vlc' "phonon")
makedepends=('qt' 'pkgconfig' 'cmake' 'automoc4' 'git' 'mesa')
groups=("kde-complete" "kde-uninstall")
replaces=('phonon-vlc-svn' 'phonon-vlc')
conflicts=('phonon-vlc-svn' 'phonon-vlc')
source=("http://www.chakra-linux.org/sources/${pkgname}/${_pkgname}-$pkgver.tar.xz")
md5sums=('60cdb096ca9cc248eae1af3c8c7bcdf1')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://anongit.kde.org/${_pkgname}
pushd ${_pkgname}
popd
tar -cvJf ${_pkgname}-${pkgver}.tar.xz ${_pkgname}/*
md5sum ${_pkgname}-${pkgver}.tar.xz
}
build() {
cd ${srcdir}
mkdir -p build
cd build
cmake ../${_pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
#
# Phonon Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('phonon-backend-xine')
_pkgname=('phonon-xine')
pkgver=4.4.41
pkgrel=2
pkgdesc='Phonon Xine backend'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
license=('LGPL')
depends=('xine-lib' "phonon")
makedepends=('qt' 'pkgconfig' 'cmake' 'automoc4' 'git' 'mesa')
groups=("kde-complete" "kde-uninstall")
conflicts=('phonon-xine')
replaces=('phonon-xine')
source=("http://www.chakra-linux.org/sources/${pkgname}/${_pkgname}-${pkgver}.tar.xz")
md5sums=('86205ec2a342f93bf33e4d6428e5e872')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone git://anongit.kde.org/${_pkgname}
pushd ${_pkgname}
popd
tar -cvJf ${_pkgname}-${pkgver}.tar.xz ${_pkgname}/*
md5sum ${_pkgname}-${pkgver}.tar.xz
}
build() {
cd ${srcdir}
mkdir -p build
cd build
cmake ../${_pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
#
# Phonon Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
pkgbase=('phonon-backend')
pkgname=('phonon-backend-gstreamer'
'phonon-backend-xine'
'phonon-backend-mplayer'
'phonon-backend-vlc')
pkgver=4.5.5
_gst=4.5.1
_xine=4.4.4
_vlc=0.4.1
_mplayer=${pkgver}.$(date +%Y%m%d)
pkgrel=6
pkgdesc='The multimedia API for Qt 4 and KDE 4'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
license=('LGPL')
makedepends=("qt>=${_qtver}"
'pkgconfig'
'cmake'
'automoc4'
'git'
'mesa'
'mplayer'
'xine-lib'
'vlc'
'gstreamer0.10'
'gstreamer0.10-base'
'gstreamer0.10-base-plugins'
'libpulse'
"phonon")
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${_gst}/src/phonon-backend-gstreamer-${_gst}.tar.bz2"
"http://download.kde.org/stable/phonon/phonon-backend-xine/${_xine}/src/phonon-backend-xine-${_xine}.tar.bz2"
"http://download.kde.org/stable/phonon/phonon-backend-vlc/${_vlc}/phonon-backend-vlc-${_vlc}.tar.bz2")
md5sums=('021cf7740208e7212b7ce91adb6a349b'
'b127104e67538e573adeed3b2fb3bf55'
'bdf188c0d3ad3458e7e39ecad06a500b')
build() {
cd ${srcdir}
mkdir -p build-phonon-gst
cd build-phonon-gst
cmake ../phonon-backend-gstreamer-${_gst} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ${srcdir}
mkdir -p build-phonon-xine
cd build-phonon-xine
cmake ../phonon-backend-xine-${_xine} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
cd ${srcdir}
mkdir -p build-phonon-vlc
cd build-phonon-vlc
cmake ../phonon-backend-vlc-${_vlc} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package_phonon-backend-gstreamer()
{
url="http://phonon.kde.org"
pkgdesc="Phonon GStreamer backend"
license=('LGPL')
depends=('gstreamer0.10-base-plugins' "phonon")
groups=("kde-complete" "kde-uninstall")
conflicts=('phonon-gstreamer')
replaces=('phonon-gstreamer')
pkgver=$_gst
cd ${srcdir}/build-phonon-gst
make DESTDIR=${pkgdir} install
}
package_phonon-backend-xine()
{
url="http://phonon.kde.org"
pkgdesc="Phonon Xine backend"
license=('LGPL')
depends=('xine-lib' "phonon")
groups=("kde-complete" "kde-uninstall")
conflicts=('phonon-xine')
replaces=('phonon-xine')
pkgver=$_xine
pkgrel=5
cd ${srcdir}/build-phonon-xine
make DESTDIR=${pkgdir} install
}
package_phonon-backend-mplayer()
{
bename=mplayer
pkgdesc="Phonon MPlayer backend"
url="http://www.gitorious.org/phonon/phonon-${bename}"
license=("LGPL")
depends=("phonon" "${bename}")
groups=("kde-complete" "kde-uninstall")
conflicts=("phonon-${bename}-svn" 'phonon-mplayer')
replaces=("phonon-${bename}-svn" 'phonon-mplayer')
pkgver=$_mplayer
pkgrel=1
_gitroot="git://anongit.kde.org/phonon-${bename}.git"
_gitname="phonon-${bename}"
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d ${_gitname} ] ; then
cd ${_gitname} && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot} ${_gitname}
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "${srcdir}/${_gitname}-build"
git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
cd "${srcdir}/${_gitname}-build"
# Config
[ ${CARCH} = 'x86_64' ] && CXXFLAGS="$CXXFLAGS -fPIC"
# Build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DPLUGIN_INSTALL_DIR=/usr/lib/kde4 -DSERVICES_INSTALL_DIR=/usr/share/kde4/services . || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf "${srcdir}/${_gitname}-build"
}
package_phonon-backend-vlc()
{
pkgdesc="Phonon VLC backend"
url="http://gitorious.org/phonon/phonon-vlc"
license=('LGPL')
depends=('vlc' "phonon")
groups=("kde-complete" "kde-uninstall")
replaces=('phonon-vlc-svn' 'phonon-vlc')
conflicts=('phonon-vlc-svn' 'phonon-vlc')
pkgver=$_vlc
pkgrel=5
cd ${srcdir}/build-phonon-vlc
make DESTDIR=${pkgdir} install
}
......@@ -5,27 +5,37 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=qtwebkit
pkgver=2.2.0
pkgrel=5
pkgver=2.2.1
pkgrel=1
pkgdesc="Standalone qtwebkit version"
arch=('i686' 'x86_64')
url="http://www.qtsoftware.com"
license=('GPL3' 'LGPL')
depends=('qt' 'gstreamer0.10' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-ugly-plugins' )
makedepends=('gperf' 'sqlite3' 'fontconfig' 'phonon' 'perl' 'python' 'mesa')
source=("http://get.qt.nokia.com/qtwebkit/QtWebKit-${pkgver}.tar.gz")
#source=("http://get.qt.nokia.com/qtwebkit/QtWebKit-${pkgver}.tar.gz")
source=("http://chakra-linux.org/sources/$pkgname/QtWebKit-$pkgver.tar.gz"
"http://chakra-linux.org/sources/$pkgname/qwebview-4.8.0.tar.bz2")
md5sums=('f8c4becff276fcb86d83731f9a09fa96')
md5sums=('1a77037379369ba151bb8a2d6bc6122a'
'13a4ac75d98452c2bf7ef710353e91d8')
build() {
cd $srcdir/QtWebKit-$pkgver
export QT4DIR=$srcdir/$pkgname
export PATH=${QT4DIR}/bin:${PATH}
Tools/Scripts/build-webkit --qt --3d-canvas --3d-rendering --accelerated-2d-canvas --geolocation
Tools/Scripts/build-webkit --qt --3d-canvas
cd "${srcdir}"/QtWebKit-${pkgver}/qwebview-4.8.0/plugins/qwebview
qmake
make
}
package() {
cd $srcdir/QtWebKit-$pkgver/WebKitBuild/Release
make INSTALL_ROOT=$pkgdir install
cd "${srcdir}"/QtWebKit-${pkgver}/qwebview-4.8.0/plugins/qwebview
make INSTALL_ROOT="${pkgdir}" install
}
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=sip
pkgver=4.12.3
pkgver=4.13.1
pkgrel=1
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
arch=('i686' 'x86_64')
......@@ -13,7 +13,7 @@ url="http://www.riverbankcomputing.com/software/sip/"
license=('custom:"sip"')
depends=('python2' 'gcc-libs')
source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${pkgver}.tar.gz")
md5sums=('d0f1fa60494db04b4d115d4c2d92f79e')
md5sums=('3f61fd39d5b0c8fa9e43b59af04de924')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
......
......@@ -7,8 +7,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=strigi
pkgver=0.7.6
pkgrel=2
pkgver=0.7.7
pkgrel=1
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
arch=('i686' 'x86_64')
url="http://www.vandenoever.info/software/strigi/"
......@@ -18,15 +18,12 @@ makedepends=('qt' 'cmake' 'pkgconfig' 'boost')
provides=('strigi-git')
replaces=('strigi-git')
conflicts=('strigi-git')
source=("http://rdieter.fedorapeople.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'libstreamanalyzer_pdf.patch')
md5sums=('41cddd39e4ae3f590d82c859a14e9261'
'3e722a93cf5c6238e625ca58463afac2')
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('ca0a0fd5c2b99879f6330837aeede996')
options=('!libtool')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}/libstreamanalyzer
patch -p1 -i "${srcdir}"/libstreamanalyzer_pdf.patch
cd "${srcdir}"
mkdir build
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=xine-lib
pkgver=1.1.19
pkgrel=7
pkgver=1.1.20.1
pkgrel=1
pkgdesc="A multimedia playback engine"
arch=('i686' 'x86_64')
url="http://www.xine-project.org"
......@@ -30,29 +30,15 @@ optdepends=('imagemagick: for using the imagemagick plugin' \
'libmng: for using the mng plugin' \
'aalib: for using the aalib plugin')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
xine-lib-1.1.1-configure-no-mcpu-march.patch xine-lib-1.1.19-xvmc.patch
xine-lib-1.1.19-ffmpeg.patch)
sha1sums=('5afcc28c5cf2bdaab99d951960f6587797e1e5a0'
'121a8358d7919b2e51067412373f52848290338a'
'920bf27e6e3523dfe4cc9c802ff713e9688a3f34'
'5c72832408877be2fee22cccaf4d630b4c0843fe')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz)
sha1sums=('577537bf3aa50a708c7e487e4804ae3c1f803796')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch
patch -p0 < ../xine-lib-1.1.19-xvmc.patch
patch -p1 -i "${srcdir}/xine-lib-1.1.19-ffmpeg.patch"
sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
configure.ac src/input/input_v4l.c src/video_out/video_out_syncfb.h
libtoolize --force --copy
aclocal -I m4
autoconf
automake --add-missing
./configure --prefix=/usr --with-wavpack --with-external-ffmpeg --with-external-libfaad --disable-gnomevfs
./configure --prefix=/usr --with-wavpack --with-external-ffmpeg --with-external-libfaad \
--disable-gnomevfs --disable-optimizations
make
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment