Permalink
Browse files

Initial commit. Set up make and build system. Added icons. Added webk…

…it3.0 vapi for gtk+3.0 support

Next to implement
  • Loading branch information...
0 parents commit 6eedb602a34e5e2368ad79f034ac0b151678c7d3 @sgringwe committed Jan 29, 2013
@@ -0,0 +1,7 @@
+Developers:
+ Scott R. <sgringwe@mtu.edu>
+ Victor Eduardo
+
+Designers:
+ Scott Ringwelski <sgringwe@mtu.edu>
+ Daniel Foré <daniel@elementaryos.org>
@@ -0,0 +1,62 @@
+# ch3eck http://elementaryos.org/docs/developer-guide/cmake/simple-project
+
+cmake_minimum_required (VERSION 2.6)
+cmake_policy(VERSION 2.6)
+project(rdio)
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
+enable_testing()
+
+find_package(PkgConfig)
+pkg_check_modules(DEPS
+ REQUIRED
+ glib-2.0
+ gtk+-3.0
+ gio-2.0
+ libnotify
+ gio-unix-2.0)
+
+pkg_check_modules(INDICATE indicate-0.7)
+if(${INDICATE_FOUND})
+set(ADD_PKG ${ADD_PKG}
+ Indicate-0.7)
+set(ADD_OPTIONS ${ADD_OPTIONS}
+ --define=HAVE_INDICATE)
+message("-- Indicate enabled")
+else()
+message("-- Indicate disabled")
+endif()
+
+pkg_check_modules(UNITY unity)
+if(${UNITY_FOUND})
+set(ADD_PKG ${ADD_PKG}
+ unity)
+set(ADD_OPTIONS ${ADD_OPTIONS}
+ --define=HAVE_UNITY)
+message("-- Unity enabled")
+else()
+message("-- Unity disabled")
+endif()
+
+set (CMAKE_C_FLAGS -w)
+set (NORMAL_CFLAGS ${DEPS_CFLAGS} ${INDICATE_CFLAGS} ${DBUS_MENU_CFLAGS} ${UNITY_CFLAGS})
+set (NORMAL_LIBRARIES ${DEPS_LIBRARIES} ${DBUS_MENU_LIBRARIES} ${INDICATE_LIBRARIES} ${UNITY_LIBRARIES})
+set (NORMAL_LINK_DIRS ${DEPS_LIBRARY_DIRS} ${INDICATE_LIBRARY_DIRS} ${DBUS_MENU_LIBRARY_DIRS} ${UNITY_LIBRARY_DIRS})
+
+set(DATADIR "${CMAKE_INSTALL_PREFIX}/share")
+set(PKG_DATADIR "${CMAKE_INSTALL_PREFIX}/share/${CMAKE_PROJECT_NAME}")
+set(ICON_DIR "${CMAKE_INSTALL_PREFIX}/share/${CMAKE_PROJECT_NAME}/icons/hicolor")
+set(PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_PROJECT_NAME}/plugins")
+set(GETTEXT_PACKAGE "${CMAKE_PROJECT_NAME}")
+set(RELEASE_NAME "Alpha")
+set(VERSION "1.0")
+set(VERSION_INFO "Pre-Release")
+
+add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
+
+configure_file(${CMAKE_SOURCE_DIR}/config.vala.cmake ${CMAKE_SOURCE_DIR}/core/config.vala)
+
+add_subdirectory(vapi)
+add_subdirectory(rdio)
+add_subdirectory(data)
+add_subdirectory(po)
+add_subdirectory(images)
Oops, something went wrong. Retry.

0 comments on commit 6eedb60

Please sign in to comment.