Merge pull request #1494 from Duncaen/tomahawk-qt5

Tomahawk qt5
This commit is contained in:
Duncan Overbruck 2015-05-04 10:27:21 +02:00
commit 1518be46e9
24 changed files with 340 additions and 0 deletions

View File

@ -2006,3 +2006,15 @@ libsfml-graphics.so.2.2.0 SFML-2.2_1
libclamav.so.6 clamav-0.98.6_1
libclamunrar.so.6 clamav-0.98.6_1
libclamunrar_iface.so.6 clamav-0.98.6_1
libqca.so.2 qca-qt5-2.1.0_1
libqt5keychain.so.0 qtkeychain-qt5-0.4.0_1
libphonon4qt5.so.4 phonon-qt5-4.8.3_1
libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1
libtelepathy-qt5.so.0 telepathy-qt5-0.9.5_1
libtelepathy-qt5-farstream.so.0 telepathy-qt5-farstream-0.9.5_1
libKF5Attica.so.5 attica-qt5-5.6.0_1
libechonest5.so.2.3 libechonest-qt5-2.3.0_1
liblastfm_fingerprint5.so.1 liblastfm-qt5-1.0.9_1
liblastfm5.so.1 liblastfm-qt5-1.0.9_1
libquazip.so.1 quazip-qt5-0.7.1_1
libjreen-qt5.so.1 jreen-qt5-1.2.0_1

1
srcpkgs/attica-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
attica-qt5

View File

@ -0,0 +1,25 @@
# Template file for 'attica'
pkgname=attica-qt5
version=5.6.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
hostmakedepends="cmake"
makedepends="qt5-devel extra-cmake-modules"
short_desc="A Qt library that implements the Open Collaboration Services API"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://projects.kde.org/projects/kdesupport/attica"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
checksum=00795347ddede9daabc84112c517b4c92ec387c38fd7460c93fc877ac57383e3
attica-qt5-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/mkspecs
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}

1
srcpkgs/jreen-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
jreen-qt5

View File

@ -0,0 +1,24 @@
# Template file for 'jreen'
pkgname=jreen-qt5
version=1.2.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="gsasl-devel speex-devel qt5-devel zlib-devel"
short_desc="Extensible XMPP library written in C++ using Qt"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://qutim.org/jreen"
distfiles="http://github.com/euroelessar/${pkgname%-*}/archive/v${version}.tar.gz"
checksum=cee3762015357bfd88f7f3eb71dd7f90ddf37fdff07c5cf99881fda051c5fe1b
jreen-qt5-devel_package() {
depends="jreen-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}

View File

@ -0,0 +1 @@
libechonest-qt5

View File

@ -0,0 +1,25 @@
# Template file for 'libechonest'
pkgname=libechonest-qt5
version=2.3.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DBUILD_WITH_QT4=OFF"
hostmakedepends="cmake qt5-qmake"
makedepends="boost-devel qt5-xmlpatterns-devel"
short_desc="A C++/Qt wrapper around the wonderful echo nest api"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="https://projects.kde.org/projects/playground/libs/libechonest"
distfiles="http://files.lfranchi.com/${pkgname%-*}-${version}.tar.bz2"
checksum=79983ba72fbf9b112ebfb329b96b60eddf25d719ebe34eb70de01aa106ae2b44
libechonest-qt5-devel_package() {
depends="libechonest-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}

1
srcpkgs/liblastfm-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
liblastfm-qt5

View File

@ -0,0 +1,23 @@
# Template file for 'liblastfm'
pkgname=liblastfm-qt5
version=1.0.9
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
hostmakedepends="cmake"
makedepends="qt5-devel qt5-plugin-pgsql qt5-plugin-mysql qt5-plugin-sqlite qt5-plugin-odbc libsamplerate-devel fftw-devel"
short_desc="A Qt5 C++ library for the Last.fm webservices"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/lastfm/liblastfm"
distfiles="https://github.com/lastfm/${pkgname%-*}/archive/${version}.tar.gz"
checksum=5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b
liblastfm-qt5-devel_package() {
depends="liblastfm-qt5>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}

1
srcpkgs/phonon-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
phonon-qt5

View File

@ -0,0 +1,31 @@
# Template file for 'phonon'
pkgname=phonon-qt5
version=4.8.3
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
hostmakedepends="cmake automoc4"
makedepends="glib-devel qt5-devel pulseaudio-devel libqzeitgeist-devel"
short_desc="The multimedia framework for KDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://phonon.kde.org/"
distfiles="http://download.kde.org/stable/${pkgname%-*}/${version}/src/${pkgname%-*}-${version}.tar.xz"
checksum=a1149c961ca1570968d070bbd23671e614aa506f847ca93748960e309f85da16
post_install() {
# Create compat symlink for QT phonon.
vmkdir usr/lib/qt5/plugins
ln -s /usr/lib/kde4/plugins/phonon_backend ${DESTDIR}/usr/lib/qt5/plugins
}
phonon-qt5-devel_package() {
depends="qt5-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/phonon4qt5
}
}

1
srcpkgs/qca-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
qca-qt5

1
srcpkgs/qca-qt5-ossl Symbolic link
View File

@ -0,0 +1 @@
qca-qt5

View File

@ -0,0 +1,14 @@
# upstream
# http://quickgit.kde.org/?p=qca.git&a=commit&h=593de6855a4f4dc26cface3e96de8889f90cb4bb
--- plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:42.000000000 +0100
+++ plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:27.000000000 +0100
@@ -5801,7 +5801,7 @@
{
SessionInfo sessInfo;
- sessInfo.isCompressed = (0 != ssl->session->compress_meth);
+ sessInfo.isCompressed = (0 != SSL_SESSION_get_compress_id(ssl->session));
if (ssl->version == TLS1_VERSION)
sessInfo.version = TLS::TLS_v1;

37
srcpkgs/qca-qt5/template Normal file
View File

@ -0,0 +1,37 @@
# Template file for 'qca'
pkgname=qca-qt5
version=2.1.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DBUILD_TESTS=0 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qca/mkspecs -DWITH_ossl_PLUGIN=yes"
hostmakedepends="cmake pkg-config"
makedepends="nss-devel libgcrypt-devel qt5-devel ca-certificates libressl-devel"
depends="ca-certificates"
short_desc="Qt Cryptographic Architecture"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://delta.affinix.com/qca/"
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname%-*}-${version}.tar.gz"
checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
provides="qca-${version}_${revision}"
replaces="qca>=0"
qca-qt5-ossl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - QCA OSSL plugin"
pkg_install() {
vmove usr/lib/qca/crypto/libqca-ossl.so
}
}
qca-qt5-devel_package() {
depends="qt5-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/share/qca/mkspecs
}
}

View File

@ -0,0 +1 @@
qtkeychain-qt5

View File

@ -0,0 +1,24 @@
# Template file for 'qtkeychain'
pkgname=qtkeychain-qt5
version=0.4.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
hostmakedepends="cmake"
makedepends="icu-devel qt5-devel qt5-tools-devel"
short_desc="Platform-independent Qt API for storing passwords securely"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="BSD"
homepage="https://github.com/frankosterfeld/qtkeychain"
distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/v${version}.tar.gz"
checksum=a67dea6a2cc857afdb12f1e639aef63d1a9841a44e5640d9e71d0446f146b707
qtkeychain-qt5-devel_package() {
depends="qtkeychain-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}

1
srcpkgs/quazip-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
quazip-qt5

View File

@ -0,0 +1,33 @@
# Template file for 'quazip'
pkgname=quazip-qt5
version=0.7.1
revision=1
wrksrc=${pkgname%-*}-${version}
hostmakedepends="qt5-qmake"
makedepends="qt5-devel zlib-devel"
short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.0"
homepage="http://sourceforge.net/projects/quazip/"
distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.gz"
checksum=78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de
provides="quazip-${version}_${revision}"
replaces="quazip>=0"
do_configure() {
qmake PREFIX=/usr
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
quazip-qt5-devel_package() {
depends="quazip-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}

1
srcpkgs/telepathy-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
telepathy-qt5

View File

@ -0,0 +1 @@
telepathy-qt5

View File

@ -0,0 +1,40 @@
# Template file for 'telepathy-qt'
pkgname=telepathy-qt5
version=0.9.5
revision=1
wrksrc=${pkgname//5/}-${version}
build_style=cmake
configure_args="
-DENABLE_EXAMPLES=OFF
-DENABLE_TESTS=OFF
-DDESIRED_QT_VERSION=5
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5"
hostmakedepends="cmake pkg-config"
makedepends="qt5-devel telepathy-farstream-devel telepathy-glib-devel gstreamer-devel"
short_desc="Qt5 bindings for the Telepathy D-Bus protocol"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org/"
distfiles="http://telepathy.freedesktop.org/releases/${pkgname//5/}/${pkgname//5/}-${version}.tar.gz"
checksum=93474858efe55bf45ee9352f88b852d4a24505939dc81a3a3c6fa5a686809c8e
subpackages="telepathy-qt5-farstream telepathy-qt5-devel"
telepathy-qt5-farstream_package() {
depends="telepathy-qt5>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*-farstream.so.*
}
}
telepathy-qt5-devel_package() {
depends="telepathy-qt5>=${version}_${revision} telepathy-qt5-farstream>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake/TelepathyQt5*
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}

1
srcpkgs/tomahawk-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
tomahawk-qt5

View File

@ -0,0 +1,40 @@
# Template file for 'tomahawk'
pkgname=tomahawk-qt5
version=0.8.4
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
build_options="upower hatchet kde xmpp"
desc_option_hatchet="Enable support for http://hatchet.is"
desc_option_kde="Enable support for KDE"
desc_option_xmpp="Enable support for XMPP"
build_options_default=${build_options}
configure_args="-DBUILD_RELEASE=ON \
$(vopt_if hatchet '-DBUILD_HATCHET=ON' '-DBUILD_HATCHET=OFF') \
-DBUILD_WITH_QT4=OFF \
-DWITH_CRASHREPORTER=OFF
$(vopt_if kde '-DWITH_KDE4=ON' '-DWITH_KDE4=OFF') \
$(vopt_if upower '-DWITH_UPOWER=ON' '-DWITH_UPOWER=OFF')"
hostmakedepends="cmake pkg-config"
makedepends="boost-devel Lucene++-devel qt5-devel taglib-devel sparsehash
gnutls-devel qt5-webkit-devel qca-qt5-devel attica-qt5-devel qtkeychain-qt5-devel
qt5-svg-devel qt5-tools-devel phonon-qt5-devel liblastfm-qt5-devel quazip-qt5-devel
libechonest-qt5-devel libressl-devel $(vopt_if hatchet websocketpp)
$(vopt_if xmpp jreen-qt5-devel) $(vopt_if kde telepathy-qt5-devel)"
depends="virtual?phonon-backend qt5-plugin-sqlite $(vopt_if xmpp qca-qt5-ossl)
qca-qt5 quazip-qt5"
short_desc="Multi-source social music player"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://tomahawk-player.org/"
distfiles="http://download.tomahawk-player.org/${pkgname%-*}-${version}.tar.bz2"
checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449
tomahawk-qt5-devel_package() {
depends="tomahawk-qt5>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}