On Sat, 25 Jan 2020 14:47:47 +0100
Rafael Sadowski wrote:
> Update 1/3 for audio/clementine.
>
> I need this port update to update Clementine. Simple switch from qt4
> to qt5. Tested with upcoming Clementine-1.4.0rc1.
>
> OK?
I've tested it on powerpc and amd64 and found no issues with that
update.
OK cwen@
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/libmygpo-qt/Makefile,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 Makefile
> --- Makefile 12 Jul 2019 20:48:30 -0000 1.9
> +++ Makefile 25 Jan 2020 06:29:29 -0000
> @@ -1,28 +1,26 @@
> # $OpenBSD: Makefile,v 1.9 2019/07/12 20:48:30 sthen Exp $
> -COMMENT = Qt/C++ library wrapper for the GPodder
> -DISTNAME = libmygpo-qt.1.0.7
> -PKGNAME = ${DISTNAME:S/./-/}
> -REVISION = 4
> +COMMENT = Qt/C++ library wrapper for the GPodder
>
> -SHARED_LIBS = mygpo-qt 0.0
> +V = 1.1.0
> +PKGNAME = libmygpo-qt-$V
> +DISTNAME = libmygpo-qt.$V
>
> -CATEGORIES = audio devel net
> -HOMEPAGE = http://wiki.gpodder.org/wiki/Libmygpo-qt
> +CATEGORIES = audio devel net
>
> -# LGPLv2.1+
> -PERMIT_PACKAGE = Yes
> +SHARED_LIBS = mygpo-qt5 0.0
>
> -WANTLIB = lib/qt4/QtNetwork m qjson ${COMPILER_LIBCXX}
> +# LGPLv2.1+
> +PERMIT_PACKAGE = Yes
>
> -COMPILER = base-clang ports-gcc base-gcc
> +WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Network m
>
> -MASTER_SITES =
> http://stefan.derkits.at/files/libmygpo-qt/ +MODULES =
> devel/cmake \
> + x11/qt5
>
> -MODULES = devel/cmake x11/qt4
> -LIB_DEPENDS = devel/qjson
> +MASTER_SITES = https://stefan.derkits.at/files/libmygpo-qt/
>
> # picks up doxygen during configure but does not really use it
> -CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:Bool=Yes
> +CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
>
> post-install:
> ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mygpo-qt
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/net/libmygpo-qt/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 distinfo
> --- distinfo 9 Dec 2013 21:26:32 -0000 1.1.1.1
> +++ distinfo 25 Jan 2020 06:29:29 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (libmygpo-qt.1.0.7.tar.gz) =
> +q3njhuu6rf4WN7IBTCtY8UPaD/lEZSKsaReaFgozHQ= -SIZE (libmygpo-qt.
> 1.0.7.tar.gz) = 66050 +SHA256 (libmygpo-qt.1.1.0.tar.gz) =
> gnZam6p7a7OjJ3dZzsnDd57uaR25GAr/41pngTNG4c0= +SIZE (libmygpo-qt.
> 1.1.0.tar.gz) = 68750 Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/net/libmygpo-qt/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 PLIST
> --- pkg/PLIST 22 May 2015 11:31:17 -0000 1.3
> +++ pkg/PLIST 25 Jan 2020 06:29:29 -0000
> @@ -1,30 +1,30 @@
> @comment $OpenBSD: PLIST,v 1.3 2015/05/22 11:31:17 ajacoutot Exp $
> -include/mygpo-qt/
> -include/mygpo-qt/AddRemoveResult.h
> -include/mygpo-qt/ApiRequest.h
> -include/mygpo-qt/Config.h
> -include/mygpo-qt/Device.h
> -include/mygpo-qt/DeviceList.h
> -include/mygpo-qt/DeviceSyncResult.h
> -include/mygpo-qt/DeviceUpdates.h
> -include/mygpo-qt/Episode.h
> -include/mygpo-qt/EpisodeAction.h
> -include/mygpo-qt/EpisodeActionList.h
> -include/mygpo-qt/EpisodeList.h
> -include/mygpo-qt/Podcast.h
> -include/mygpo-qt/PodcastList.h
> -include/mygpo-qt/Settings.h
> -include/mygpo-qt/Tag.h
> -include/mygpo-qt/TagList.h
> -include/mygpo-qt/mygpo_export.h
> +include/mygpo-qt5/
> +include/mygpo-qt5/AddRemoveResult.h
> +include/mygpo-qt5/ApiRequest.h
> +include/mygpo-qt5/Config.h
> +include/mygpo-qt5/Device.h
> +include/mygpo-qt5/DeviceList.h
> +include/mygpo-qt5/DeviceSyncResult.h
> +include/mygpo-qt5/DeviceUpdates.h
> +include/mygpo-qt5/Episode.h
> +include/mygpo-qt5/EpisodeAction.h
> +include/mygpo-qt5/EpisodeActionList.h
> +include/mygpo-qt5/EpisodeList.h
> +include/mygpo-qt5/Podcast.h
> +include/mygpo-qt5/PodcastList.h
> +include/mygpo-qt5/Settings.h
> +include/mygpo-qt5/Tag.h
> +include/mygpo-qt5/TagList.h
> +include/mygpo-qt5/mygpo_export.h
> lib/cmake/
> -lib/cmake/mygpo-qt/
> -lib/cmake/mygpo-qt/Mygpo-qtConfig.cmake
> -lib/cmake/mygpo-qt/Mygpo-qtConfigVersion.cmake
> -lib/cmake/mygpo-qt/Mygpo-qtTargets${MODCMAKE_BUILD_SUFFIX}
> -lib/cmake/mygpo-qt/Mygpo-qtTargets.cmake
> -@lib lib/libmygpo-qt.so.${LIBmygpo-qt_VERSION}
> -lib/pkgconfig/libmygpo-qt.pc
> +lib/cmake/mygpo-qt5/
> +lib/cmake/mygpo-qt5/Mygpo-qt5Config.cmake
> +lib/cmake/mygpo-qt5/Mygpo-qt5ConfigVersion.cmake
> +lib/cmake/mygpo-qt5/Mygpo-qt5Targets${MODCMAKE_BUILD_SUFFIX}
> +lib/cmake/mygpo-qt5/Mygpo-qt5Targets.cmake
> +@lib lib/libmygpo-qt5.so.${LIBmygpo-qt5_VERSION}
> +lib/pkgconfig/libmygpo-qt5.pc
> share/examples/mygpo-qt/
> share/examples/mygpo-qt/Makefile
> share/examples/mygpo-qt/src/
>