Import QOAuth, KDE 4 prerequisite.
QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way, i.e. simply, clearly and efficiently. okay landry@
This commit is contained in:
parent
190b79fcd0
commit
5c9fabaf1e
43
security/qoauth/Makefile
Normal file
43
security/qoauth/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/01 11:53:55 zhuk Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
COMMENT = OAuth support library for Qt-based applications
|
||||
V = 1.0.1
|
||||
DISTNAME = qoauth-${V}-src
|
||||
PKGNAME = ${DISTNAME:C/-src//}
|
||||
CATEGORIES = security devel
|
||||
HOMEPAGE = https://github.com/ayoy/qoauth
|
||||
|
||||
SHARED_LIBS = qoauth 0.0
|
||||
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = lib/qt4/QtNetwork m pthread qca2 stdc++
|
||||
|
||||
MASTER_SITES = http://files.ayoy.net/qoauth/$V/
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
MODULES = x11/qt4
|
||||
LIB_DEPENDS = security/qca2
|
||||
|
||||
MAKE_FLAGS = LIBqoauth_VERSION=${LIBqoauth_VERSION}
|
||||
DESTDIRNAME = INSTALL_ROOT
|
||||
|
||||
# XXX wants to interact with external servers, too
|
||||
TEST_IS_INTERACTIVE = X11
|
||||
TEST_NAMES = ft_interface ut_interface
|
||||
|
||||
do-configure:
|
||||
cd ${WRKDIST} && ${LOCALBASE}/bin/qmake4 \
|
||||
PREFIX=${PREFIX} \
|
||||
qoauth.pro
|
||||
|
||||
do-test:
|
||||
.for _t in ${TEST_NAMES}
|
||||
cd ${WRKBUILD}/tests/${_t} && \
|
||||
LD_PRELOAD=${WRKBUILD}/lib/libqoauth.so.${LIBqoauth_VERSION} \
|
||||
./${_t}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/qoauth/distinfo
Normal file
2
security/qoauth/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (qoauth-1.0.1-src.tar.bz2) = uFead87LB5KOVXxKAZ25AqDwQLIveSbxRymeh6xaVP0=
|
||||
SIZE (qoauth-1.0.1-src.tar.bz2) = 42298
|
2
security/qoauth/pkg/DESCR
Normal file
2
security/qoauth/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
QOAuth is an attempt to support interaction with OAuth-powered network
|
||||
services in a Qt way, i.e. simply, clearly and efficiently.
|
10
security/qoauth/pkg/PLIST
Normal file
10
security/qoauth/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/01 11:53:56 zhuk Exp $
|
||||
include/QtOAuth/
|
||||
include/QtOAuth/QtOAuth
|
||||
include/QtOAuth/interface.h
|
||||
include/QtOAuth/qoauth_global.h
|
||||
include/QtOAuth/qoauth_namespace.h
|
||||
lib/libqoauth.prl
|
||||
@lib lib/libqoauth.so.${LIBqoauth_VERSION}
|
||||
lib/pkgconfig/qoauth.pc
|
||||
lib/qt4/mkspecs/features/oauth.prf
|
Loading…
Reference in New Issue
Block a user