From 483c1ba49e057e1089776abfbb43d8e26262fae3 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 19 Sep 2020 22:31:13 +0200 Subject: [PATCH] Add DEB packaging --- _service | 1 + pkgs/deb/clapper.dsc | 17 +++++++++++++++++ pkgs/deb/debian/changelog | 5 +++++ pkgs/deb/debian/compat | 1 + pkgs/deb/debian/control | 31 +++++++++++++++++++++++++++++++ pkgs/deb/debian/copyright | 27 +++++++++++++++++++++++++++ pkgs/deb/debian/rules | 4 ++++ pkgs/deb/debian/source/format | 1 + 8 files changed, 87 insertions(+) create mode 100644 pkgs/deb/clapper.dsc create mode 100644 pkgs/deb/debian/changelog create mode 100644 pkgs/deb/debian/compat create mode 100644 pkgs/deb/debian/control create mode 100644 pkgs/deb/debian/copyright create mode 100755 pkgs/deb/debian/rules create mode 100644 pkgs/deb/debian/source/format diff --git a/_service b/_service index fb243e54..7f9b20f4 100644 --- a/_service +++ b/_service @@ -5,6 +5,7 @@ pkgs/rpm/clapper.spec pkgs/rpm/clapper.rpmlintrc pkgs/arch/obs/PKGBUILD + pkgs/deb/clapper.dsc diff --git a/pkgs/deb/clapper.dsc b/pkgs/deb/clapper.dsc new file mode 100644 index 00000000..f79e2c96 --- /dev/null +++ b/pkgs/deb/clapper.dsc @@ -0,0 +1,17 @@ +Format: 3.0 (native) +Source: clapper +Binary: clapper +Architecture: all +Version: 0.0.0 +Maintainer: Rafostar +Build-Depends: debhelper (>= 10), + desktop-file-utils, + gjs (>= 1.50), + hicolor-icon-theme, + libglib2.0-dev, + libglib2.0-bin, + meson (>= 0.50) +Package-List: + clapper deb gnome optional arch=all +Description: Simple and modern GNOME media player + A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for GTK apps. diff --git a/pkgs/deb/debian/changelog b/pkgs/deb/debian/changelog new file mode 100644 index 00000000..29761bae --- /dev/null +++ b/pkgs/deb/debian/changelog @@ -0,0 +1,5 @@ +clapper (0.0.0) unstable; urgency=low + + * Initial packaging. + + -- Rafostar Fri, 18 Sep 2020 15:39:00 +0100 diff --git a/pkgs/deb/debian/compat b/pkgs/deb/debian/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/pkgs/deb/debian/compat @@ -0,0 +1 @@ +10 diff --git a/pkgs/deb/debian/control b/pkgs/deb/debian/control new file mode 100644 index 00000000..22a9c5d8 --- /dev/null +++ b/pkgs/deb/debian/control @@ -0,0 +1,31 @@ +Source: clapper +Section: gnome +Priority: optional +Maintainer: Rafostar +Build-Depends: debhelper (>= 10), + desktop-file-utils, + gjs (>= 1.50), + hicolor-icon-theme, + libglib2.0-dev, + libglib2.0-bin, + meson (>= 0.50) + +Package: clapper +Architecture: all +Depends: gjs (>= 1.50), + gir1.2-gtk-3.0 (>= 3.19), + hicolor-icon-theme, + libgstreamer1.0-0, + gstreamer1.0-plugins-base, + gstreamer1.0-plugins-good, + gstreamer1.0-plugins-bad (>= 1.16), + gstreamer1.0-gl, + gstreamer1.0-gtk3 +Recommends: gstreamer1.0-libav, + gstreamer1.0-pulseaudio +Suggests: gstreamer-plugins-ugly, + gstreamer-vaapi +Description: Simple and modern GNOME media player + A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for GTK apps. + . + More codecs/features and video acceleration can be enabled by installing the suggested packages. diff --git a/pkgs/deb/debian/copyright b/pkgs/deb/debian/copyright new file mode 100644 index 00000000..09d53546 --- /dev/null +++ b/pkgs/deb/debian/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clapper +Source: https://github.com/Rafostar/clapper + +Files: * +Copyright: 2020 Rafostar +License: GPL-3.0+ + +Files: debian/* +Copyright: 2020 Rafostar +License: GPL-3.0+ + + This program 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 program 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/pkgs/deb/debian/rules b/pkgs/deb/debian/rules new file mode 100755 index 00000000..2d33f6ac --- /dev/null +++ b/pkgs/deb/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/pkgs/deb/debian/source/format b/pkgs/deb/debian/source/format new file mode 100644 index 00000000..89ae9db8 --- /dev/null +++ b/pkgs/deb/debian/source/format @@ -0,0 +1 @@ +3.0 (native)