Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Dec 31, 2016
1 parent 6726ea1 commit 86e4cff
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
*.user
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: c

sudo: required

arch:
packages:
- extra-cmake-modules
script:
- cmake . -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_INSTALL_PREFIX=/usr
- make

script:
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"

notifications:
email: false
slack: lirios:fdUqVmPzqPskEL1UBhqapZ0w
35 changes: 35 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
project(Wallpapers)

cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
cmake_policy(VERSION 3.4.1)

# Set version
set(PROJECT_VERSION "0.9.0")
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_SOVERSION 0)

if(NOT USE_SUPERBUILD)
# Set up packaging
set(CPACK_PACKAGE_NAME "liri-wallpapers")
set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
set(CPACK_GENERATOR "TGZ")
set(CPACK_SET_DESTDIR FALSE)
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
set(CPACK_SOURCE_IGNORE_FILES "/build/;/.git;/*.user;/.tx/;~$;${CPACK_SOURCE_IGNORE_FILES}")
include(CPack)
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
endif()

# ECM
find_package(ECM 1.7.0 REQUIRED NO_MODULE)
list(APPEND CMAKE_MODULE_PATH
"${ECM_MODULE_PATH}"
"${ECM_KDE_MODULE_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
)

# Macros
include(KDEInstallDirs)

# Subdirectories
add_subdirectory(backgrounds)
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Wallpapers
==========

[![ZenHub.io](https://img.shields.io/badge/supercharged%20by-zenhub.io-blue.svg)](https://zenhub.io)

[![GitHub release](https://img.shields.io/github/release/lirios/wallpapers.svg)](https://github.com/lirios/wallpapers)
[![Build Status](https://travis-ci.org/lirios/wallpapers.svg?branch=develop)](https://travis-ci.org/lirios/wallpapers)
[![GitHub issues](https://img.shields.io/github/issues/lirios/wallpapers.svg)](https://github.com/lirios/wallpapers/issues)
[![Maintained](https://img.shields.io/maintenance/yes/2016.svg)](https://github.com/lirios/wallpapers/commits/develop)

Wallpapers for Liri OS.

## Installation

From the root of the repository, run:

```sh
mkdir build; cd build
cmake .. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
make install # use sudo if necessary
```

On the `cmake` line, you can specify additional configuration parameters:

* `-DCMAKE_INSTALL_PREFIX=/path/to/install` (for example, `/opt/liri` or `/usr`)
* `-DCMAKE_BUILD_TYPE=<build_type>`, where `<build_type>` is one of:
* **Debug:** debug build
* **Release:** release build
* **RelWithDebInfo:** release build with debugging information

## Licensing

Each wallpaper is licensed under different terms, please read [CREDITS.md](backgrounds/CREDITS.md).
6 changes: 6 additions & 0 deletions backgrounds/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set(WALLPAPERS
Saint-Raphael_1.jpg
Saint-Raphael_2.jpg
)

install(FILES ${WALLPAPERS} DESTINATION ${DATA_INSTALL_DIR}/backgrounds/liri)
11 changes: 11 additions & 0 deletions backgrounds/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Credits

* **Saint-Raphael 1**
- File Name: Saint-Raphael_1.jpg
- Author: Pierre Jacquier
- License: CC-BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)

* **Saint-Raphael 2**
- File Name: Saint-Raphael_2.jpg
- Author: Pierre Jacquier
- License: CC-BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)
Binary file added backgrounds/Saint-Raphael_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/Saint-Raphael_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 86e4cff

Please sign in to comment.