mirror of
https://github.com/jellyfin/jellyfin-ffmpeg.git
synced 2026-09-03 05:09:58 +03:00
Update build scripts
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
-30
@@ -1,30 +0,0 @@
|
||||
language: c
|
||||
sudo: false
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- nasm
|
||||
- diffutils
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
matrix:
|
||||
exclude:
|
||||
- os: osx
|
||||
compiler: gcc
|
||||
cache:
|
||||
directories:
|
||||
- ffmpeg-samples
|
||||
before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
|
||||
install:
|
||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
|
||||
script:
|
||||
- mkdir -p ffmpeg-samples
|
||||
- ./configure --samples=ffmpeg-samples --cc=$CC
|
||||
- make -j 8
|
||||
- make fate-rsync
|
||||
- make check -j 8
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# crosstool-NG 1.28.0.21_3c5cc17 Configuration
|
||||
# crosstool-NG 1.28.0.23_185f348 Configuration
|
||||
#
|
||||
CT_CONFIGURE_has_static_link=y
|
||||
CT_CONFIGURE_has_cxx11=y
|
||||
@@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
|
||||
CT_CONFIGURE_has_sha256sum=y
|
||||
CT_CONFIGURE_has_sha512sum=y
|
||||
CT_CONFIGURE_has_install_with_strip_program=y
|
||||
CT_VERSION="1.28.0.21_3c5cc17"
|
||||
CT_VERSION="1.28.0.23_185f348"
|
||||
CT_VCHECK=""
|
||||
CT_CONFIG_VERSION_ENV="4"
|
||||
CT_CONFIG_VERSION_CURRENT="4"
|
||||
@@ -397,7 +397,8 @@ CT_BINUTILS_PATCH_GLOBAL=y
|
||||
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
|
||||
# CT_BINUTILS_PATCH_NONE is not set
|
||||
CT_BINUTILS_PATCH_ORDER="global"
|
||||
CT_BINUTILS_V_2_45=y
|
||||
CT_BINUTILS_V_2_46=y
|
||||
# CT_BINUTILS_V_2_45 is not set
|
||||
# CT_BINUTILS_V_2_44 is not set
|
||||
# CT_BINUTILS_V_2_43 is not set
|
||||
# CT_BINUTILS_V_2_42 is not set
|
||||
@@ -417,14 +418,16 @@ CT_BINUTILS_V_2_45=y
|
||||
# CT_BINUTILS_V_2_28 is not set
|
||||
# CT_BINUTILS_V_2_27 is not set
|
||||
# CT_BINUTILS_V_2_26 is not set
|
||||
CT_BINUTILS_VERSION="2.45"
|
||||
CT_BINUTILS_VERSION="2.46.0"
|
||||
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
|
||||
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
|
||||
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
|
||||
CT_BINUTILS_2_46_0_or_later=y
|
||||
CT_BINUTILS_2_46_0_or_older=y
|
||||
CT_BINUTILS_later_than_2_45=y
|
||||
CT_BINUTILS_2_45_or_later=y
|
||||
CT_BINUTILS_2_45_or_older=y
|
||||
CT_BINUTILS_later_than_2_44=y
|
||||
CT_BINUTILS_2_44_or_later=y
|
||||
CT_BINUTILS_later_than_2_41=y
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# crosstool-NG 1.28.0.21_3c5cc17 Configuration
|
||||
# crosstool-NG 1.28.0.23_185f348 Configuration
|
||||
#
|
||||
CT_CONFIGURE_has_static_link=y
|
||||
CT_CONFIGURE_has_cxx11=y
|
||||
@@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
|
||||
CT_CONFIGURE_has_sha256sum=y
|
||||
CT_CONFIGURE_has_sha512sum=y
|
||||
CT_CONFIGURE_has_install_with_strip_program=y
|
||||
CT_VERSION="1.28.0.21_3c5cc17"
|
||||
CT_VERSION="1.28.0.23_185f348"
|
||||
CT_VCHECK=""
|
||||
CT_CONFIG_VERSION_ENV="4"
|
||||
CT_CONFIG_VERSION_CURRENT="4"
|
||||
@@ -404,7 +404,8 @@ CT_BINUTILS_PATCH_GLOBAL=y
|
||||
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
|
||||
# CT_BINUTILS_PATCH_NONE is not set
|
||||
CT_BINUTILS_PATCH_ORDER="global"
|
||||
CT_BINUTILS_V_2_45=y
|
||||
CT_BINUTILS_V_2_46=y
|
||||
# CT_BINUTILS_V_2_45 is not set
|
||||
# CT_BINUTILS_V_2_44 is not set
|
||||
# CT_BINUTILS_V_2_43 is not set
|
||||
# CT_BINUTILS_V_2_42 is not set
|
||||
@@ -424,14 +425,16 @@ CT_BINUTILS_V_2_45=y
|
||||
# CT_BINUTILS_V_2_28 is not set
|
||||
# CT_BINUTILS_V_2_27 is not set
|
||||
# CT_BINUTILS_V_2_26 is not set
|
||||
CT_BINUTILS_VERSION="2.45"
|
||||
CT_BINUTILS_VERSION="2.46.0"
|
||||
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
|
||||
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
|
||||
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
|
||||
CT_BINUTILS_2_46_0_or_later=y
|
||||
CT_BINUTILS_2_46_0_or_older=y
|
||||
CT_BINUTILS_later_than_2_45=y
|
||||
CT_BINUTILS_2_45_or_later=y
|
||||
CT_BINUTILS_2_45_or_older=y
|
||||
CT_BINUTILS_later_than_2_44=y
|
||||
CT_BINUTILS_2_44_or_later=y
|
||||
CT_BINUTILS_later_than_2_41=y
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# crosstool-NG 1.28.0.21_3c5cc17 Configuration
|
||||
# crosstool-NG 1.28.0.23_185f348 Configuration
|
||||
#
|
||||
CT_CONFIGURE_has_static_link=y
|
||||
CT_CONFIGURE_has_cxx11=y
|
||||
@@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
|
||||
CT_CONFIGURE_has_sha256sum=y
|
||||
CT_CONFIGURE_has_sha512sum=y
|
||||
CT_CONFIGURE_has_install_with_strip_program=y
|
||||
CT_VERSION="1.28.0.21_3c5cc17"
|
||||
CT_VERSION="1.28.0.23_185f348"
|
||||
CT_VCHECK=""
|
||||
CT_CONFIG_VERSION_ENV="4"
|
||||
CT_CONFIG_VERSION_CURRENT="4"
|
||||
@@ -302,7 +302,8 @@ CT_BINUTILS_PATCH_GLOBAL=y
|
||||
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
|
||||
# CT_BINUTILS_PATCH_NONE is not set
|
||||
CT_BINUTILS_PATCH_ORDER="global"
|
||||
CT_BINUTILS_V_2_45=y
|
||||
CT_BINUTILS_V_2_46=y
|
||||
# CT_BINUTILS_V_2_45 is not set
|
||||
# CT_BINUTILS_V_2_44 is not set
|
||||
# CT_BINUTILS_V_2_43 is not set
|
||||
# CT_BINUTILS_V_2_42 is not set
|
||||
@@ -322,14 +323,16 @@ CT_BINUTILS_V_2_45=y
|
||||
# CT_BINUTILS_V_2_28 is not set
|
||||
# CT_BINUTILS_V_2_27 is not set
|
||||
# CT_BINUTILS_V_2_26 is not set
|
||||
CT_BINUTILS_VERSION="2.45"
|
||||
CT_BINUTILS_VERSION="2.46.0"
|
||||
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
|
||||
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
|
||||
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
|
||||
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
|
||||
CT_BINUTILS_2_46_0_or_later=y
|
||||
CT_BINUTILS_2_46_0_or_older=y
|
||||
CT_BINUTILS_later_than_2_45=y
|
||||
CT_BINUTILS_2_45_or_later=y
|
||||
CT_BINUTILS_2_45_or_older=y
|
||||
CT_BINUTILS_later_than_2_44=y
|
||||
CT_BINUTILS_2_44_or_later=y
|
||||
CT_BINUTILS_later_than_2_41=y
|
||||
|
||||
@@ -3,27 +3,22 @@
|
||||
_realname=brotli
|
||||
pkgbase=mingw-w64-jellyfin-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-jellyfin-${_realname}")
|
||||
pkgver=1.1.0
|
||||
pkgver=1.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Brotli compression library (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
url='https://github.com/google/brotli'
|
||||
msys2_references=(
|
||||
"pypi: brotli"
|
||||
"cpe: cpe:/a:google:brotli"
|
||||
)
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
|
||||
"${MINGW_PACKAGE_PREFIX}-cmake"
|
||||
"${MINGW_PACKAGE_PREFIX}-ninja"
|
||||
"${MINGW_PACKAGE_PREFIX}-cc"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-wheel"
|
||||
)
|
||||
license=('spdx:MIT')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/google/brotli/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff')
|
||||
sha256sums=('816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
@@ -32,8 +27,6 @@ prepare() {
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||
|
||||
declare -a extra_config
|
||||
if check_option "debug" "n"; then
|
||||
extra_config+=("-DCMAKE_BUILD_TYPE=Release")
|
||||
|
||||
Reference in New Issue
Block a user