quazip-qt5: switch to cmake to make Qt4/5 versions coinstallable
This commit is contained in:
parent
5283eae116
commit
54f2dd0d20
|
@ -2097,7 +2097,7 @@ 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
|
||||
libquazip5.so.1 quazip-qt5-0.7.3_2
|
||||
libjreen-qt5.so.1 jreen-qt5-1.2.0_1
|
||||
libtomahawk.so.0.8.4 tomahawk-qt5-0.8.4_3
|
||||
libtomahawk-playdarapi.so.0.8.4 tomahawk-qt5-0.8.4_3
|
||||
|
|
|
@ -1,30 +1,29 @@
|
|||
# Template file for 'quazip'
|
||||
# Template file for 'quazip-qt5'
|
||||
pkgname=quazip-qt5
|
||||
version=0.7.3
|
||||
revision=1
|
||||
build_style=qmake
|
||||
wrksrc=${pkgname%-*}-${version}
|
||||
hostmakedepends="qt5-qmake"
|
||||
revision=2
|
||||
build_style=cmake
|
||||
wrksrc="${pkgname%-*}-${version}"
|
||||
configure_args="-DCMAKE_CXX_FLAGS=-fPIC"
|
||||
makedepends="qt5-devel zlib-devel"
|
||||
short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
||||
short_desc="Qt5/C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="LGPL-2.0"
|
||||
license="LGPL-2.1"
|
||||
homepage="http://sourceforge.net/projects/quazip/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname%-*}/${pkgname%-*}-${version}.tar.gz"
|
||||
checksum=2ad4f354746e8260d46036cde1496c223ec79765041ea28eb920ced015e269b5
|
||||
|
||||
provides="quazip-${version}_${revision}"
|
||||
replaces="quazip>=0"
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-devel"
|
||||
fi
|
||||
|
||||
quazip-qt5-devel_package() {
|
||||
depends="quazip-qt5>=${version}_${revision}"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/share
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue