From efecaafd0aa91532b9540d5c4f564adb99902de3 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 17 Sep 2019 15:20:46 +0200 Subject: [PATCH] jreen: switch to qt5 and drop jreen-qt5 package --- common/shlibs | 3 +-- srcpkgs/jreen-qt5 | 1 + srcpkgs/jreen-qt5-devel | 2 +- srcpkgs/jreen-qt5/template | 28 ---------------------------- srcpkgs/jreen/template | 37 ++++++++++++++++++++++++++----------- 5 files changed, 29 insertions(+), 42 deletions(-) create mode 120000 srcpkgs/jreen-qt5 delete mode 100644 srcpkgs/jreen-qt5/template diff --git a/common/shlibs b/common/shlibs index 56feb7a217b..b618b9e369b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1997,7 +1997,6 @@ libasignify.so.1 asignify-1.0_1 libvte2_90.so.9 vte290-0.36.3_1 libd0_blind_id.so.0 xonotic-0.8.0_1 libechonest.so.2.3 libechonest-2.3.1_1 -libjreen.so.1 jreen-1.2.1_1 libuecc.so.0 libuecc-5_1 libKF5WindowSystem.so.5 kwindowsystem-5.6.0_1 libKF5GuiAddons.so.5 kguiaddons-5.6.0_1 @@ -2078,7 +2077,7 @@ 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 libquazip5.so.1 quazip-0.7.3_2 -libjreen-qt5.so.1 jreen-qt5-1.2.0_1 +libjreen-qt5.so.1 jreen-1.3.0_1 libzen.so.0 libzen-0.4.31_1 libmediainfo.so.0 libmediainfo-0.7.75_1 libnghttp2.so.14 nghttp2-1.0.2_1 diff --git a/srcpkgs/jreen-qt5 b/srcpkgs/jreen-qt5 new file mode 120000 index 00000000000..adda684e0c9 --- /dev/null +++ b/srcpkgs/jreen-qt5 @@ -0,0 +1 @@ +jreen \ No newline at end of file diff --git a/srcpkgs/jreen-qt5-devel b/srcpkgs/jreen-qt5-devel index 9aff5c71925..adda684e0c9 120000 --- a/srcpkgs/jreen-qt5-devel +++ b/srcpkgs/jreen-qt5-devel @@ -1 +1 @@ -jreen-qt5 \ No newline at end of file +jreen \ No newline at end of file diff --git a/srcpkgs/jreen-qt5/template b/srcpkgs/jreen-qt5/template deleted file mode 100644 index 92f3aa73b09..00000000000 --- a/srcpkgs/jreen-qt5/template +++ /dev/null @@ -1,28 +0,0 @@ -# Template file for 'jreen' -pkgname=jreen-qt5 -version=1.3.0 -revision=1 -wrksrc="${pkgname%-*}-${version}" -build_style=cmake -hostmakedepends="pkg-config" -makedepends="gsasl-devel speex-devel qt5-devel zlib-devel" -short_desc="Qt5 Jabber/XMPP extensible library" -maintainer="Duncaen " -license="LGPL-3" -homepage="https://github.com/euroelessar/jreen" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=f93c3d338c011c0945dacb14eb9da3be9541028c9eaa6f2024e688eb8a49b07e - -if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-devel" -fi - -jreen-qt5-devel_package() { - depends="${sourcepkg}>=${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/*.so - vmove usr/lib/pkgconfig - } -} diff --git a/srcpkgs/jreen/template b/srcpkgs/jreen/template index 61fbb204312..f23ba291354 100644 --- a/srcpkgs/jreen/template +++ b/srcpkgs/jreen/template @@ -1,20 +1,23 @@ # Template file for 'jreen' pkgname=jreen -version=1.2.1 -revision=1 +version=1.3.0 +revision=2 build_style=cmake -configure_args="-DJREEN_FORCE_QT4=yes" hostmakedepends="pkg-config" -makedepends="gsasl-devel speex-devel qt-devel zlib-devel" -short_desc="Extensible XMPP library written in C++ using Qt" -maintainer="Duncan Overbruck " -license="GPL-2" -homepage="http://qutim.org/jreen" -distfiles="http://github.com/euroelessar/${pkgname}/archive/v${version}.tar.gz" -checksum=be5de04b6f54e47bdec92707600441a39e46add958181ad2b5b2d1bf92693fbd +makedepends="gsasl-devel speex-devel qt5-devel zlib-devel" +short_desc="Qt5 Jabber/XMPP extensible library" +maintainer="Duncaen " +license="LGPL-3.0-or-later" +homepage="https://github.com/euroelessar/jreen" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=f93c3d338c011c0945dacb14eb9da3be9541028c9eaa6f2024e688eb8a49b07e + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi jreen-devel_package() { - depends="jreen>=${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include @@ -22,3 +25,15 @@ jreen-devel_package() { vmove usr/lib/pkgconfig } } + +jreen-qt5_package() { + build_style=meta + short_desc+=" (transitional dummy package)" + depends="${sourcepkg}>=${version}_${revision}" +} + +jreen-qt5-devel_package() { + build_style=meta + short_desc+=" (transitional dummy package)" + depends="jreen-devel>=${version}_${revision}" +}