Import Grantlee, KDE 4 prerequisite.
Grantlee is a theming framework for Qt applications. ok landry@
This commit is contained in:
parent
e99d165836
commit
11665ceb82
34
x11/grantlee/Makefile
Normal file
34
x11/grantlee/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
COMMENT = template and text document library for Qt
|
||||
PKG_VERSION = 0.3.0
|
||||
PLIST_VERSION = ${PKG_VERSION:R}
|
||||
DISTNAME = grantlee-${PKG_VERSION}
|
||||
CATEGORIES = devel x11
|
||||
HOMEPAGE = http://www.gitorious.org/grantlee/
|
||||
|
||||
SHARED_LIBS = grantlee_core 0.0
|
||||
SHARED_LIBS += grantlee_gui 0.0
|
||||
|
||||
# LGPLv2.1
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = http://downloads.grantlee.org/ \
|
||||
http://www.loegria.net/grantlee/
|
||||
|
||||
WANTLIB = c m stdc++ pthread
|
||||
WANTLIB += lib/qt4/QtGui lib/qt4/QtScript
|
||||
|
||||
MODULES = devel/cmake x11/qt4
|
||||
|
||||
TEST_DEPENDS = ${BUILD_PKGPATH}
|
||||
TEST_IS_INTERACTIVE = X11
|
||||
|
||||
CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:Bool=Yes \
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_LCov:Bool=Yes \
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Cccc:Bool=Yes
|
||||
|
||||
SUBST_VARS = PLIST_VERSION
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/grantlee/distinfo
Normal file
2
x11/grantlee/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (grantlee-0.3.0.tar.gz) = +368yb6190B3peL7TpiT0oDdM0bn9fWBVfDcyaLiXzA=
|
||||
SIZE (grantlee-0.3.0.tar.gz) = 1132163
|
10
x11/grantlee/patches/patch-cmake_modules_GrantleeUse_cmake
Normal file
10
x11/grantlee/patches/patch-cmake_modules_GrantleeUse_cmake
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-cmake_modules_GrantleeUse_cmake,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- cmake/modules/GrantleeUse.cmake.orig Fri Jan 25 15:03:05 2013
|
||||
+++ cmake/modules/GrantleeUse.cmake Fri Jan 25 15:03:17 2013
|
||||
@@ -50,5 +50,6 @@ macro(GRANTLEE_ADD_PLUGIN pluginname)
|
||||
)
|
||||
target_link_libraries(${pluginname}
|
||||
grantlee_core
|
||||
+ c
|
||||
)
|
||||
endmacro(GRANTLEE_ADD_PLUGIN)
|
13
x11/grantlee/patches/patch-templates_lib_CMakeLists_txt
Normal file
13
x11/grantlee/patches/patch-templates_lib_CMakeLists_txt
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-templates_lib_CMakeLists_txt,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- templates/lib/CMakeLists.txt.orig Fri Jan 25 14:53:21 2013
|
||||
+++ templates/lib/CMakeLists.txt Fri Jan 25 14:56:44 2013
|
||||
@@ -89,7 +89,9 @@ file(READ "${CMAKE_CURRENT_BINARY_DIR}/grantlee_test_e
|
||||
|
||||
file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/grantlee_core_export.h" "${_content}")
|
||||
|
||||
+# pthread
|
||||
target_link_libraries(grantlee_core
|
||||
+ c
|
||||
${QT_QTCORE_LIBRARY}
|
||||
${QT_QTSCRIPT_LIBRARY}
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-templates_scriptabletags_CMakeLists_txt,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- templates/scriptabletags/CMakeLists.txt.orig Fri Jan 25 15:48:29 2013
|
||||
+++ templates/scriptabletags/CMakeLists.txt Fri Jan 25 15:48:35 2013
|
||||
@@ -15,6 +15,7 @@ grantlee_add_plugin(grantlee_scriptabletags
|
||||
)
|
||||
|
||||
target_link_libraries(grantlee_scriptabletags
|
||||
+ c
|
||||
${QT_QTSCRIPT_LIBRARY}
|
||||
)
|
||||
|
12
x11/grantlee/patches/patch-templates_tests_CMakeLists_txt
Normal file
12
x11/grantlee/patches/patch-templates_tests_CMakeLists_txt
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-templates_tests_CMakeLists_txt,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- templates/tests/CMakeLists.txt.orig Fri Jan 25 15:10:40 2013
|
||||
+++ templates/tests/CMakeLists.txt Fri Jan 25 15:11:01 2013
|
||||
@@ -83,7 +83,7 @@ macro(GRANTLEE_TEMPLATES_UNIT_TESTS)
|
||||
${_testresource_rcc_src}
|
||||
)
|
||||
add_test(${_testname} ${_testname}_exec )
|
||||
- target_link_libraries(${_testname}_exec ${QT_QTTEST_LIBRARY} grantlee_core )
|
||||
+ target_link_libraries(${_testname}_exec c ${QT_QTTEST_LIBRARY} grantlee_core )
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY TEST_COVERAGE "${CMAKE_CURRENT_BINARY_DIR}/${_testname}_exec" )
|
||||
endforeach(_testname)
|
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-templates_tests_pluginpointertest_CMakeLists_txt,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- templates/tests/pluginpointertest/CMakeLists.txt.orig Fri Nov 2 00:14:18 2012
|
||||
+++ templates/tests/pluginpointertest/CMakeLists.txt Fri Jan 25 15:43:01 2013
|
||||
@@ -18,9 +18,11 @@ set_target_properties(myplugin
|
||||
PROPERTIES PREFIX ""
|
||||
)
|
||||
target_link_libraries(myplugin
|
||||
+ c
|
||||
${QT_QTCORE_LIBRARIES}
|
||||
)
|
||||
|
||||
add_executable(main_app main.cpp ${myplugin_sources} ${_plugin_moc_srcs})
|
||||
target_link_libraries(main_app
|
||||
+ c
|
||||
${QT_QTCORE_LIBRARIES}
|
11
x11/grantlee/patches/patch-textdocument_lib_CMakeLists_txt
Normal file
11
x11/grantlee/patches/patch-textdocument_lib_CMakeLists_txt
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-textdocument_lib_CMakeLists_txt,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
--- textdocument/lib/CMakeLists.txt.orig Fri Jan 25 15:47:18 2013
|
||||
+++ textdocument/lib/CMakeLists.txt Fri Jan 25 15:47:29 2013
|
||||
@@ -26,6 +26,7 @@ set_property(GLOBAL APPEND PROPERTY SOURCE_LIST
|
||||
grantlee_generate_export_header(grantlee_gui)
|
||||
|
||||
target_link_libraries(grantlee_gui
|
||||
+ c
|
||||
${QT_QTCORE_LIBRARY}
|
||||
${QT_QTGUI_LIBRARY}
|
||||
)
|
1
x11/grantlee/pkg/DESCR
Normal file
1
x11/grantlee/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Grantlee is a theming framework for Qt applications.
|
51
x11/grantlee/pkg/PLIST
Normal file
51
x11/grantlee/pkg/PLIST
Normal file
@ -0,0 +1,51 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/25 21:08:47 zhuk Exp $
|
||||
include/grantlee/
|
||||
include/grantlee/abstractlocalizer.h
|
||||
include/grantlee/abstractmarkupbuilder.h
|
||||
include/grantlee/bbcodebuilder.h
|
||||
include/grantlee/cachingloaderdecorator.h
|
||||
include/grantlee/containeraccessor.h
|
||||
include/grantlee/context.h
|
||||
include/grantlee/engine.h
|
||||
include/grantlee/exception.h
|
||||
include/grantlee/filter.h
|
||||
include/grantlee/filterexpression.h
|
||||
include/grantlee/grantlee_core_export.h
|
||||
include/grantlee/grantlee_gui_export.h
|
||||
include/grantlee/grantlee_version.h
|
||||
include/grantlee/markupdirector.h
|
||||
include/grantlee/mediawikimarkupbuilder.h
|
||||
include/grantlee/metatype.h
|
||||
include/grantlee/node.h
|
||||
include/grantlee/outputstream.h
|
||||
include/grantlee/parser.h
|
||||
include/grantlee/plaintextmarkupbuilder.h
|
||||
include/grantlee/qtlocalizer.h
|
||||
include/grantlee/rendercontext.h
|
||||
include/grantlee/safestring.h
|
||||
include/grantlee/taglibraryinterface.h
|
||||
include/grantlee/template.h
|
||||
include/grantlee/templateloader.h
|
||||
include/grantlee/texthtmlbuilder.h
|
||||
include/grantlee/token.h
|
||||
include/grantlee/typeaccessor.h
|
||||
include/grantlee/util.h
|
||||
include/grantlee/variable.h
|
||||
include/grantlee_core.h
|
||||
include/grantlee_templates.h
|
||||
lib/cmake/
|
||||
lib/cmake/grantlee/
|
||||
lib/cmake/grantlee/GrantleeConfig.cmake
|
||||
lib/cmake/grantlee/GrantleeConfigVersion.cmake
|
||||
lib/cmake/grantlee/GrantleeParseArguments.cmake
|
||||
lib/cmake/grantlee/GrantleeTargets-noconfig.cmake
|
||||
lib/cmake/grantlee/GrantleeTargets.cmake
|
||||
lib/cmake/grantlee/GrantleeUse.cmake
|
||||
lib/grantlee/
|
||||
lib/grantlee/${PLIST_VERSION}/
|
||||
lib/grantlee/${PLIST_VERSION}/grantlee_defaultfilters.so
|
||||
lib/grantlee/${PLIST_VERSION}/grantlee_defaulttags.so
|
||||
lib/grantlee/${PLIST_VERSION}/grantlee_i18ntags.so
|
||||
lib/grantlee/${PLIST_VERSION}/grantlee_loadertags.so
|
||||
@lib lib/libgrantlee_core.so.${LIBgrantlee_core_VERSION}
|
||||
@lib lib/libgrantlee_gui.so.${LIBgrantlee_gui_VERSION}
|
Loading…
Reference in New Issue
Block a user