Korundum is KDE bindings for Ruby.

This commit is contained in:
zhuk 2013-04-24 12:18:23 +00:00
parent 1047e7f425
commit 66072780bf
8 changed files with 141 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
COMMENT = KDE bindings for Ruby
DISTNAME = korundum-${MODKDE4_VERSION}
WANTLIB = c m pthread stdc++
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtSvg
WANTLIB += lib/qt4/QtXml lib/qt4/QtOpenGL lib/qt4/QtSql
WANTLIB += ${KDE4LIB}/akonadi-kde ${KDE4LIB}/akonadi-kmime
WANTLIB += ${KDE4LIB}/kcmutils ${KDE4LIB}/kdeui ${KDE4LIB}/kemoticons
WANTLIB += ${KDE4LIB}/kidletime ${KDE4LIB}/kio ${KDE4LIB}/knewstuff2
WANTLIB += ${KDE4LIB}/kprintutils ${KDE4LIB}/kpty ${KDE4LIB}/kutils
WANTLIB += ${KDE4LIB}/kateinterfaces ${KDE4LIB}/nepomuk
WANTLIB += ${KDE4LIB}/okularcore ${KDE4LIB}/solid
WANTLIB += ${KDE4LIB}/smokeakonadi
WANTLIB += ${KDE4LIB}/smokebase ${KDE4LIB}/smokekate
WANTLIB += ${KDE4LIB}/smokekdecore ${KDE4LIB}/smokekdeui
WANTLIB += ${KDE4LIB}/smokekfile ${KDE4LIB}/smokekhtml ${KDE4LIB}/smokekio
WANTLIB += ${KDE4LIB}/smokeknewstuff2 ${KDE4LIB}/smokeknewstuff3
WANTLIB += ${KDE4LIB}/smokekparts ${KDE4LIB}/smokektexteditor
WANTLIB += ${KDE4LIB}/smokekutils ${KDE4LIB}/smokenepomuk
WANTLIB += ${KDE4LIB}/smokeokular ${KDE4LIB}/smokeplasma
WANTLIB += ${KDE4LIB}/smokeqtcore ${KDE4LIB}/smokeqtdbus
WANTLIB += ${KDE4LIB}/smokeqtgui ${KDE4LIB}/smokeqtnetwork
WANTLIB += ${KDE4LIB}/smokeqtopengl ${KDE4LIB}/smokeqtsql
WANTLIB += ${KDE4LIB}/smokeqtsvg ${KDE4LIB}/smokeqtxml
WANTLIB += ${KDE4LIB}/smokesolid ${KDE4LIB}/smokesoprano
WANTLIB += qtruby4shared soprano
MODULES = lang/ruby
MODKDE4_USE = libs pim
MODRUBY_REV = 1.8
MODRUBY_ADJ_FILES = *.rb
CONFIGURE_ARGS = -DRUBY_EXECUTABLE=${RUBY}
RUN_DEPENDS = ${MODKDE4_DEP_DIR}/kross-interpreters>=${MODKDE4_DEP_VERSION},>=4.10.2p0
LIB_DEPENDS = ${MODKDE4_DEP_DIR}/kate>=${MODKDE4_DEP_VERSION} \
${MODKDE4_DEP_DIR}/ruby-qt=${MODKDE4_VERSION} \
${MODKDE4_DEP_DIR}/smokekde>=${MODKDE4_DEP_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (kde/korundum-4.10.2.tar.xz) = iRgSDTt+KqkDWFh3vx0K7+bpbp/zm393nmxymITIGcE=
SIZE (kde/korundum-4.10.2.tar.xz) = 165304

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
insert after searching for kde + qtruby
--- CMakeLists.txt.orig Thu Oct 25 10:24:34 2012
+++ CMakeLists.txt Thu Oct 25 10:25:23 2012
@@ -5,6 +5,9 @@ set(COMPILE_RUBY FALSE CACHE INTERNAL "")
find_package(Ruby REQUIRED)
find_package(KDE4 REQUIRED)
find_package(QtRuby4 REQUIRED)
+
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+
find_package(Smoke REQUIRED
COMPONENTS KdeCore
KdeUi

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-examples_dbpedia_references_CMakeLists_txt,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
--- examples/dbpedia_references/CMakeLists.txt.orig Wed Jan 23 20:30:01 2013
+++ examples/dbpedia_references/CMakeLists.txt Wed Jan 23 20:30:07 2013
@@ -1,4 +1,4 @@
-FIND_PACKAGE (RUBY REQUIRED)
+FIND_PACKAGE (Ruby REQUIRED)
include_directories( ${RUBY_INCLUDE_DIRS} )
install(PROGRAMS dbpedia_references.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-modules_plasma_examples_applets_analog-clock_CMakeLists_txt,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
--- modules/plasma/examples/applets/analog-clock/CMakeLists.txt.orig Wed Jan 23 20:29:24 2013
+++ modules/plasma/examples/applets/analog-clock/CMakeLists.txt Wed Jan 23 20:29:29 2013
@@ -1,4 +1,4 @@
-FIND_PACKAGE (RUBY REQUIRED)
+FIND_PACKAGE (Ruby REQUIRED)
SET(UI_CLOCKCONFIG ${CMAKE_CURRENT_SOURCE_DIR}/clockConfig.ui)
SET(UI_CALENDAR ${CMAKE_CURRENT_SOURCE_DIR}/calendar.ui)

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-modules_plasma_examples_applets_digital-clock_CMakeLists_txt,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
--- modules/plasma/examples/applets/digital-clock/CMakeLists.txt.orig Wed Jan 23 20:29:46 2013
+++ modules/plasma/examples/applets/digital-clock/CMakeLists.txt Wed Jan 23 20:29:51 2013
@@ -1,4 +1,4 @@
-find_PACKAGE (RUBY REQUIRED)
+find_PACKAGE (Ruby REQUIRED)
SET(UI_CLOCKCONFIG ${CMAKE_CURRENT_SOURCE_DIR}/digital_clock_config.ui)
SET(UI_CALENDAR ${CMAKE_CURRENT_SOURCE_DIR}/calendar.ui)

View File

@ -0,0 +1 @@
Korundum is KDE bindings for Ruby.

View File

@ -0,0 +1,52 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/24 12:18:23 zhuk Exp $
@bin bin/krubyapplication
@bin bin/rbkconfig_compiler4
lib/kde4/krubypluginfactory.so
${MODRUBY_SITEDIR}/KDE/
${MODRUBY_SITEDIR}/KDE/kate.rb
${MODRUBY_SITEDIR}/KDE/korundum4.rb
${MODRUBY_SITEDIR}/KDE/plasma.rb
${MODRUBY_SITEDIR}/akonadi/
${MODRUBY_SITEDIR}/akonadi/akonadi.rb
${MODRUBY_SITEDIR}/khtml/
${MODRUBY_SITEDIR}/khtml/khtml.rb
${MODRUBY_SITEDIR}/kio/
${MODRUBY_SITEDIR}/kio/kio.rb
${MODRUBY_SITEDIR}/ktexteditor/
${MODRUBY_SITEDIR}/ktexteditor/ktexteditor.rb
${MODRUBY_SITEDIR}/nepomuk/
${MODRUBY_SITEDIR}/nepomuk/nepomuk.rb
${MODRUBY_SITEDIR}/okular/
${MODRUBY_SITEDIR}/okular/okular.rb
${MODRUBY_SITEDIR}/solid/
${MODRUBY_SITEDIR}/solid/solid.rb
${MODRUBY_SITEDIR}/soprano/
${MODRUBY_SITEDIR}/soprano/soprano.rb
${MODRUBY_SITEARCHDIR}/akonadi.so
${MODRUBY_SITEARCHDIR}/kate.so
${MODRUBY_SITEARCHDIR}/khtml.so
${MODRUBY_SITEARCHDIR}/kio.so
${MODRUBY_SITEARCHDIR}/korundum4.so
${MODRUBY_SITEARCHDIR}/ktexteditor.so
${MODRUBY_SITEARCHDIR}/nepomuk.so
${MODRUBY_SITEARCHDIR}/okular.so
${MODRUBY_SITEARCHDIR}/plasma_applet.so
${MODRUBY_SITEARCHDIR}/solid.so
${MODRUBY_SITEARCHDIR}/soprano.so
share/applications/kde4/dbpedia_references.desktop
share/apps/dbpedia_references/
share/apps/dbpedia_references/dbpedia_references.rb
share/apps/plasma_applet_ruby_clock/
share/apps/plasma_applet_ruby_clock/analog_clock_config.rb
share/apps/plasma_applet_ruby_clock/calendar.rb
share/apps/plasma_applet_ruby_clock/clock.rb
share/apps/plasma_applet_ruby_clock/clockapplet.rb
share/apps/plasma_applet_ruby_clock/timezones_config.rb
share/apps/plasma_ruby_digital_clock/
share/apps/plasma_ruby_digital_clock/calendar.rb
share/apps/plasma_ruby_digital_clock/clock.rb
share/apps/plasma_ruby_digital_clock/digital_clock_config.rb
share/kde4/services/plasma-applet-ruby-analogclock.desktop
share/kde4/services/plasma-ruby-digital-clock-default.desktop
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database