Skip to content

Commit

Permalink
Update ST for AppleM1/M2/M3.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 29, 2024
1 parent 4cb96bd commit 7deb0f7
Show file tree
Hide file tree
Showing 40 changed files with 2,782 additions and 1,287 deletions.
12 changes: 12 additions & 0 deletions 3rdparty/st-srs/Dockerfile.cov
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ossrs/srs:dev-gcc7

# Install depends tools.
RUN yum install -y gcc make gcc-c++ patch unzip perl git

# Build and install SRS.
COPY . /st
WORKDIR /st

# Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- make linux-debug-gcov

15 changes: 15 additions & 0 deletions 3rdparty/st-srs/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ossrs/srs:dev-gcc7

# Install depends tools.
RUN yum install -y gcc make gcc-c++ patch unzip perl git

# Build and install SRS.
COPY . /st
WORKDIR /st

# Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- make linux-debug-utest

# Run utest
RUN ./obj/st_utest

30 changes: 30 additions & 0 deletions 3rdparty/st-srs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
The state-threads is provided under the terms of the MPL-1.1 or the
GPL-2.0-or-later. For more information about these licenses, please see
https://spdx.org/licenses/MPL-1.1.html and
https://spdx.org/licenses/GPL-2.0-or-later.html

Individual files contain the following tag instead of the full license text.

SPDX-License-Identifier: MPL-1.1 OR GPL-2.0-or-later

New source code and all source code in the "tools" and "utest" directory
is distributed under the MIT style license.

SPDX-License-Identifier: MIT

This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

---------------------------------------------------------------------------
Note: https://github.com/ossrs/state-threads/blob/srs/README#L68

The State Threads library is a derivative of the Netscape Portable
Runtime library (NSPR). All source code in this directory is
distributed under the terms of the Mozilla Public License (MPL) version
1.1 or the GNU General Public License (GPL) version 2 or later. For
more information about these licenses please see
http://www.mozilla.org/MPL/ and http://www.gnu.org/copyleft/.

All source code in the "examples" directory is distributed under the BSD
style license.

Loading

0 comments on commit 7deb0f7

Please sign in to comment.