-
Notifications
You must be signed in to change notification settings - Fork 12
Multimedia #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rhubert
wants to merge
8
commits into
BobBuildTool:master
Choose a base branch
from
rhubert:multimedia
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Multimedia #163
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3bb551f
tests::buildall: add multimedia codecs
rhubert 77c4ce1
add multimedia::speex v1.2.1
rhubert 27693ca
add multimedia::libsdl2 v2.32.10
rhubert a3c9cb0
add multimedia::libsdl2-image v2.8.8
rhubert 25a4a93
add multimedia::libsdl-ttf v2.24.0
rhubert 1743f38
add multimedia::ffmpeg v8.0.1
rhubert 3cfe89e
add libs::libyuv main-30809ff
rhubert dc874ab
add libs::bayer2rgb v0.6.0
rhubert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| inherit: [autotools, autoconf] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "GPLv3" | ||
| PKG_VERSION: "0.6.0" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb/-/archive/v${PKG_VERSION}/bayer2rgb-v${PKG_VERSION}.tar.bz2 | ||
| digestSHA256: e731bbe02f2ca68ed5752f47422d0bdcbc6880751484575b7eb7262db2c865bd | ||
| stripComponents: 1 | ||
|
|
||
| depends: | ||
| - tools: | ||
| target-toolchain: host-compat-toolchain | ||
| name: devel::gengetopt | ||
| use: [tools] | ||
|
|
||
| buildTools: [gengetopt] | ||
| buildScript: | | ||
| autotoolsBuild -s $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
| packageScript: autotoolsPackageDev | ||
| tgt: | ||
| packageScript: autotoolsPackageTgt | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| inherit: [cmake-3] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "BSD-3-Clause" | ||
| PKG_VERSION: "main-30809ff" | ||
|
|
||
| checkoutSCM: | ||
| scm: git | ||
| url: https://chromium.googlesource.com/libyuv/libyuv | ||
| branch: main | ||
| commit: 30809ff64a9ca5e45f86439c0d474c2d3eef3d05 | ||
|
|
||
| buildScript: | | ||
| cmakeBuild $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
| packageScript: cmakePackageDev | ||
| tgt: | ||
| packageScript: cmakePackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| inherit: [cpackage, make, install] | ||
|
|
||
| metaEnvironment: | ||
| PKG_VERSION: "8.0.1" | ||
| PKG_LICENSE: "LGPL-2.1-or-later" | ||
|
|
||
| depends: | ||
| - libs::zlib-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::zlib-tgt | ||
| - name: devel::nasm | ||
| tools: | ||
| target-toolchain: host-compat-toolchain | ||
| use: [tools] | ||
| if: "$(eq,${ARCH},x86_64)" | ||
|
|
||
| Config: | ||
| FFMPEG_ADDITIONAL_OPTIONS: | ||
| help: Additional options passed to ffmpeg configure | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://ffmpeg.org/releases/ffmpeg-8.0.1.tar.xz | ||
| digestSHA256: 05ee0b03119b45c0bdb4df654b96802e909e0a752f72e4fe3794f487229e5a41 | ||
| stripComponents: 1 | ||
|
|
||
| buildTools: | ||
| - host-toolchain | ||
| - name: nasm | ||
| if: "$(eq,${ARCH},x86_64)" | ||
|
|
||
| buildVars: [ARCH, CROSS_COMPILE, FFMPEG_ADDITIONAL_OPTIONS] | ||
| buildSetup: | | ||
| CONFIGURE_OPTIONS="${FFMPEG_ADDITIONAL_OPTIONS:-} " | ||
| if [[ ! $(cpackageCrossCompiling) ]]; then | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| CONFIGURE_OPTIONS+="--enable-cross-compile \ | ||
| --cross-prefix=${CROSS_COMPILE} \ | ||
| --arch=${ARCH} " | ||
| fi | ||
| case $(cpackageLibraryType) in | ||
| static) | ||
| CONFIGURE_OPTIONS+="--disable-shared --enable-static " | ||
| ;; | ||
| shared) | ||
| CONFIGURE_OPTIONS+="--enable-shared --disable-static " | ||
| ;; | ||
| both) | ||
| CONFIGURE_OPTIONS+="--enable-shared --enable-static " | ||
| ;; | ||
| esac | ||
|
|
||
| buildScript: | | ||
| # ffmpeg uses a custom configure script failing on unknown options | ||
| # provided by autotools class: | ||
| # > Unknown option "--build=x86_64-bob-linux-gnu" | ||
| # Call it manually... | ||
|
|
||
| mkdir -p build install | ||
| pushd build | ||
|
|
||
| $1/configure \ | ||
| --prefix=/usr \ | ||
| --target-os=linux \ | ||
| --pkg-config=pkg-config \ | ||
| ${CONFIGURE_OPTIONS} | ||
| makeParallel | ||
| makeSequential install DESTDIR=${PWD}/../install | ||
| popd | ||
|
|
||
| multiPackage: | ||
| "": | ||
| depends: | ||
| - name: multimedia::ffmpeg-tgt | ||
| use: [] | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: installPackageBin $1/install/ | ||
| dev: | ||
| provideDeps: ['*-dev'] | ||
| packageScript: installPackageDev $1/install/ | ||
| tgt: | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: installPackageLib $1/install/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| inherit: [cmake] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "ZLib" | ||
| PKG_VERSION: "2.8.8" | ||
|
|
||
| depends: | ||
| - multimedia::libsdl2-dev | ||
| - use: [] | ||
| depends: | ||
| - multimedia::libsdl2-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: ${GITHUB_MIRROR}/libsdl-org/SDL_image/releases/download/release-${PKG_VERSION}/SDL2_image-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af2156097ce30a | ||
| stripComponents: 1 | ||
|
|
||
| buildScript: | | ||
| cmakeBuild $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
| provideDeps: ["*-dev"] | ||
| packageScript: | | ||
| cmakePackageDev | ||
| tgt: | ||
| provideDeps: ["*-tgt"] | ||
| packageScript: | | ||
| cmakePackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| inherit: [cmake] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "ZLib" | ||
| PKG_VERSION: "2.24.0" | ||
|
|
||
| depends: | ||
| - libs::freetype-dev | ||
| - multimedia::libsdl2-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::freetype-tgt | ||
| - multimedia::libsdl2-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: ${GITHUB_MIRROR}/libsdl-org/SDL_ttf/releases/download/release-${PKG_VERSION}/SDL2_ttf-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 6f6db164359a2da5a84ef826615b448b33e6306067ad829d85d5b0bf936f1bb8 | ||
| stripComponents: 1 | ||
|
|
||
| buildScript: | | ||
| cmakeBuild $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
| provideDeps: ["*-dev"] | ||
| packageScript: | | ||
| cmakePackageDev | ||
| tgt: | ||
| provideDeps: ["*-tgt"] | ||
| packageScript: | | ||
| cmakePackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| inherit: [cmake] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. inherit windowing? |
||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "ZLib" | ||
| PKG_VERSION: "2.32.10" | ||
|
|
||
| depends: | ||
| - libs::alsa-lib-dev | ||
| - if: "${WINDOWING_X11}" | ||
| depends: | ||
| - libs::xorg::libX11-dev | ||
| - libs::xorg::libXext-dev | ||
| - use: [] | ||
| depends: | ||
| - libs::alsa-lib-tgt | ||
| - if: "${WINDOWING_X11}" | ||
| depends: | ||
| - libs::xorg::libX11-tgt | ||
| - libs::xorg::libXext-tgt | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://libsdl.org/release/SDL2-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165 | ||
| stripComponents: 1 | ||
|
|
||
| buildScript: | | ||
| cmakeBuild $1 | ||
|
|
||
| multiPackage: | ||
| "": | ||
| depends: | ||
| - use: [] | ||
| name: multimedia::libsdl2-tgt | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
| cmakePackageBin | ||
| provideTools: | ||
| sdl_config: usr/bin | ||
| dev: | ||
| provideDeps: ['*-dev'] | ||
| packageScript: | | ||
| cmakePackageDev | ||
| tgt: | ||
| provideDeps: ['*-tgt'] | ||
| packageScript: | | ||
| cmakePackageLib | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| inherit: [autotools] | ||
|
|
||
| metaEnvironment: | ||
| PKG_LICENSE: "BSD-3-Clause" | ||
| PKG_VERSION: "1.2.1" | ||
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: http://downloads.xiph.org/releases/speex/speex-${PKG_VERSION}.tar.gz | ||
| digestSHA256: 4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea | ||
| stripComponents: 1 | ||
|
|
||
| buildScript: | | ||
| autotoolsBuild $1 | ||
|
|
||
| multiPackage: | ||
| dev: | ||
| packageScript: autotoolsPackageDev | ||
| tgt: | ||
| packageScript: autotoolsPackageTgt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the autoconf class really needed?