diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-12-13 14:38:34 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-12-13 14:38:34 +0000 |
commit | d39f616ebf651e5c475a3a05d1843d19b91fb4f3 (patch) | |
tree | 22ed4dc4d0265bda68595da8898a2a89dacc6aa2 /x11/qt5-psql | |
parent | 0254067aaa14f2c44d734ce54c455ae1805bbdfe (diff) | |
download | pkgsrc-d39f616ebf651e5c475a3a05d1843d19b91fb4f3.tar.gz |
Import Qt5 5.2.0rc1 packages and qt5 input module from uim
Only tested on NetBSD/amd64 6.99.28.
ToDo:
* inputmethod/qt5-ibus from Qt5 should be created
Diffstat (limited to 'x11/qt5-psql')
-rw-r--r-- | x11/qt5-psql/DESCR | 1 | ||||
-rw-r--r-- | x11/qt5-psql/Makefile | 36 | ||||
-rw-r--r-- | x11/qt5-psql/PLIST | 2 | ||||
-rw-r--r-- | x11/qt5-psql/buildlink3.mk | 16 |
4 files changed, 55 insertions, 0 deletions
diff --git a/x11/qt5-psql/DESCR b/x11/qt5-psql/DESCR new file mode 100644 index 00000000000..f715b9236b7 --- /dev/null +++ b/x11/qt5-psql/DESCR @@ -0,0 +1 @@ +Qt5 PostgreSQL Plugin diff --git a/x11/qt5-psql/Makefile b/x11/qt5-psql/Makefile new file mode 100644 index 00000000000..2af4a52fb43 --- /dev/null +++ b/x11/qt5-psql/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2013/12/13 14:38:35 ryoon Exp $ + +PKGNAME= qt5-psql-${QTVERSION} +COMMENT= Qt5 PostgreSQL plugin + +.include "../../x11/qt5-qtbase/Makefile.common" + +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib +CONFIGURE_ARGS+= -no-dbus +CONFIGURE_ARGS+= -no-sql-mysql +CONFIGURE_ARGS+= -no-sql-psql +CONFIGURE_ARGS+= -no-sql-sqlite + +BUILD_QT5= yes + +BUILD_DIRS+= qtbase/src/plugins/sqldrivers +MAKE_ENV+= QTDIR=${QTDIR} + +INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} +INSTALLATION_DIRS+= qt5/plugins/sqldrivers + +post-configure: + cd ${WRKSRC}/${BUILD_DIRS} && \ + ${QTDIR}/bin/qmake "sql-plugins=psql" -o Makefile + +do-install: + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/qtbase/plugins/sqldrivers/libqsqlpsql.la \ + ${DESTDIR}${QTPREFIX}/plugins/sqldrivers + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../mk/pgsql.buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/qt5-psql/PLIST b/x11/qt5-psql/PLIST new file mode 100644 index 00000000000..b5d2ad9924f --- /dev/null +++ b/x11/qt5-psql/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2013/12/13 14:38:35 ryoon Exp $ +qt5/plugins/sqldrivers/libqsqlpsql.la diff --git a/x11/qt5-psql/buildlink3.mk b/x11/qt5-psql/buildlink3.mk new file mode 100644 index 00000000000..ad9d5bed5d4 --- /dev/null +++ b/x11/qt5-psql/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/12/13 14:38:35 ryoon Exp $ + +BUILDLINK_TREE+= qt5-sqlite3 + +.if !defined(QT5_SQLITE3_BUILDLINK3_MK) +QT5_SQLITE3_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qt5-sqlite3+= qt5-sqlite3>=5.0.2 +BUILDLINK_PKGSRCDIR.qt5-sqlite3?= ../../x11/qt5-sqlite3 + +BUILDLINK_LIBDIRS.qt5-sqlite3+= qt5/plugins + +.include "../../x11/qt5-qtbase/buildlink3.mk" +.endif # QT5_SQLITE3_BUILDLINK3_MK + +BUILDLINK_TREE+= -qt5-sqlite3 |