Debianization
To build the debian package, it's recommended to use git-buildpackage. It's assumed the debian files is in the "debian" branch, and the obs upstream source is in the "master" branch. Override if necessary.
This commit is contained in:
parent
fb3990e9e5
commit
c7030e8d7e
12 changed files with 200 additions and 0 deletions
7
debian/.gitignore
vendored
Normal file
7
debian/.gitignore
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
files
|
||||
*.debhelper
|
||||
*.substvars
|
||||
libobs-dev
|
||||
libobs
|
||||
obs-studio
|
||||
tmp
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
obsproject (0.7.2-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #774744)
|
||||
|
||||
-- Carl Fürstenberg <azatoth@gmail.com> Fri, 09 Jan 2015 19:34:46 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
9
|
86
debian/control
vendored
Normal file
86
debian/control
vendored
Normal file
|
@ -0,0 +1,86 @@
|
|||
Source: obsproject
|
||||
Section: video
|
||||
Priority: optional
|
||||
Maintainer: Carl Fürstenberg <azatoth@gmail.com>
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
cmake,
|
||||
libavformat-ffmpeg-dev,
|
||||
libavcodec-ffmpeg-dev,
|
||||
libavutil-ffmpeg-dev,
|
||||
libswresample-ffmpeg-dev,
|
||||
libswscale-ffmpeg-dev,
|
||||
libx11-dev,
|
||||
libgl1-mesa-dev | libgl-dev,
|
||||
libpulse-dev,
|
||||
libxcomposite-dev,
|
||||
libxinerama-dev,
|
||||
libv4l-dev,
|
||||
libudev-dev,
|
||||
libfreetype6-dev,
|
||||
libfontconfig-dev,
|
||||
qtbase5-dev,
|
||||
libqt5x11extras5-dev,
|
||||
libx264-dev,
|
||||
libxcb-xinerama0-dev,
|
||||
libxcb-shm0-dev
|
||||
Standards-Version: 3.9.5
|
||||
Homepage: https://obsproject.com/
|
||||
#Vcs-Git: git://anonscm.debian.org/collab-maint/obs.git
|
||||
#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/obs.git;a=summary
|
||||
|
||||
Package: obs-studio
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libobs0 (>= ${binary:Version}), obs-plugins (>= ${binary:Version})
|
||||
Description: OBS Studio
|
||||
a rewrite of what was formerly known as "Open Broadcaster
|
||||
Software", software originally designed for recording and streaming live
|
||||
video content, efficiently.
|
||||
|
||||
Package: obs-plugins
|
||||
Multi-Arch: same
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libobs0 (>= ${binary:Version})
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: OBS Studio Plugins
|
||||
a rewrite of what was formerly known as "Open Broadcaster
|
||||
Software", software originally designed for recording and streaming live
|
||||
video content, efficiently.
|
||||
.
|
||||
This package contains various default plugins for obs-studio.
|
||||
|
||||
Package: libobs0
|
||||
Multi-Arch: same
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: OBS library
|
||||
a rewrite of what was formerly known as "Open Broadcaster
|
||||
Software", software originally designed for recording and streaming live
|
||||
video content, efficiently.
|
||||
.
|
||||
this package contains the libraries needed for obs-studio.
|
||||
|
||||
Package: libobs0-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, libobs0 (= ${binary:Version})
|
||||
Description: debugging symbols for OBS library
|
||||
a rewrite of what was formerly known as "Open Broadcaster
|
||||
Software", software originally designed for recording and streaming live
|
||||
video content, efficiently.
|
||||
.
|
||||
This package contains the debugging symbols for libobs0.
|
||||
|
||||
Package: libobs-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, libobs0 (= ${binary:Version})
|
||||
Description: OBS library development files
|
||||
a rewrite of what was formerly known as "Open Broadcaster
|
||||
Software", software originally designed for recording and streaming live
|
||||
video content, efficiently.
|
||||
.
|
||||
This package contains the development files for libobs0.
|
43
debian/copyright
vendored
Normal file
43
debian/copyright
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: obs
|
||||
Source: https://obsproject.com/
|
||||
|
||||
Files: *
|
||||
Copyright: 2013-2014 by Hugh Bailey <obs.jim@gmail.com>
|
||||
License: GPL-2+
|
||||
|
||||
Files: libobs/obs-audio-controls.c
|
||||
libobs/obs-audio-controls.h
|
||||
Copyright: 2014 by Leonhard Oelke <leonhard@in-verted.de>
|
||||
License: GPL-2+
|
||||
|
||||
Files: obs/platform-x11.cpp
|
||||
Copyright: 2013 by Hugh Bailey <obs.jim@gmail.com>
|
||||
2014 by Zachary Lund <admin@computerquip.com>
|
||||
License: GPL-2+
|
||||
|
||||
Files: obs/window-remux.cpp
|
||||
obs/window-remux.hpp
|
||||
Copyright: 2014 by Ruwen Hahn <palana@stunned.de>
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2015 Carl Fürstenberg <azatoth@gmail.com>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
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 2 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 2 can be found in "/usr/share/common-licenses/GPL-2".
|
6
debian/gbp.conf
vendored
Normal file
6
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[buildpackage]
|
||||
upstream-tree = tag
|
||||
upstream-tag = %(version)s
|
||||
upstream-branch = master
|
||||
debian-branch = debian
|
||||
submodules = true
|
4
debian/libobs-dev.install
vendored
Normal file
4
debian/libobs-dev.install
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
usr/include/*
|
||||
usr/lib/*/libobsglad.so
|
||||
usr/lib/*/libobs.so
|
||||
usr/lib/*/cmake/LibObs/*
|
3
debian/libobs0.install
vendored
Normal file
3
debian/libobs0.install
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
usr/lib/*/lib*.so.*
|
||||
usr/lib/*/libobs-opengl.so
|
||||
usr/share/obs/libobs/*
|
2
debian/obs-plugins.install
vendored
Normal file
2
debian/obs-plugins.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/usr/share/obs/obs-plugins/*
|
||||
/usr/lib/*/obs-plugins/*
|
6
debian/obs-studio.install
vendored
Normal file
6
debian/obs-studio.install
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
usr/bin/obs
|
||||
usr/share/obs/obs-studio/*
|
||||
|
||||
usr/share/icons/hicolor/256x256/apps/obs.png
|
||||
|
||||
usr/share/applications/obs.desktop
|
36
debian/rules
vendored
Executable file
36
debian/rules
vendored
Executable file
|
@ -0,0 +1,36 @@
|
|||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#DH_VERBOSE = 1
|
||||
|
||||
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||
# package maintainers to append CFLAGS
|
||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
# package maintainers to append LDFLAGS
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DOBS_MULTIARCH_SUFFIX=/$(DEB_HOST_MULTIARCH) \
|
||||
-DUNIX_STRUCTURE=1
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=libobs0-dbg
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
rm -rf $(CURDIR)/debian/obs-studio/usr/share/obs/obs-studio/license
|
||||
|
||||
.PHONY: override_dh_strip override_dh_auto_configure override_dh_install
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
Loading…
Reference in a new issue