Jelajahi Sumber

Merge pull request #18 from joshuaboniface/deb-packaging

Add Debian packaging
Ian Walton 3 tahun lalu
induk
melakukan
f51ed3d16a
9 mengubah file dengan 118 tambahan dan 0 penghapusan
  1. 7 0
      .gitignore
  2. 5 0
      debian/changelog
  3. 1 0
      debian/compat
  4. 53 0
      debian/control
  5. 28 0
      debian/copyright
  6. 0 0
      debian/install
  7. 15 0
      debian/rules
  8. 1 0
      debian/source/format
  9. 8 0
      debian/source/options

+ 7 - 0
.gitignore

@@ -20,3 +20,10 @@ web-client
 toolchain.cmake
 .sublime-settings
 .last_wc_version
+debian/*.debhelper.log
+debian/.debhelper/
+debian/jellyfin-media-player/
+debian/files
+debian/jellyfin-media-player.substvars
+dist.zip
+obj-x86_64-linux-gnu/

+ 5 - 0
debian/changelog

@@ -0,0 +1,5 @@
+jellyfin-media-player (1.3.0-1) unstable; urgency=medium
+
+  * Initial Debian packaging for 1.3.0
+
+ -- Joshua Boniface <joshua@boniface.me>  Sun, 11 Apr 2021 22:34:40 -0400

+ 1 - 0
debian/compat

@@ -0,0 +1 @@
+9

+ 53 - 0
debian/control

@@ -0,0 +1,53 @@
+Source: jellyfin-media-player
+Section: video
+Priority: optional
+Maintainer:  Ian Walton <ian@iwalton.com>, Joshua Boniface <joshua@boniface.me>
+Build-Depends: debhelper (>= 9),
+               autoconf,
+               automake,
+               libtool,
+               libharfbuzz-dev,
+               libfreetype6-dev,
+               libfontconfig1-dev,
+               libx11-dev,
+               libxrandr-dev,
+               libvdpau-dev,
+               libva-dev,
+               mesa-common-dev,
+               libegl1-mesa-dev,
+               yasm,
+               libasound2-dev,
+               libpulse-dev,
+               libuchardet-dev,
+               zlib1g-dev,
+               libfribidi-dev,
+               git,
+               libgnutls28-dev,
+               libgl1-mesa-dev,
+               libsdl2-dev,
+               cmake,
+               wget,
+               python,
+               g++,
+               qtwebengine5-dev,
+               qtquickcontrols2-5-dev,
+               libqt5x11extras5-dev,
+               libcec-dev,
+               libmpv-dev,
+               wget,
+               unzip
+Standards-Version: 3.9.4
+Homepage: https://jellyfin.org/
+Vcs-Git: https://github.org/jellyfin/jellyfin-media-player.git
+Vcs-Browser: https://github.org/jellyfin/jellyfin-media-player
+
+Package: jellyfin-media-player
+Architecture: any
+Depends: libmpv1,
+         libqt5webengine5,
+         libcec4 | libcec6,
+         qml-module-qtwebengine,
+         qml-module-qtwebchannel,
+         qml-module-qtquick-controls
+Description: Jellyfin is the Free Software Media System.
+ This package provides the Jellyfin desktop media player.

+ 28 - 0
debian/copyright

@@ -0,0 +1,28 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: jellyfin
+Source: https://github.com/jellyfin/jellyfin-media-player
+
+Files: *
+Copyright: 2018 Ian Walton
+License: GPL-2.0
+
+Files: debian/*
+Copyright: 2021 Joshua Boniface <joshua@boniface.me>
+Copyright: 2014 Carlos Hernandez <carlos@techbyte.ca>
+License: GPL-2.0
+
+License: GPL-2.0
+ 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; version 2.
+ .
+ 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 2 can be found in "/usr/share/common-licenses/GPL-2".

+ 0 - 0
debian/install


+ 15 - 0
debian/rules

@@ -0,0 +1,15 @@
+#! /usr/bin/make -f
+
+JWC_RELEASE := 1.7.1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	dh_auto_build $@
+	wget https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-$(JWC_RELEASE)/dist.zip
+	unzip dist.zip -d obj-x86_64-linux-gnu/
+
+override_dh_auto_clean:
+	dh_auto_clean $@
+	rm dist.zip || true

+ 1 - 0
debian/source/format

@@ -0,0 +1 @@
+1.0

+ 8 - 0
debian/source/options

@@ -0,0 +1,8 @@
+tar-ignore='.git*'
+tar-ignore='**/.git'
+tar-ignore='**/.hg'
+tar-ignore='**/.vs'
+tar-ignore='**/.vscode'
+tar-ignore='deployment'
+tar-ignore='*.deb'
+tar-ignore='ThirdParty'