Update to libqaccessibilityclient-0.3.0

Switch from Qt4 to Qt5, so we can enable KDE5 kmag
This commit is contained in:
rsadowski 2018-12-09 08:27:04 +00:00
parent 69de901dc3
commit fdb2272f6f
4 changed files with 21 additions and 54 deletions

View File

@ -1,31 +1,28 @@
# $OpenBSD: Makefile,v 1.9 2017/11/16 23:20:40 naddy Exp $
# $OpenBSD: Makefile,v 1.10 2018/12/09 08:27:04 rsadowski Exp $
COMMENT = Qt-based library for writing accessibility apps
DISTNAME = libqaccessibilityclient-0.1.1
REVISION = 2
COMMENT = Qt-based library for writing accessibility apps
SHARED_LIBS = qaccessibilityclient 0.0
DISTNAME = libqaccessibilityclient-0.3.0
CATEGORIES = x11 devel
HOMEPAGE = https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
SHARED_LIBS += qaccessibilityclient-qt5 0.0 # 0.3
CATEGORIES = x11 devel
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtTest c m pthread
WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Test Qt5Widgets
WANTLIB += c m
MASTER_SITES = ${MASTER_SITE_KDE:=stable/libqaccessibilityclient/}
EXTRACT_SUFX = .tar.bz2
DIST_SUBDIR = kde
MASTER_SITES = ${MASTER_SITE_KDE:=stable/libqaccessibilityclient/}
MODULES = devel/cmake x11/qt4
COMPILER = base-clang ports-gcc
EXTRACT_SUFX = .tar.xz
CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=Yes
MODULES = devel/cmake \
x11/qt5
NO_TEST = Yes
TEST_IS_INTERACTIVE = X11
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (kde/libqaccessibilityclient-0.1.1.tar.bz2) = bw9sg6/HlILjQ5JTzNETX0HxCyn+AMyU2dMOJ3btC3k=
SIZE (kde/libqaccessibilityclient-0.1.1.tar.bz2) = 104199
SHA256 (libqaccessibilityclient-0.3.0.tar.xz) = ve7L69Y6qJV/kg1qk5kolBN0UfCFSV/7iiGSVuQCVvo=
SIZE (libqaccessibilityclient-0.3.0.tar.xz) = 104784

View File

@ -1,32 +0,0 @@
$OpenBSD: patch-src_qaccessibilityclient_accessibleobject_h,v 1.1 2017/05/12 14:30:57 espie Exp $
Index: src/qaccessibilityclient/accessibleobject.h
--- src/qaccessibilityclient/accessibleobject.h.orig
+++ src/qaccessibilityclient/accessibleobject.h
@@ -40,6 +40,9 @@ namespace QAccessibleClient {
class AccessibleObjectPrivate;
class RegistryPrivate;
+#ifndef QT_NO_DEBUG_STREAM
+QACCESSIBILITYCLIENT_EXPORT QDebug operator<<(QDebug, const AccessibleObject &);
+#endif
/**
This class represents an accessible object.
@@ -715,13 +718,12 @@ class QACCESSIBILITYCLIENT_EXPORT AccessibleObject (pr
friend class RegistryPrivate;
friend class CacheWeakStrategy;
friend class CacheStrongStrategy;
+#ifndef QT_NO_DEBUG_STREAM
friend QDebug QAccessibleClient::operator<<(QDebug, const AccessibleObject &);
- friend uint ::qHash(const AccessibleObject& object);
+#endif
+ friend unsigned int ::qHash(const AccessibleObject& object);
};
-#ifndef QT_NO_DEBUG_STREAM
-QACCESSIBILITYCLIENT_EXPORT QDebug operator<<(QDebug, const AccessibleObject &);
-#endif
}

View File

@ -1,7 +1,9 @@
@comment $OpenBSD: PLIST,v 1.2 2014/11/07 10:05:29 landry Exp $
@comment $OpenBSD: PLIST,v 1.3 2018/12/09 08:27:04 rsadowski Exp $
@bin bin/accessibleapps
@bin bin/dumper
include/qaccessibilityclient/
include/qaccessibilityclient/accessibleobject.h
include/qaccessibilityclient/libqaccessibilityclient-version.h
include/qaccessibilityclient/qaccessibilityclient_export.h
include/qaccessibilityclient/registry.h
lib/cmake/
@ -9,4 +11,4 @@ lib/cmake/QAccessibilityClient/
lib/cmake/QAccessibilityClient/QAccessibilityClient${MODCMAKE_BUILD_SUFFIX}
lib/cmake/QAccessibilityClient/QAccessibilityClient.cmake
lib/cmake/QAccessibilityClient/QAccessibilityClientConfig.cmake
@lib lib/libqaccessibilityclient.so.${LIBqaccessibilityclient_VERSION}
@lib lib/libqaccessibilityclient-qt5.so.${LIBqaccessibilityclient-qt5_VERSION}