Qt bindings for .NET/Mono.

Developed as a part of KDE SC, so resides here.
This commit is contained in:
zhuk 2013-04-24 18:43:55 +00:00
parent e8dd4310e1
commit 9105aeb560
5 changed files with 134 additions and 0 deletions

39
x11/kde4/qyoto/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 18:43:55 zhuk Exp $
CATEGORIES = devel
COMMENT = Qt4 bindings for .NET/Mono
DISTNAME = qyoto-${MODKDE4_VERSION}
SHARED_LIBS = qyoto 0.0 # 2.0
SHARED_LIBS += phonon-sharp 0.0
SHARED_LIBS += qscintilla-sharp 0.0
SHARED_LIBS += qtscript-sharp 0.0
SHARED_LIBS += qttest-sharp 0.0
SHARED_LIBS += qtuitools-sharp 0.0
SHARED_LIBS += qtwebkit-sharp 0.0
WANTLIB = c m stdc++
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork
WANTLIB += lib/qt4/QtScript lib/qt4/QtTest lib/qt4/QtWebKit
WANTLIB += lib/qt4/QtXml lib/qt4/phonon
WANTLIB += ${KDE4LIB}/smokebase ${KDE4LIB}/smokephonon ${KDE4LIB}/smokeqsci
WANTLIB += ${KDE4LIB}/smokeqtcore ${KDE4LIB}/smokeqtdbus
WANTLIB += ${KDE4LIB}/smokeqtgui ${KDE4LIB}/smokeqtnetwork
WANTLIB += ${KDE4LIB}/smokeqtopengl ${KDE4LIB}/smokeqtsql
WANTLIB += ${KDE4LIB}/smokeqtsvg ${KDE4LIB}/smokeqtxml
WANTLIB += ${KDE4LIB}/smokeqtscript ${KDE4LIB}/smokeqttest
WANTLIB += ${KDE4LIB}/smokeqtuitools ${KDE4LIB}/smokeqtwebkit
WANTLIB += qscintilla2
MODULES = lang/mono
MODKDE4_USE =
LIB_DEPENDS = editors/qscintilla \
${MODKDE4_DEP_DIR}/smokeqt
CONFIGURE_ARGS = -DPHONON_INCLUDE_DIR:String=${MODQT4_INCDIR}
NO_TEST = Yes
.include <bsd.port.mk>

2
x11/kde4/qyoto/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (kde/qyoto-4.10.2.tar.xz) = 7LeF1X+2khJmBMM5NdbU7f0LeCXrqIghRH5XT+4u88o=
SIZE (kde/qyoto-4.10.2.tar.xz) = 528552

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-cmake_CMakeCSharpInformation_cmake,v 1.1.1.1 2013/04/24 18:43:55 zhuk Exp $
--- cmake/CMakeCSharpInformation.cmake.orig Thu Feb 7 14:14:00 2013
+++ cmake/CMakeCSharpInformation.cmake Thu Feb 7 14:34:31 2013
@@ -360,9 +360,8 @@ function(install_assembly)
# So we have the mono runtime and we can use gacutil (it has the -root option, which the MS version doesn't have).
install(CODE "execute_process(COMMAND ${GACUTIL_EXECUTABLE} -i ${filename} ${package_option} -root ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac)")
- file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono)
- file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono/ DESTINATION ${GAC_DIR} )
+ install(CODE "file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono)")
endfunction(install_assembly)
set(CMAKE_CSharp_INFORMATION_LOADED 1)

1
x11/kde4/qyoto/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
Qt bindings for .NET/Mono.

78
x11/kde4/qyoto/pkg/PLIST Normal file
View File

@ -0,0 +1,78 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/24 18:43:55 zhuk Exp $
@bin bin/csrcc
@bin bin/uics
include/qyoto/
include/qyoto/callbacks.h
include/qyoto/emitsignal.h
include/qyoto/invokeslot.h
include/qyoto/marshall.h
include/qyoto/marshall_macros.h
include/qyoto/methodcall.h
include/qyoto/methodreturnvalue.h
include/qyoto/qyoto.h
include/qyoto/qyotosmokebinding.h
include/qyoto/signalreturnvalue.h
include/qyoto/slotreturnvalue.h
include/qyoto/smokeqyoto.h
include/qyoto/virtualmethodcall.h
include/qyoto/virtualmethodreturnvalue.h
@lib ${KDE4LIB}/libphonon-sharp.so.${LIBphonon-sharp_VERSION}
@lib ${KDE4LIB}/libqscintilla-sharp.so.${LIBqscintilla-sharp_VERSION}
@lib ${KDE4LIB}/libqtscript-sharp.so.${LIBqtscript-sharp_VERSION}
@lib ${KDE4LIB}/libqttest-sharp.so.${LIBqttest-sharp_VERSION}
@lib ${KDE4LIB}/libqtuitools-sharp.so.${LIBqtuitools-sharp_VERSION}
@lib ${KDE4LIB}/libqtwebkit-sharp.so.${LIBqtwebkit-sharp_VERSION}
@lib ${KDE4LIB}/libqyoto.so.${LIBqyoto_VERSION}
@lib lib/libphonon-sharp.so.${LIBphonon-sharp_VERSION}
@lib lib/libqscintilla-sharp.so.${LIBqscintilla-sharp_VERSION}
@lib lib/libqtscript-sharp.so.${LIBqtscript-sharp_VERSION}
@lib lib/libqttest-sharp.so.${LIBqttest-sharp_VERSION}
@lib lib/libqtuitools-sharp.so.${LIBqtuitools-sharp_VERSION}
@lib lib/libqtwebkit-sharp.so.${LIBqtwebkit-sharp_VERSION}
@lib lib/libqyoto.so.${LIBqyoto_VERSION}
lib/mono/gac/phonon/
lib/mono/gac/phonon/4.4.0.0__194a23ba31c08164/
lib/mono/gac/phonon/4.4.0.0__194a23ba31c08164/phonon.dll
lib/mono/gac/qscintilla/
lib/mono/gac/qscintilla/2.2.0.0__194a23ba31c08164/
lib/mono/gac/qscintilla/2.2.0.0__194a23ba31c08164/qscintilla.dll
lib/mono/gac/qt-dotnet/
lib/mono/gac/qt-dotnet/4.5.0.0__194a23ba31c08164/
lib/mono/gac/qt-dotnet/4.5.0.0__194a23ba31c08164/qt-dotnet.dll
lib/mono/gac/qt-dotnet/4.5.0.0__194a23ba31c08164/qt-dotnet.dll.config
lib/mono/gac/qtscript/
lib/mono/gac/qtscript/2.2.0.0__194a23ba31c08164/
lib/mono/gac/qtscript/2.2.0.0__194a23ba31c08164/qtscript.dll
lib/mono/gac/qttest/
lib/mono/gac/qttest/2.2.0.0__194a23ba31c08164/
lib/mono/gac/qttest/2.2.0.0__194a23ba31c08164/qttest.dll
lib/mono/gac/qtuitools/
lib/mono/gac/qtuitools/2.2.0.0__194a23ba31c08164/
lib/mono/gac/qtuitools/2.2.0.0__194a23ba31c08164/qtuitools.dll
lib/mono/gac/qtwebkit/
lib/mono/gac/qtwebkit/2.2.0.0__194a23ba31c08164/
lib/mono/gac/qtwebkit/2.2.0.0__194a23ba31c08164/qtwebkit.dll
lib/mono/qyoto/
lib/mono/qyoto/phonon.dll
lib/mono/qyoto/qscintilla.dll
lib/mono/qyoto/qt-dotnet.dll
lib/mono/qyoto/qtscript.dll
lib/mono/qyoto/qttest.dll
lib/mono/qyoto/qtuitools.dll
lib/mono/qyoto/qtwebkit.dll
lib/pkgconfig/qtscript-sharp.pc
lib/pkgconfig/qttest-sharp.pc
lib/pkgconfig/qtuitools-sharp.pc
lib/pkgconfig/qtwebkit-sharp.pc
lib/pkgconfig/qyoto.pc
share/qyoto/
share/qyoto/cmake/
share/qyoto/cmake/CMakeCSharpCompiler.cmake.in
share/qyoto/cmake/CMakeCSharpInformation.cmake
share/qyoto/cmake/CMakeDetermineCSharpCompiler.cmake
share/qyoto/cmake/CMakeTestCSharpCompiler.cmake
share/qyoto/cmake/FindMono.cmake
share/qyoto/cmake/QyotoConfig.cmake
share/qyoto/cmake/QyotoExport${MODKDE4_CMAKE_PREFIX}.cmake
share/qyoto/cmake/QyotoExport.cmake
share/qyoto/key.snk