diff --git a/README.md b/README.md index ae222e8..7828b1c 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,14 @@ For a demo see this [video](https://www.youtube.com/watch?v=XRW6O0bSHNw). Use ctrl-c to exit application +## Packages +Prebuilt binary packages for Raspbian Wheezy are available, add this line to your */etc/apt/sources.list* +``` +deb http://archive.itimmer.nl/raspbian/moonlight wheezy main +``` + +Source package for ArchLinux is available in [AUR](https://aur.archlinux.org/packages/moonlight-embedded/) + ##Compile and install * Download and extract Moonlight Embedded from release or git clone diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..77c18a2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +moonlight-embedded (2.0.1-1) UNRELEASED; urgency=low + + * Initial release + * This is my first Debian package + + -- Iwan Timmer Sat, 20 Jun 2015 11:58:32 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..638c78b --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: moonlight-embedded +Section: games +Priority: extra +Maintainer: Iwan Timmer +Build-Depends: debhelper (>= 8.0.0), cmake, libopus-dev, libexpat1-dev, libasound2-dev, libudev-dev, libavahi-client-dev, libcurl4-openssl-dev, libevdev-dev, libraspberrypi-dev +Standards-Version: 3.9.3 +Homepage: https://github.com/irtimmer/moonlight-embedded + +Package: moonlight-embedded +Architecture: armhf +Depends: libopus0, libexpat1, libssl1.0.0, libasound2, libudev0, libavahi-client3, libcurl3, libevdev2, libraspberrypi0, ${shlibs:Depends}, ${misc:Depends} +Description: GameStream client for Linux + Game streaming client for Nvidia's GameStream. + Stream games from your Windows computer with Nvidia graphic card to your linux box. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3c95d94 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: moonlight-embedded +Source: https://github.com/irtimmer/moonlight-embedded + +Files: * +Copyright: 2014, 2015 Iwan Timmer +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/patches/install.patch b/debian/patches/install.patch new file mode 100644 index 0000000..deea981 --- /dev/null +++ b/debian/patches/install.patch @@ -0,0 +1,32 @@ +Compile using older version (2.8) of CMake +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + project(moonlight-embedded C) +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 2.8) + + SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") + +@@ -44,18 +44,18 @@ + + if(BROADCOM_FOUND) + include_directories(./third_party/ilclient ./third_party/h264bitstream ${BROADCOM_INCLUDE_DIRS}) +- target_link_libraries (moonlight PUBLIC ${BROADCOM_LIBRARIES}) ++ target_link_libraries (moonlight ${BROADCOM_LIBRARIES}) + list(APPEND MOONLIGHT_DEFINITIONS ${BROADCOM_DEFINITIONS}) + endif() + + if(FREESCALE_FOUND) + include_directories(${FREESCALE_INCLUDE_DIRS}) +- target_link_libraries (moonlight PUBLIC ${FREESCALE_LIBRARIES}) ++ target_link_libraries (moonlight ${FREESCALE_LIBRARIES}) + endif() + + set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS}) + include_directories(./third_party/moonlight-common-c ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${AVAHI_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS}) +-target_link_libraries (moonlight PUBLIC ${CMAKE_THREAD_LIBS_INIT} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${AVAHI_LIBRARIES} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS}) ++target_link_libraries (moonlight ${CMAKE_THREAD_LIBS_INIT} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${AVAHI_LIBRARIES} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS}) + + include(${CMAKE_ROOT}/Modules/GNUInstallDirs.cmake) + install(TARGETS moonlight DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e1652b3 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +install.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a81f33e --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_CFLAGS_MAINT_APPEND = -std=gnu99 + +%: + dh $@ --with quilt diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)