This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eee3ea1
commit 72456c2
Showing
8 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*~ | ||
.#* | ||
\#*# | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
project(kaya) | ||
cmake_minimum_required(VERSION 2.6) | ||
|
||
find_package(KDE4 REQUIRED) | ||
include(KDE4Defaults) | ||
add_subdirectory(lib) | ||
|
||
|
||
configure_file(main.rb main.rb) | ||
|
||
install(DIRECTORY lib DESTINATION ${DATA_INSTALL_DIR}/kaya | ||
PATTERN "*rc" EXCLUDE | ||
PATTERN "*.desktop" EXCLUDE) | ||
install(FILES ${PROJECT_BINARY_DIR}/main.rb | ||
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin | ||
PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE | ||
RENAME kaya) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
RUBY=/usr/bin/ruby | ||
#!/usr/bin/env ruby | ||
require 'lib/kaya.rb' | ||
|
||
$RUBY lib/kaya.rb $@ | ||
start_kaya if __FILE__ == $0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
add_subdirectory(ext) | ||
|
||
install(FILES kaya.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kaya) | ||
install(FILES kaya.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) | ||
install(FILES kayaui.rc DESTINATION ${DATA_INSTALL_DIR}/kaya) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
find_package(Qt4 REQUIRED) | ||
find_package(Ruby REQUIRED) | ||
|
||
add_definitions(${QT_DEFINITIONS}) | ||
include_directories(${QT_INCLUDES}) | ||
|
||
|
||
set(src extensions.cpp expblur.cpp) | ||
qt4_wrap_cpp(src extensions.h) | ||
add_library(extensions SHARED ${src}) | ||
set_target_properties(extensions PROPERTIES PREFIX "") | ||
|
||
|
||
message("lib: ${QT_QTGUI_LIBRARY}") | ||
target_link_libraries(extensions ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) | ||
|
||
# install(TARGETS ksimple DESTINATION bin) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Name=Kaya | ||
GenericName=Generic Board Game | ||
Exec=kaya %i %m -caption "%c" | ||
Icon=kaya | ||
Type=Application | ||
DocPath=kaya/kaya.html | ||
Comment=A generic board game application. | ||
Terminal=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env ruby | ||
require '${DATA_INSTALL_DIR}/kaya/lib/kaya.rb' | ||
|
||
start_kaya if __FILE__ == $0 |