Include package information

This commit is contained in:
Iwan Timmer
2015-06-21 15:37:42 +02:00
parent 5a1fd3f12d
commit 4a5c2d9248
9 changed files with 93 additions and 0 deletions

View File

@@ -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

6
debian/changelog vendored Normal file
View File

@@ -0,0 +1,6 @@
moonlight-embedded (2.0.1-1) UNRELEASED; urgency=low
* Initial release
* This is my first Debian package
-- Iwan Timmer <irtimmer@gmail.com> Sat, 20 Jun 2015 11:58:32 +0000

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

14
debian/control vendored Normal file
View File

@@ -0,0 +1,14 @@
Source: moonlight-embedded
Section: games
Priority: extra
Maintainer: Iwan Timmer <irtimmer@gmail.com>
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.

22
debian/copyright vendored Normal file
View File

@@ -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 <irtimmer@gmail.com>
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 <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

32
debian/patches/install.patch vendored Normal file
View File

@@ -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})

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
install.patch

8
debian/rules vendored Executable file
View File

@@ -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

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)