Skip to content

Commit

Permalink
kurento module
Browse files Browse the repository at this point in the history
  • Loading branch information
slabajo committed Mar 17, 2023
1 parent e0b4df5 commit 4ae4aff
Show file tree
Hide file tree
Showing 12 changed files with 146 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/cpp/.devcontainer/base.Dockerfile

# [Choice] Debian / Ubuntu version: debian-11, debian-10, debian-9, ubuntu-20.04, ubuntu-18.04
ARG VARIANT="buster"
FROM mcr.microsoft.com/vscode/devcontainers/cpp:0-${VARIANT}

# [Optional] Uncomment this section to install additional packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
RUN apt update && apt install -y --no-install-recommends \
build-essential \
ca-certificates \
cmake \
git \
gnupg \
gdb

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83

COPY repo_cfg /tmp

RUN bash -c "source /etc/upstream-release/lsb-release 2>/dev/null || source /etc/lsb-release "
RUN tee "/etc/apt/sources.list.d/kurento.list" >/dev/null < /tmp/repo_cfg \
&& rm /tmp/repo_cfg && apt update

RUN apt install -y --no-install-recommends \
kurento-media-server-dev

RUN apt install -y devscripts git-buildpackage equivs
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/cpp
{
"name": "C++",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Debian / Ubuntu OS version: debian-11, debian-10, debian-9, ubuntu-20.04, ubuntu-18.04
"args": { "VARIANT": "ubuntu-18.04" }
},
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-vscode.cpptools",
"twxs.cmake",
"ms-vscode.cmake-tools",
"mhutchie.git-graph",
"austin.code-gnu-global"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "gcc -v",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
2 changes: 2 additions & 0 deletions .devcontainer/repo_cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Kurento Media Server - Nightly packages
deb [arch=amd64] http://ubuntu.openvidu.io/6.18.0 bionic kms6
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AC_INIT

dnl versions of gstreamer and plugins-base
GST_MAJORMINOR=1.0
GST_REQUIRED=1.0
GSTPB_REQUIRED=1.0
GST_MAJORMINOR=1.5
GST_REQUIRED=1.5
GSTPB_REQUIRED=1.5

dnl fill in your package name and version here
dnl the fourth (nano) number should be 0 for a release, 1 for CVS,
Expand Down
11 changes: 11 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
kms-gladstone (1.0.0) testing; urgency=medium

* Release 1.0.0

-- Saul Pablo Labajo Izquierdo Tue, 14 Mar 2023 12:30:01 +0200

kms-gladstone (0.0.1~rc1) testing; urgency=medium

* Initial release.

-- Saul Pablo Labajo Izquierdo Wed, 9 Oct 2019 12:30:01 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
37 changes: 37 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Source: kms-gladstone
Maintainer: NaevaTec <[email protected]>
Priority: optional
Build-Depends: debhelper (>= 9),
cmake,
pkg-config,
kms-core-dev (>= 6.17.0),
kms-elements-dev (>= 6.17.0),
kms-filters-dev (>= 6.17.0),
Standards-Version: 4.0.0
Homepage: www.kurento.org
Vcs-Browser: https://
Vcs-Git: https://

Package: kms-gladstone
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends},
kms-core (>= 6.17.0),
kms-elements (>= 6.17.0),
kms-filters (>= 6.17.0)
Description: Kurento GladStone G729 codec

Package: kms-gladstone-dev
Architecture: any
Section: libdevel
Depends: kms-gladstone (= ${binary:Version}),
kms-core-dev (>= 6.17.0),
kms-elements-dev (>= 6.17.0),
kms-filters-dev (>= 6.17.0),
Description: Kurento GladStone G729 codec - Development files

Package: kms-gladstone-dbg
Architecture: any
Section: debug
Depends: kms-gladstone (= ${binary:Version})
Description: Kurento GladStone G729 codec - Debug symbols
10 changes: 10 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: kms-datachannel-adapter
Upstream-Contact: NaevaTec <[email protected]>
Source: https://

Files: *
Copyright: Copyright 2019 NaevaTec (www.naevatec.com)
License: Apache-2.0
On Debian systems, the full text of the Apache License, Version 2.0
can be found in the file '/usr/share/common-licenses/Apache-2.0'.
1 change: 1 addition & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
1 change: 1 addition & 0 deletions debian/kms-gladstone.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/.libs/*.so /usr/lib/x86_64-linux-gnu/gstreamer-1.5/
18 changes: 18 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

%:
dh $@ --parallel

override_dh_auto_configure:
rm -rf debian/build
mkdir debian/build
./autogen.sh --noconfigure
./configure --enable-refcode-download --prefix=$(pwd)/debian/build

override_dh_auto_build:
make
make install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit 4ae4aff

Please sign in to comment.