Revert "Remove Debian packaging from master"

This reverts commit f7db655a61.
This commit is contained in:
Iwan Timmer
2016-02-19 21:53:38 +01:00
parent 32e4e48de3
commit 47a75b0dbf
8 changed files with 155 additions and 0 deletions

31
debian/changelog vendored Normal file
View File

@@ -0,0 +1,31 @@
moonlight-embedded (2.1.2-1) RELEASED; urgency=high
* Update to version 2.1.2
-- Iwan Timmer <irtimmer@gmail.com> Tue, 24 Nov 2015 18:13:03 +0000
moonlight-embedded (2.1.1-1) RELEASED; urgency=high
* Update to version 2.1.1
-- Iwan Timmer <irtimmer@gmail.com> Sat, 15 Aug 2015 11:34:26 +0200
moonlight-embedded (2.1.0-1) RELEASED; urgency=low
* Support OSMC
* Update Moonlight-embedded to version 2.1.0
-- Iwan Timmer <irtimmer@gmail.com> Fri, 14 Aug 2015 16:13:67 +0200
moonlight-embedded (2.0.2-1) RELEASED; urgency=medium
* Update to version 2.0.2
-- Iwan Timmer <irtimmer@gmail.com> Sat, 7 Jul 2015 21:05:48 +0200
moonlight-embedded (2.0.1-1) RELEASED; urgency=high
* Initial release
* This is my first Debian package
-- Iwan Timmer <irtimmer@gmail.com> Sat, 20 Jun 2015 13:58:32 +0200

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@@ -0,0 +1,16 @@
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 | rbp-userland-dev-osmc
Standards-Version: 3.9.3
Homepage: https://github.com/irtimmer/moonlight-embedded
Package: moonlight-embedded
Architecture: armhf
Depends: libraspberrypi0 | rbp-userland-osmc, ${shlibs:Depends}, ${misc:Depends}
Recommends: alsa-base
Suggests: alsa-utils
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".

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

@@ -0,0 +1,77 @@
Compile using older version (2.8) of CMake
Index: moonlight-embedded/CMakeLists.txt
===================================================================
--- moonlight-embedded.orig/CMakeLists.txt 2015-11-24 18:12:41.000000000 +0000
+++ moonlight-embedded/CMakeLists.txt 2015-11-24 18:16:41.000000000 +0000
@@ -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")
include(${CMAKE_ROOT}/Modules/GNUInstallDirs.cmake)
@@ -58,11 +58,11 @@
add_executable(moonlight ${SRC_LIST})
target_link_libraries(moonlight gamestream)
-set_property(TARGET moonlight PROPERTY C_STANDARD 99)
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
if (CEC_FOUND AND CEC_VERSION_COMPATIBLE)
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC)
- target_include_directories(moonlight PRIVATE ./third_party/libcec ${CEC_INCLUDE_DIRS}/libcec)
+ include_directories(./third_party/libcec ${CEC_INCLUDE_DIRS}/libcec)
target_link_libraries(moonlight ${CEC_LIBRARIES})
endif()
@@ -70,7 +70,7 @@
list(APPEND MOONLIGHT_DEFINITIONS HAVE_PI)
aux_source_directory(./third_party/ilclient ILCLIENT_SRC_LIST)
add_library(moonlight-pi SHARED ./src/video/pi.c ${ILCLIENT_SRC_LIST})
- target_include_directories(moonlight-pi PRIVATE ./third_party/ilclient ${BROADCOM_INCLUDE_DIRS} ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR})
+ include_directories(./third_party/ilclient ${BROADCOM_INCLUDE_DIRS})
target_link_libraries(moonlight-pi gamestream ${BROADCOM_LIBRARIES})
set_property(TARGET moonlight-pi PROPERTY COMPILE_DEFINITIONS ${BROADCOM_DEFINITIONS})
install(TARGETS moonlight-pi DESTINATION ${CMAKE_INSTALL_LIBDIR})
@@ -79,18 +79,18 @@
if(FREESCALE_FOUND)
list(APPEND MOONLIGHT_DEFINITIONS HAVE_IMX)
add_library(moonlight-imx SHARED ./src/video/imx.c)
- target_include_directories(moonlight-imx PRIVATE ${FREESCALE_INCLUDE_DIRS} ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR})
+ include_directories(${FREESCALE_INCLUDE_DIRS} ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR})
target_link_libraries(moonlight-imx gamestream ${FREESCALE_LIBRARIES})
install(TARGETS moonlight-imx DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
if (SOFTWARE_FOUND)
- target_include_directories(moonlight PRIVATE ${SDL_INCLUDE_DIRS} ${AVCODEC_INCLUDE_DIRS} ${AVUTIL_INCLUDE_DIRS} ${SWSCALE_INCLUDE_DIRS})
+ include_directories(${SDL_INCLUDE_DIRS} ${AVCODEC_INCLUDE_DIRS} ${AVUTIL_INCLUDE_DIRS} ${SWSCALE_INCLUDE_DIRS})
target_link_libraries(moonlight ${SDL_LIBRARIES} ${AVCODEC_LIBRARIES} ${AVUTIL_LIBRARIES} ${SWSCALE_LIBRARIES})
endif()
set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
-target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
+include_directories(${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
add_subdirectory(docs)
Index: moonlight-embedded/libgamestream/CMakeLists.txt
===================================================================
--- moonlight-embedded.orig/libgamestream/CMakeLists.txt 2015-11-24 18:12:27.000000000 +0000
+++ moonlight-embedded/libgamestream/CMakeLists.txt 2015-11-24 18:15:27.000000000 +0000
@@ -14,13 +14,13 @@
add_library(moonlight-common SHARED ${MOONLIGHT_COMMON_SRC_LIST})
add_library(gamestream SHARED ${GAMESTREAM_SRC_LIST})
-set_property(TARGET gamestream PROPERTY C_STANDARD 99)
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
target_link_libraries(gamestream moonlight-common)
set_target_properties(gamestream PROPERTIES SOVERSION 0 VERSION ${MOONLIGHT_VERSION})
set_target_properties(moonlight-common PROPERTIES SOVERSION 0 VERSION ${MOONLIGHT_VERSION})
-target_include_directories(gamestream PRIVATE ../third_party/moonlight-common-c ../third_party/h264bitstream ${AVAHI_INCLUDE_DIRS})
+include_directories(../third_party/h264bitstream ../third_party/moonlight-common-c ${AVAHI_INCLUDE_DIRS})
target_link_libraries(gamestream ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} ${EXPAT_LIBRARIES} ${AVAHI_LIBRARIES})
target_link_libraries(gamestream ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})

1
debian/patches/series vendored Normal file
View File

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

6
debian/rules vendored Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with quilt

1
debian/source/format vendored Normal file
View File

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