├── .gitignore ├── LICENSE.LGPL ├── MANIFEST.in.in ├── Makefile ├── README ├── README.md ├── cerbero-uninstalled ├── cerbero ├── __init__.py ├── bootstrap │ ├── __init__.py │ ├── android.py │ ├── bootstrapper.py │ ├── build_tools.py │ ├── ios.py │ ├── linux.py │ ├── osx.py │ └── windows.py ├── build │ ├── __init__.py │ ├── build.py │ ├── cookbook.py │ ├── filesprovider.py │ ├── oven.py │ ├── recipe.py │ └── source.py ├── commands │ ├── __init__.py │ ├── add_package.py │ ├── add_recipe.py │ ├── bootstrap.py │ ├── build.py │ ├── bundlesource.py │ ├── check.py │ ├── checkpackage.py │ ├── cleanone.py │ ├── debugpackages.py │ ├── deps.py │ ├── fetch.py │ ├── genlibfiles.py │ ├── gensdkshell.py │ ├── genvsprops.py │ ├── genxcconfig.py │ ├── info.py │ ├── list.py │ ├── package.py │ ├── rdeps.py │ ├── runit.py │ ├── shell.py │ ├── tag.py │ └── wipe.py ├── config.py ├── enums.py ├── errors.py ├── hacks.py ├── ide │ ├── __init__.py │ ├── pkgconfig.py │ ├── vs │ │ ├── __init__.py │ │ ├── genlib.py │ │ ├── pkgconfig2vsprops.py │ │ ├── props.py │ │ └── vsprops.py │ └── xcode │ │ ├── __init__.py │ │ ├── fwlib.py │ │ └── xcconfig.py ├── main.py ├── packages │ ├── __init__.py │ ├── android.py │ ├── debian.py │ ├── disttarball.py │ ├── linux.py │ ├── osx │ │ ├── __init__.py │ │ ├── buildtools.py │ │ ├── bundles.py │ │ ├── distribution.py │ │ ├── info_plist.py │ │ └── packager.py │ ├── package.py │ ├── packager.py │ ├── packagesstore.py │ ├── rpm.py │ ├── wix.py │ └── wix_packager.py ├── tools │ ├── __init__.py │ ├── depstracker.py │ ├── libtool.py │ ├── osxrelocator.py │ ├── osxuniversalgenerator.py │ ├── pkgconfig.py │ └── strip.py └── utils │ ├── __init__.py │ ├── git.py │ ├── messages.py │ ├── msbuild.py │ ├── shell.py │ └── svn.py ├── config ├── android.config ├── build-tools.cbc ├── cross-android-arm64.cbc ├── cross-android-armv7.cbc ├── cross-android-universal.cbc ├── cross-android-x86-64.cbc ├── cross-android-x86.cbc ├── cross-android.cbc ├── cross-ios-arm64.cbc ├── cross-ios-arm7.cbc ├── cross-ios-arm7s.cbc ├── cross-ios-universal.cbc ├── cross-ios-x86-64.cbc ├── cross-ios-x86.cbc ├── cross-lin-arm.cbc ├── cross-lin-x86.cbc ├── cross-win32.cbc ├── cross-win64.cbc ├── darwin.config ├── ios.config ├── linux.cbc ├── linux.config ├── mingw-w32-lin.cbc ├── mingw-w32-win.cbc ├── mingw-w64-lin.cbc ├── mingw-w64-win.cbc ├── osx-universal.cbc ├── osx-x86-64.cbc ├── win32.cbc ├── win64.cbc └── windows.config ├── create_tarball.sh ├── data ├── autotools │ ├── config.guess │ └── config.sub ├── ndk-build │ ├── GStreamer.java │ ├── fontconfig │ │ ├── fonts.conf │ │ └── fonts │ │ │ └── Ubuntu-R.ttf │ ├── gstreamer-1.0.mk │ ├── gstreamer_android-1.0.c.in │ ├── gstreamer_prebuilt.mk │ ├── tools.mk │ └── tools │ │ └── windows │ │ ├── libiconv2.dll │ │ ├── libintl3.dll │ │ ├── pkg-config.exe │ │ ├── regex2.dll │ │ └── sed.exe ├── vs-1.0 │ ├── gst-template │ │ ├── Scripts │ │ │ └── 1033 │ │ │ │ └── default.js │ │ └── gst-template.vcxproj │ ├── msvc │ │ ├── common.props │ │ ├── config.props │ │ ├── msvcrt.props │ │ ├── release.props │ │ ├── x86.props │ │ └── x86_64.props │ └── wizard │ │ ├── gst-sdk-template.ico │ │ ├── gst-sdk-template.vsdir │ │ └── gst-sdk-template.vsz ├── vs │ ├── gst-sdk-template │ │ ├── Scripts │ │ │ └── 1033 │ │ │ │ └── default.js │ │ └── gst-sdk-template.vcxproj │ ├── msvc │ │ ├── common.props │ │ ├── config.props │ │ ├── msvcrt.props │ │ ├── release.props │ │ ├── x86.props │ │ └── x86_64.props │ └── wizard │ │ ├── gst-sdk-template.ico │ │ ├── gst-sdk-template.vsdir │ │ └── gst-sdk-template.vsz ├── wix │ ├── Config.wxi │ ├── installer.wxs │ ├── properties.wxi │ ├── ui.wxs │ └── utils.wxs └── xcode │ └── templates │ └── ios │ ├── GStreamer Base.xctemplate │ ├── TemplateInfo.plist │ ├── fontconfig │ │ ├── fonts.conf │ │ └── fonts │ │ │ └── Ubuntu-R.ttf │ ├── gst_ios_init.h │ ├── gst_ios_init.m │ └── main.m │ ├── GStreamer Empty Application.xctemplate │ └── TemplateInfo.plist │ ├── GStreamer Master-Detail Application.xctemplate │ └── TemplateInfo.plist │ ├── GStreamer Page-Based Application.xctemplate │ └── TemplateInfo.plist │ ├── GStreamer Single View Application.xctemplate │ └── TemplateInfo.plist │ ├── GStreamer Tabbed Application.xctemplate │ └── TemplateInfo.plist │ └── GStreamer Utility Application.xctemplate │ └── TemplateInfo.plist ├── packages ├── base-crypto.package ├── base-system-1.0.package ├── custom.py ├── gstreamer-1.0-capture.package ├── gstreamer-1.0-codecs-gpl.package ├── gstreamer-1.0-codecs-restricted.package ├── gstreamer-1.0-codecs.package ├── gstreamer-1.0-core.package ├── gstreamer-1.0-devtools.package ├── gstreamer-1.0-dvd.package ├── gstreamer-1.0-editing.package ├── gstreamer-1.0-effects.package ├── gstreamer-1.0-encoding.package ├── gstreamer-1.0-libav.package ├── gstreamer-1.0-net-restricted.package ├── gstreamer-1.0-net.package ├── gstreamer-1.0-playback.package ├── gstreamer-1.0-system.package ├── gstreamer-1.0-visualizers.package ├── gstreamer-1.0-vs-templates.package ├── gstreamer-1.0 │ ├── background.png │ ├── banner.bmp │ ├── dialog.bmp │ ├── gstreamer-1.0.package │ ├── icon.ico │ ├── license.rtf │ ├── license.txt │ ├── license_unwrapped.txt │ └── post_install_ios ├── openwebrtc-base.package ├── openwebrtc │ └── openwebrtc.package └── vsintegration-1.0.package ├── recipes ├── a52dec.recipe ├── a52dec │ ├── 0002-Fix-link-cross-compiling-to-x86-in-darwin-platforms.patch │ ├── 0003-Disable-AC_C_ALWAYS_INLINE.patch │ └── 0004-configure-let-us-decide-if-we-really-want-PIC-or-not.patch ├── bionic-fixup.recipe ├── bionic-fixup │ └── error.h ├── build-tools │ ├── android-sdk.recipe │ ├── autoconf.recipe │ ├── automake.recipe │ ├── bison.recipe │ ├── cmake.recipe │ ├── flex.recipe │ ├── flex │ │ ├── flex-configure.ac-Use-gettext-0.19.patch │ │ └── flex-prevent-to-build-doc.patch │ ├── gas-preprocessor.recipe │ ├── gettext-m4.recipe │ ├── gettext-tools.recipe │ ├── glib-tools.recipe │ ├── gnome-common.recipe │ ├── gnu-sed.recipe │ ├── gobject-introspection-m4.recipe │ ├── gobject-introspection.recipe │ ├── gperf-0001-Don-t-override-environment-AR.patch │ ├── gperf.recipe │ ├── intltool-m4.recipe │ ├── intltool.recipe │ ├── libtool.recipe │ ├── libtool │ │ └── 0001-Add-support-for-weak_framework-linking-on-Darwin.patch │ ├── m4.recipe │ ├── meson.recipe │ ├── mingw-regex.recipe │ ├── mingw-regex │ │ └── 0001-Fix-compilation.patch │ ├── ninja.recipe │ ├── orc.recipe │ ├── pkg-config.recipe │ ├── vala-m4.recipe │ ├── xz.recipe │ └── yasm.recipe ├── bzip2.recipe ├── bzip2 │ └── 0001-Fix-Makefiles-and-add-support-for-Windows-and-OS-X.patch ├── ca-certificates.recipe ├── ca-certificates │ └── ca-certificates.crt ├── cairo.recipe ├── cairo │ ├── 0001-Disable-building-of-the-tests.patch │ ├── 0001-Fix-compilation-with-Android-s-bionic-libc.patch │ └── 0001-configure-Disable-LTO-as-it-breaks-at-least-on-Andro.patch ├── cdparanoia.recipe ├── cdparanoia │ └── 0001-configure.in-Always-use-AC_PROG_CC.patch ├── custom.py ├── docbook-xml.recipe ├── docbook-xsl.recipe ├── expat.recipe ├── faad2.recipe ├── faad2 │ ├── 0001-Fix-redefinition-of-off_t.patch │ └── 0002-Add-no-undefined-on-windows.patch ├── flac.recipe ├── fontconfig.recipe ├── fontconfig │ ├── 0001-Do-not-build-tests-on-windows.patch │ ├── 0001-Don-t-use-_mktemp_s-which-is-not-available-in-XP.patch │ └── 0003-configure-Allow-static-build.patch ├── freetype.recipe ├── frei0r-plugins │ └── 0001-Fix-autoreconf.patch ├── freior-plugins.recipe ├── fribidi.recipe ├── fribidi │ ├── 0001-fribidi.def-Include-all-required-symbols.patch │ └── 0002-fribidi-disable-docs.patch ├── gdk-pixbuf.recipe ├── gdk-pixbuf │ └── 0001-thumbnailer-Add-EXEEXT-to-the-the-gdk-pixbuf-print-m.patch ├── gettext.recipe ├── gettext │ ├── 0001-Fix-linker-error-redefinition-of-vasprintf.patch │ └── 0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch ├── glib-networking-static.recipe ├── glib-networking.recipe ├── glib-networking │ ├── 0001-Add-support-for-static-modules.patch │ ├── 0002-Get-the-CA-certificate-path-from-the-environment-var.patch │ ├── 0003-gnutls-Use-db-relative-to-libglib-2.0-if-needed.patch │ └── 0004-gtlsbackend-gnutls-Get-anchor-file-relative-to-libgi.patch ├── glib.recipe ├── glib │ ├── 0001-Let-user-disable-Cocoa-and-Carbon-support-on-demand.patch │ ├── 0002-Optionally-revert-to-the-old-pre-2.28-URI-handler-co.patch │ ├── 0003-Add-support-for-loading-GIO-modules-from-the-distro-.patch │ ├── 0004-Allow-for-a-second-distro-GIO-module-path-as-used-on.patch │ ├── 0005-Blacklist-the-bamf-GIO-module.patch │ ├── 0006-giomodule-do-not-try-to-load-modules-from-gio-module.patch │ ├── 0008-gdbus-codgen-Use-a-proper-shebang-in-the-generator.patch │ ├── 0009-Unhide-_g_io_modules_ensure_extension_points_registe.patch │ ├── 0015-Implementation-of-Cocoa-event-loop-integration-in-GM.patch │ ├── 0016-gmessages-Fix-compilation-on-Android.patch │ ├── 0017-GSocket-Fix-race-conditions-on-Win32-if-multiple-thr.patch │ ├── 0018-Check-for-RTLD_LAZY-and-others-in-configure.patch │ ├── 0018-Don-t-use-RTLD_DEFAULT-on-Android-for-g_module_self.patch │ └── 0019-gmain-Fix-erroneous-if-condition-when-dtrace-is-disa.patch ├── gmp.recipe ├── gnome-js-common.recipe ├── gnustl.recipe ├── gnutls.recipe ├── gnutls │ ├── 0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch │ └── 0003-Disable-ncrypt-support.patch ├── graphene.recipe ├── graphene │ └── 0001-simd4f-Fix-a-compilation-error.patch ├── gst-android-1.0.recipe ├── gst-editing-services-1.0.recipe ├── gst-libav-1.0.recipe ├── gst-plugins-bad-1.0.recipe ├── gst-plugins-base-1.0.recipe ├── gst-plugins-good-1.0.recipe ├── gst-plugins-ugly-1.0.recipe ├── gst-rtsp-server-1.0.recipe ├── gst-shell.recipe ├── gst-transcoder.recipe ├── gst-validate.recipe ├── gstreamer-1.0-osx-framework.recipe ├── gstreamer-1.0.recipe ├── gstreamer-ios-templates.recipe ├── gtk-doc-lite.recipe ├── gtk-osx-docbook.recipe ├── harfbuzz.recipe ├── icu.recipe ├── itstool.recipe ├── javascriptcoregtk.recipe ├── javascriptcoregtk │ └── execinfo.h ├── json-glib.recipe ├── json-glib │ └── 0001-Don-t-override-our-own-ACLOCAL_FLAGS-but-append-them.patch ├── lame.recipe ├── lame │ └── 0001-Make-lame-work-with-auto-1.12.patch ├── libass.recipe ├── libass │ └── 0001-directwrite-drop-SAL-annotations.patch ├── libcroco.recipe ├── libdca.recipe ├── libdca │ └── 0001-Disable-AC_C_ALWAYS_INLINE.patch ├── libdv.recipe ├── libdv │ ├── 0001-Check-properly-for-sched_setscheduler.patch │ ├── 0003-Don-t-build-test-programs.patch │ ├── 0004-Fix-compilation-on-Android.patch │ ├── 0005-Fix-compilation-on-Windows-some-more.patch │ ├── 0006-Add-the-pthread-libs-to-pkg-config.patch │ ├── 0007-Don-t-require-libsdl-to-be-installed-for-autoreconf.patch │ ├── 0012-Build-a-DLL-on-Windows.patch │ ├── 0013-Fix-endianess-detection-with-mingw-w64.patch │ └── 0014-libdv-fix-build-of-gasmoff-after-autoreconf.patch ├── libdvdnav.recipe ├── libdvdnav │ ├── 0001-Fix-linking-in-windows-compilation.patch │ └── 0002-Build-DLLs-on-Windows.patch ├── libdvdread.recipe ├── libdvdread │ ├── 0001-Fix-compilation-on-Windows-by-including-files-with-t.patch │ └── 0002-Build-DLLs-on-Windows.patch ├── libffi.recipe ├── libffi │ └── 0001-libffi-Don-t-be-smart-about-toolexeclibdir.patch ├── libiconv.recipe ├── libiconv │ ├── 0001-Use-correct-autotools-versions.patch │ ├── 0002-Add-support-for-Android.patch │ ├── 0003-stdint-fix-build-with-Android-s-Bionic-fox-x86.patch │ └── 0004-lib-Only-rename-locale_charset-for-libiconv-not-libc.patch ├── libjpeg-turbo.recipe ├── libjpeg-turbo │ └── 0001-Include-limits.h-for-SIZE_MAX.patch ├── libkate.recipe ├── libkate │ └── 0001-be-more-permissive-with-automake-errors-now-that-we-.patch ├── libmad │ ├── 0001-Delete-invalid-compile-option.patch │ ├── 0002-fix-autoreconf.patch │ ├── 0003-ARM-Fix-build-without-the-Thumb-mode.patch │ └── 0004-Remove-clang-unsupported-compiler-flags.patch ├── libmms.recipe ├── libmms │ ├── 0001-Use-native-iconv-in-windows.patch │ ├── 0002-uri-Add-implementation-of-strndup-for-platforms-that.patch │ └── 0005-Fix-build-on-OSX-leopard.patch ├── libmpeg2.recipe ├── libmpeg2 │ ├── 0001-Disable-AC_C_ALWAYS_INLINE.patch │ └── 0002-Import-revision-1206-from-upstream-to-fix-PIE-build.patch ├── libnice.recipe ├── libnice │ ├── 0001-TURN-allow-REALM-to-be-empty.patch │ ├── 0001-agent-Remove-unnecessary-NULL-check.patch │ ├── 0001-nicesrc-spin-the-agent-mainloop-in-a-separate-thread.patch │ ├── 0002-Do-not-update-a-remote-candidate-s-type.patch │ ├── 0002-TURN-handle-437-Allocation-Mismatch-responses.patch │ ├── 0003-Do-not-compare-scope-for-IPv6-address-when-scope-is-.patch │ └── 0004-Removing-no-op-assignment.patch ├── libogg.recipe ├── libogg │ └── 0001-Fix-iOS-build.patch ├── libpng │ ├── 0001-neon-fix-function-export-names-for-iOS-armv7.patch │ └── libpng.recipe ├── librsvg.recipe ├── librsvg │ ├── 0001-Use-ACLOCAL_FLAGS.patch │ └── option-enable-disable-gtk.patch ├── librtmp │ ├── 0001-Fix-support-for-cross-compilation.patch │ └── librtmp.recipe ├── libshout.recipe ├── libsoup.recipe ├── libsoup │ ├── 0001-Rip-out-sqlite-based-cookie-storage.patch │ └── 0002-Don-t-build-tests.patch ├── libsrtp.recipe ├── libsrtp │ └── 0001-Don-t-create-a-symlink-if-there-is-no-SHAREDLIBVERSI.patch ├── libtasn1.recipe ├── libtasn1 │ └── 0001-Rename-gnulib-symbols.patch ├── libtheora.recipe ├── libtheora │ ├── 0001-Add-option-to-disable-doc.patch │ ├── 0002-Update-makefiles.patch │ ├── 0003-Fix-linking-of-theora-encoder-library.patch │ ├── 0004-Use-our-automake-version-and-not-an-older-one.patch │ ├── 0005-Update-Makefile.in-too-to-avoid-needing-to-call-auto.patch │ ├── 0006-examples-Don-t-use-png_sizeof.patch │ └── 0007-Don-t-use-fforce-addr.patch ├── libunwind.recipe ├── libusrsctp.recipe ├── libusrsctp │ ├── ifaddrs.c │ └── ifaddrs.h ├── libvisual.recipe ├── libvisual │ ├── 0001-Check-properly-for-sched_setshceduler.patch │ ├── 0003-Add-long-long-check-for-win64.patch │ ├── 0005-Fix-compilation-in-win64.patch │ ├── 0006-Fix-build-in-PPC.patch │ ├── 0007-Fix-build-on-debian-squeeze.patch │ ├── 0008-Remove-malloc-realloc-configure-checks-they-re-broke.patch │ ├── 0009-Fix-build-for-Android-X86.patch │ ├── 0010-Only-define-inline-and-friends-if-they-re-not-define.patch │ ├── 0011-Fix-autoreconf-when-using-our-gettext-version.patch │ ├── 0012-configure-gettext-0.18-is-enough-no-0.18.2-needed.patch │ ├── 0013-Include-lv_cpu.h-for-visual_cpu_initialize.patch │ ├── 0014-Add-forward-declaration-of-visual_transform_init-as-.patch │ ├── 0015-Include-lv_cpu.h-in-another-place-too.patch │ └── 0016-configure.ac-Use-gettext-0.19.patch ├── libvorbis.recipe ├── libvorbis │ ├── 0001-Fix-linking-on-Android.patch │ ├── 0003-Link-the-other-libs-with-lm-too.patch │ ├── 0004-configure-check-for-endianness.patch │ ├── 0005-darwin-do-not-build-for-a-generic-arm-architecture.patch │ ├── 0006-Use-our-version-of-automake-instead-of-some-random-o.patch │ └── 0007-autogen.sh-Make-sure-libtoolize-runs-fully.patch ├── libvpx.recipe ├── libvpx │ ├── 0001-build-Fix-the-min-version-flag-for-iOS-simulator-bui.patch │ ├── 0002-Include-Android-cpu-features.c-instead-of-.h.patch │ ├── 0003-configure-Add-back-the-armv5te-android-gcc-target.patch │ ├── 0004-build-Remove-broken-custom-android-toolchain-usage.patch │ ├── 0005-configure-Add-Android-ARM64-support.patch │ └── 0006-Don-t-embed-bitcode-on-iOS-until-we-support-that-pro.patch ├── libxml2.recipe ├── libxml2 │ ├── 0001-Enable-windows-cross-compilation.patch │ ├── 0002-makefiles-disable-tests.patch │ └── 0003-configure-fix-python-dir-prefix.patch ├── mingw-runtime.recipe ├── mpg123.recipe ├── mpg123 │ └── 0001-Disable-tools-and-libout123-library.patch ├── nettle │ ├── 0001-ios-fix-build-using-.word-for-assembly-constants.patch │ └── nettle.recipe ├── opencore-amr.recipe ├── opencore-amr │ └── 0001-Fix-include-dir-in-pc-files.patch ├── openh264.recipe ├── openh264 │ ├── 0001-Add-version-suffix.patch │ └── 0002-Remove-fembed-bitcode-for-iOS-build.patch ├── openjpeg.recipe ├── openjpeg │ ├── 0001-Build-shared-and-static-library.patch │ └── 0002-Set-INSTALL_NAME_DIR.patch ├── openssl.recipe ├── openssl │ └── 0001-Make-it-possible-to-only-install-libs.patch ├── openwebrtc-girepository.recipe ├── openwebrtc-girepository │ └── disable-python-checks.patch ├── openwebrtc-gst-plugins.recipe ├── openwebrtc-osx-framework.recipe ├── openwebrtc.recipe ├── openwebrtc │ └── Makefile.bundled-shared ├── opus.recipe ├── orc.recipe ├── pango.recipe ├── pixman.recipe ├── pixman │ ├── 0001-Fix-build-on-Android.patch │ └── 0002-Enable-CPU-detection-on-Android.patch ├── sbc.recipe ├── sbc │ ├── 0001-sbc-Use-stdint.h.patch │ └── 0002-Don-t-use-NEON-with-aarch64-on-Clang.patch ├── seed.recipe ├── seed │ └── javascriptcore-osx-ios.pc.patch ├── soundtouch.recipe ├── soundtouch │ ├── 0001-Add-dummy-file-to-make-sure-config-m4-exists.patch │ ├── 0002-Use-STLPORT-on-Android.patch │ ├── 0003-Don-t-build-soundstretch.patch │ ├── 0004-Use-gnustl.patch │ ├── 0005-Fix-soundstretch-linking.patch │ ├── 0006-Fix-pkg-config-file.patch │ ├── 0007-Make-it-compile-on-IOS.patch │ ├── 0008-Fix-compilation-with-clang.patch │ └── 0010-Try-harder-to-generate-Win32-DLLs.patch ├── spandsp.recipe ├── spandsp │ ├── 0001-Don-t-do-a-whereis-which-dance-to-find-which.patch │ ├── 0001-Fix-build-for-windows-using-mingw.patch │ ├── 0001-spandsp-do-not-compile-has_X86FEATURE-symbols.patch │ ├── 0002-Define-LIBSPANDSP_EXPORTS-when-building-the-spandsp-.patch │ └── 0003-Use-BUILT_SOURCES-to-generate-extra-headers.patch ├── speex.recipe ├── taglib.recipe ├── taglib │ ├── 0001-Link-with-correct-STL-on-Android.patch │ └── 0002-Build-a-static-and-non-static-version.patch ├── tiff.recipe ├── tinyalsa.recipe ├── toolchain │ ├── all.recipe │ ├── binutils.recipe │ ├── cloog.recipe │ ├── gcc-core.recipe │ ├── gcc.recipe │ ├── gendef.recipe │ ├── gmp.recipe │ ├── mingw-w64-headers.recipe │ ├── mingw-w64.recipe │ ├── mpc.recipe │ ├── mpfr.recipe │ └── winpthreads.recipe ├── tremor.recipe ├── tremor │ ├── 0001-Prevent-symbol-conflicts.patch │ ├── 0002-Try-fixing-shared-build.patch │ ├── 0003-Map-remaining-symbol-too.patch │ ├── 0004-Fix-build-with-the-Android-NDK-for-x86.patch │ ├── 0005-configure-check-for-machine-endianness.patch │ ├── 0006-tremor-floor-mapping-residue-function-renaming.patch │ ├── 0007-tremor-more-function-renaming.patch │ └── 0008-fix-more-duplicated-symbols.patch ├── vo-aacenc.recipe ├── vsintegration-1.0.recipe ├── wavpack.recipe ├── webrtc-audio-processing.recipe ├── webrtc-audio-processing │ ├── 0000-Add-fix_interlocked_exchange_pointer_win.h.patch │ ├── 0000-Add-sal.h-as-it-s-missing-in-cerbero-mingw.patch │ ├── 0001-build-enforce-linking-with-no-undefined-add-explicit.patch │ ├── 0002-build-Make-sure-files-with-SSE2-code-are-compiled-wi.patch │ ├── 0003-Don-t-include-execinfo.h-for-windows.patch │ ├── 0004-Don-t-use-MSVC-specific-exception-handler-for-MINGW.patch │ ├── 0005-Add-missing-throw-in-destructor-override.patch │ ├── 0006-lrint-is-available-with-mingw.patch │ ├── 0007-Fix-case-sensitivity-issue-with-MinGW-cross-build.patch │ ├── 0008-Add-missing-windows-specific-headers.patch │ ├── 0009-Fix-build-on-win64.patch │ ├── 0010-Add-cerbero-gnustl-support-for-Android.patch │ ├── 0011-Disable-backtrace-on-android.patch │ ├── 0012-Don-t-blindly-link-to-pthread.patch │ ├── 0013-Add-required-define-for-Windows.patch │ ├── 0014-Properly-select-the-right-system-wrappers.patch │ ├── 0015-Fix-case-sensitivity-in-windows-include.patch │ ├── 0016-Define-MSVC-_WIN32-so-we-can-build-on-mingw.patch │ ├── 0017-Add-missing-windows-conditions-variable.patch │ ├── 0018-Protect-against-unsupported-CPU-types.patch │ ├── 0019-osx-Fix-type-OS_FLAGS-instead-of-OS_CFLAGS.patch │ ├── 0020-Sync-defines-and-libs-with-build.gn.patch │ ├── 0021-Use-no-undefined-to-support-both-clang-and-gcc.patch │ ├── 0022-Re-add-pthread-linking-on-linux.patch │ └── 0023-Add-ARM-64bit-support.patch ├── winpthreads-runtime.recipe ├── x264.recipe ├── zlib.recipe └── zlib │ └── 0001-win32-fix-dll-name.patch ├── setup.py ├── test ├── __init__.py ├── pkgconfig │ ├── glib-2.0.pc │ ├── gmodule-2.0.pc │ ├── gmodule-no-export-2.0.pc │ ├── gobject-2.0.pc │ ├── gstreamer-0.10.pc │ ├── gthread-2.0.pc │ └── libxml-2.0.pc ├── test_build_common.py ├── test_cerbero_build_build.py ├── test_cerbero_build_cookbook.py ├── test_cerbero_build_filesprovider.py ├── test_cerbero_build_recipe.py ├── test_cerbero_config.py ├── test_cerbero_ide_pkgconfig.py ├── test_cerbero_ide_xcode_xcconfig.py ├── test_cerbero_packages_disttarball.py ├── test_cerbero_packages_linux.py ├── test_cerbero_packages_osx_info_plist.py ├── test_cerbero_packages_package.py ├── test_cerbero_packages_packagemaker.py ├── test_cerbero_packages_packagesstore.py ├── test_cerbero_packages_pmdoc.py ├── test_cerbero_packages_wix.py ├── test_cerbero_tools_osxuniversalgenerator.py ├── test_common.py └── test_packages_common.py ├── tools ├── bootstrap-debian.sh ├── bootstrap-redhat.sh ├── build-toolchains.sh ├── cerbero.cbc.template ├── certdata2pem.py ├── chroot.sh └── show-coverage.py └── update-gst.sh /.gitignore: -------------------------------------------------------------------------------- 1 | *pyc 2 | _trial_temp 3 | /build 4 | *.swp 5 | cerbero.egg-info 6 | /dist 7 | MANIFEST.in 8 | *.pkg 9 | *.dmg 10 | .DS_Store 11 | *.msm 12 | *.msi 13 | *.zip 14 | *.rpm 15 | *~ 16 | *.wsx 17 | *.wixobj 18 | -------------------------------------------------------------------------------- /MANIFEST.in.in: -------------------------------------------------------------------------------- 1 | include MANIFEST.in.in 2 | include LICENSE.LGPL 3 | include Makefile 4 | include cerbero-uninstalled 5 | recursive-include test/pkgconfig * 6 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | ifdef PREFIX 2 | PREFIX_ARGS='--prefix=$(PREFIX)' 3 | else 4 | PREFIX_ARGS= 5 | endif 6 | 7 | all: 8 | python setup.py build 9 | 10 | install: 11 | python setup.py install $(PREFIX_ARGS) 12 | 13 | dist-tarball: 14 | python setup.py sdist --formats=bztar 15 | 16 | check-pep8: 17 | find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --ignore=E128 --repeat 18 | 19 | check: 20 | PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test 21 | make check-pep8 22 | 23 | coverage: 24 | rm -rf _trial_temp 25 | PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial --coverage test 26 | make show-coverage 27 | 28 | show-coverage: 29 | python tools/show-coverage.py _trial_temp/coverage/cerbero.* 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenWebRTC fork of cerbero 2 | 3 | ## How do I use this? 4 | 5 | [Using this cerbero fork to build OpenWebRTC](https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC) 6 | 7 | ## What is cerbero? 8 | 9 | [cerbero](http://cgit.freedesktop.org/gstreamer/cerbero/) is a build system 10 | written by GStreamer developers to build all GStreamer dependencies, GStreamer 11 | itself and package it up into nice platform-specific SDK-like binary files. 12 | 13 | ## Why a fork? 14 | 15 | OpenWebRTC needs some extra dependencies that are not desirable to have in 16 | upstream cerbero. OpenWebRTC also needs some bits and pieces built in specific 17 | ways to meet our needs. 18 | 19 | We like collaboration and hope the use of cerbero to build OpenWebRTC will be 20 | mutually beneficial. *All real cerbero changes are being submitted upstream!* 21 | -------------------------------------------------------------------------------- /cerbero-uninstalled: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import sys 3 | import os 4 | 5 | os.environ['CERBERO_UNINSTALLED']='1' 6 | sys.path.insert(0, os.path.dirname(__file__)) 7 | 8 | from cerbero.main import main 9 | main() 10 | -------------------------------------------------------------------------------- /cerbero/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/bootstrap/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | 19 | 20 | class BootstrapperBase (object): 21 | 22 | def __init__(self, config): 23 | self.config = config 24 | 25 | def start(self): 26 | raise NotImplemented("'start' must be implemented by subclasses") 27 | -------------------------------------------------------------------------------- /cerbero/build/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/ide/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/ide/vs/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/ide/xcode/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/packages/osx/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /cerbero/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /config/build-tools.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | prefix = os.path.join(home_dir, 'build-tools') 4 | sources = os.path.join(home_dir, 'sources', 'build-tools') 5 | cache_file = 'build-tools.cache' 6 | -------------------------------------------------------------------------------- /config/cross-android-arm64.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_LOLLIPOP 7 | target_arch = Architecture.ARM64 8 | 9 | #variants = ['nodebug'] 10 | -------------------------------------------------------------------------------- /config/cross-android-armv7.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_GINGERBREAD 7 | target_arch = Architecture.ARMv7 8 | 9 | #variants = ['nodebug'] 10 | -------------------------------------------------------------------------------- /config/cross-android-universal.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_GINGERBREAD 7 | target_arch = Architecture.UNIVERSAL 8 | 9 | universal_archs = { 10 | # Path is relative to this file 11 | Architecture.ARM: "cross-android.cbc", 12 | Architecture.ARMv7: "cross-android-armv7.cbc", 13 | Architecture.ARM64: "cross-android-arm64.cbc", 14 | Architecture.X86: "cross-android-x86.cbc", 15 | Architecture.X86_64: "cross-android-x86-64.cbc", 16 | } 17 | 18 | #variants = ['nodebug'] 19 | allow_parallel_build = True 20 | -------------------------------------------------------------------------------- /config/cross-android-x86-64.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_LOLLIPOP 7 | target_arch = Architecture.X86_64 8 | 9 | #variants = ['nodebug'] 10 | -------------------------------------------------------------------------------- /config/cross-android-x86.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_GINGERBREAD 7 | target_arch = Architecture.X86 8 | 9 | #variants = ['nodebug'] 10 | -------------------------------------------------------------------------------- /config/cross-android.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.ANDROID 5 | target_distro = Distro.ANDROID 6 | target_distro_version = DistroVersion.ANDROID_GINGERBREAD 7 | target_arch = Architecture.ARM 8 | 9 | #variants = ['nodebug'] 10 | allow_parallel_build = True 11 | -------------------------------------------------------------------------------- /config/cross-ios-arm64.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.ARM64 5 | target_distro=Distro.IOS 6 | -------------------------------------------------------------------------------- /config/cross-ios-arm7.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.ARMv7 5 | target_distro=Distro.IOS 6 | -------------------------------------------------------------------------------- /config/cross-ios-arm7s.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.ARMv7S 5 | target_distro=Distro.IOS 6 | -------------------------------------------------------------------------------- /config/cross-ios-universal.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.UNIVERSAL 5 | target_distro=Distro.IOS 6 | universal_archs=[Architecture.ARMv7, Architecture.X86, Architecture.ARMv7S, Architecture.ARM64, Architecture.X86_64] 7 | -------------------------------------------------------------------------------- /config/cross-ios-x86-64.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.X86_64 5 | target_distro=Distro.IOS 6 | -------------------------------------------------------------------------------- /config/cross-ios-x86.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 2 | 3 | target_platform=Platform.IOS 4 | target_arch=Architecture.X86 5 | target_distro=Distro.IOS 6 | -------------------------------------------------------------------------------- /config/cross-lin-arm.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform = Platform.LINUX 5 | target_distro = Distro.DEBIAN 6 | target_arch = Architecture.ARMv7 7 | variants = ['noalsa', 'nox11', 'nopulse', 'nocdparanoia', 'nosdl', 8 | 'nov4l2', 'notestspackage', 'nopython'] 9 | -------------------------------------------------------------------------------- /config/cross-lin-x86.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Architecture 3 | 4 | target_arch=Architecture.X86 5 | -------------------------------------------------------------------------------- /config/cross-win32.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform=Platform.WINDOWS 5 | target_arch=Architecture.X86 6 | target_distro=Distro.WINDOWS 7 | target_distro_version=DistroVersion.WINDOWS_7 8 | build = 'x86_64-pc-linux' 9 | -------------------------------------------------------------------------------- /config/cross-win64.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform=Platform.WINDOWS 5 | target_arch=Architecture.X86_64 6 | target_distro=Distro.WINDOWS 7 | target_distro_version=DistroVersion.WINDOWS_7 8 | build = 'x86_64-pc-linux' 9 | -------------------------------------------------------------------------------- /config/linux.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro 3 | 4 | packages_prefix = 'openwebrtc' 5 | packager = 'OpenWebRTC ' 6 | prefix = "/opt/openwebrtc-0.3" 7 | 8 | # Uncomment to allow parallel builds 9 | # allow_parallel_build = True 10 | 11 | # Uncomment this to allow cross-building for another architecture 12 | # target_arch = Architecture.X86_64 13 | -------------------------------------------------------------------------------- /config/mingw-w32-lin.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_arch=Architecture.X86 5 | cache_file='mingw-w32-lin' 6 | prefix=os.path.expanduser('~/mingw/linux/w32') 7 | sources=os.path.join(home_dir, 'sources', 'mingw-w32-lin') 8 | recipes_dir = os.path.join(recipes_dir, 'toolchain') 9 | host = '' 10 | -------------------------------------------------------------------------------- /config/mingw-w32-win.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform=Platform.WINDOWS 5 | target_distro=Distro.WINDOWS 6 | target_distro_version=DistroVersion.WINDOWS_7 7 | target_arch=Architecture.X86 8 | cache_file='mingw-w32-win' 9 | prefix=os.path.expanduser('~/mingw/windows/w32') 10 | sources=os.path.join(home_dir, 'sources', 'mingw-w32-win') 11 | toolchain_prefix=os.path.expanduser('~/mingw/linux/w32/') 12 | recipes_dir = os.path.join(recipes_dir, 'toolchain') 13 | build='x86_64-pc-linux-gnu' 14 | -------------------------------------------------------------------------------- /config/mingw-w64-lin.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_arch=Architecture.X86_64 5 | cache_file='mingw-w64-lin' 6 | prefix=os.path.expanduser('~/mingw/linux/w64') 7 | sources=os.path.join(home_dir, 'sources', 'mingw-w64-lin') 8 | recipes_dir = os.path.join(recipes_dir, 'toolchain') 9 | -------------------------------------------------------------------------------- /config/mingw-w64-win.cbc: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | target_platform=Platform.WINDOWS 5 | target_distro=Distro.WINDOWS 6 | target_distro_version=DistroVersion.WINDOWS_7 7 | target_arch=Architecture.X86_64 8 | cache_file='mingw-w64-win' 9 | prefix=os.path.expanduser('~/mingw/windows/w64') 10 | sources=os.path.join(home_dir, 'sources', 'mingw-w64-win') 11 | toolchain_prefix=os.path.expanduser('~/mingw/linux/w64/') 12 | recipes_dir = os.path.join(recipes_dir, 'toolchain') 13 | build='x86_64-pc-linux-gnu' 14 | -------------------------------------------------------------------------------- /config/osx-universal.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Architecture 2 | 3 | target_arch=Architecture.UNIVERSAL 4 | prefix='/Library/Frameworks/GStreamer.framework/Versions/1.0' 5 | 6 | -------------------------------------------------------------------------------- /config/osx-x86-64.cbc: -------------------------------------------------------------------------------- 1 | from cerbero.config import Architecture 2 | 3 | target_arch=Architecture.X86_64 4 | prefix='/Library/Frameworks/OpenWebRTC.framework/Versions/0.3' 5 | 6 | -------------------------------------------------------------------------------- /config/win32.cbc: -------------------------------------------------------------------------------- 1 | prefix='c:/gstreamer/1.0/x86' 2 | from cerbero.config import Architecture 3 | target_arch = Architecture.X86 4 | -------------------------------------------------------------------------------- /config/win64.cbc: -------------------------------------------------------------------------------- 1 | prefix='c:/gstreamer/1.0/x86_64' 2 | from cerbero.config import Architecture 3 | arch = Architecture.X86_64 4 | target_arch = Architecture.X86_64 5 | -------------------------------------------------------------------------------- /create_tarball.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | if [ $# -eq 0 -o $# -gt 1 ]; then 4 | echo "$0: Creates a tarball of cerbero and cerbero/sources/local" 5 | echo "Usage:" 6 | echo "$0 " 7 | echo "This results in .tar.bz2" 8 | exit 0 9 | fi 10 | 11 | FILENAME=$1 12 | 13 | if [ "$(uname)" = "Darwin" ]; then 14 | TRANSFORM="-s ,^sources,$FILENAME/cerbero/sources," 15 | elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then 16 | TRANSFORM="--transform=s,^sources,$FILENAME/cerbero/sources," 17 | else 18 | echo "ERROR: Unsupported host platform" 19 | exit 1 20 | fi 21 | 22 | git archive -v --format=tar --prefix=$FILENAME/cerbero/ HEAD > $FILENAME.tar && \ 23 | tar rvf $FILENAME.tar $TRANSFORM sources/local/ && \ 24 | bzip2 $FILENAME.tar 25 | -------------------------------------------------------------------------------- /data/ndk-build/fontconfig/fonts/Ubuntu-R.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/fontconfig/fonts/Ubuntu-R.ttf -------------------------------------------------------------------------------- /data/ndk-build/tools/windows/libiconv2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/tools/windows/libiconv2.dll -------------------------------------------------------------------------------- /data/ndk-build/tools/windows/libintl3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/tools/windows/libintl3.dll -------------------------------------------------------------------------------- /data/ndk-build/tools/windows/pkg-config.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/tools/windows/pkg-config.exe -------------------------------------------------------------------------------- /data/ndk-build/tools/windows/regex2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/tools/windows/regex2.dll -------------------------------------------------------------------------------- /data/ndk-build/tools/windows/sed.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/ndk-build/tools/windows/sed.exe -------------------------------------------------------------------------------- /data/vs-1.0/msvc/common.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | WINVER=0x0501;WIN32;_WINDOWS;_USRDLL;HAVE_WIN32 11 | 12 | 13 | true 14 | 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /data/vs-1.0/msvc/config.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | C:\WinDDK\7600.16385.1 6 | 7 | 8 | 9 | 10 | 11 | $(WINDOWS_DRIVER_KIT) 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /data/vs-1.0/msvc/release.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | true 7 | 8 | 9 | 10 | NDEBUG;%(PreprocessorDefinitions) 11 | MinSpace 12 | Speed 13 | true 14 | true 15 | 16 | 17 | true 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /data/vs-1.0/msvc/x86.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | WIN32;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /data/vs-1.0/msvc/x86_64.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | WIN64;_WIN64_WINNT=0x0501;%(PreprocessorDefinitions) 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /data/vs-1.0/wizard/gst-sdk-template.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/vs-1.0/wizard/gst-sdk-template.ico -------------------------------------------------------------------------------- /data/vs-1.0/wizard/gst-sdk-template.vsdir: -------------------------------------------------------------------------------- 1 | gst-template.vsz| |GStreamer Project|1|Create GStreamer projects easily.| |6777| |GstProject 2 | -------------------------------------------------------------------------------- /data/vs-1.0/wizard/gst-sdk-template.vsz: -------------------------------------------------------------------------------- 1 | VSWIZARD 7.0 2 | Wizard=VsWizard.VsWizardEngine.10.0 3 | 4 | Param="WIZARD_NAME = gst-template" 5 | Param="RELATIVE_PATH = VCWizards" 6 | Param="FALLBACK_LCID = 1033" 7 | Param="WIZARD_UI = FALSE" 8 | Param="SOURCE_FILTER = txt" 9 | -------------------------------------------------------------------------------- /data/vs/msvc/common.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | WINVER=0x0501;WIN32;_WINDOWS;_USRDLL;HAVE_WIN32 11 | 12 | 13 | true 14 | 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /data/vs/msvc/config.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | C:\WinDDK\7600.16385.1 6 | 7 | 8 | 9 | 10 | 11 | $(WINDOWS_DRIVER_KIT) 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /data/vs/msvc/release.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | true 7 | 8 | 9 | 10 | NDEBUG;%(PreprocessorDefinitions) 11 | MinSpace 12 | Speed 13 | true 14 | true 15 | 16 | 17 | true 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /data/vs/msvc/x86.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | WIN32;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /data/vs/msvc/x86_64.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | WIN64;_WIN64_WINNT=0x0501;%(PreprocessorDefinitions) 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /data/vs/wizard/gst-sdk-template.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/vs/wizard/gst-sdk-template.ico -------------------------------------------------------------------------------- /data/vs/wizard/gst-sdk-template.vsdir: -------------------------------------------------------------------------------- 1 | gst-sdk-template.vsz| |GStreamer Project|1|Create GStreamer projects easily.| |6777| |GstProject 2 | -------------------------------------------------------------------------------- /data/vs/wizard/gst-sdk-template.vsz: -------------------------------------------------------------------------------- 1 | VSWIZARD 7.0 2 | Wizard=VsWizard.VsWizardEngine.10.0 3 | 4 | Param="WIZARD_NAME = gst-sdk-template" 5 | Param="RELATIVE_PATH = VCWizards" 6 | Param="FALLBACK_LCID = 1033" 7 | Param="WIZARD_UI = FALSE" 8 | Param="SOURCE_FILTER = txt" 9 | -------------------------------------------------------------------------------- /data/wix/Config.wxi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /data/wix/properties.wxi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Base.xctemplate/fontconfig/fonts/Ubuntu-R.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/data/xcode/templates/ios/GStreamer Base.xctemplate/fontconfig/fonts/Ubuntu-R.ttf -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.h: -------------------------------------------------------------------------------- 1 | #ifndef __GST_IOS_INIT_H__ 2 | #define __GST_IOS_INIT_H__ 3 | 4 | #include 5 | 6 | G_BEGIN_DECLS 7 | 8 | #define GST_G_IO_MODULE_DECLARE(name) \ 9 | extern void G_PASTE(g_io_module_, G_PASTE(name, _load_static)) (void) 10 | 11 | #define GST_G_IO_MODULE_LOAD(name) \ 12 | G_PASTE(g_io_module_, G_PASTE(name, _load_static)) () 13 | 14 | /* Uncomment each line to enable the plugin categories that your application needs. 15 | * You can also enable individual plugins. See gst_ios_init.c to see their names 16 | */ 17 | 18 | @GST_IOS_PLUGINS_CATEGORIES@ 19 | 20 | //#define GST_IOS_GIO_MODULE_GNUTLS 21 | 22 | void gst_ios_init (); 23 | 24 | G_END_DECLS 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Base.xctemplate/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | #include "gst_ios_init.h" 5 | 6 | int main(int argc, char *argv[]) 7 | { 8 | @autoreleasepool { 9 | gst_ios_init(); 10 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Empty Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.emptyApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for any application. It provides just an application delegate and a window. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.emptyApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Master-Detail Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.masterDetailApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for a master-detail application. It provides a user interface configured with a navigation controller to display a list of items and also a split view on iPad. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.masterDetailApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Page-Based Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.pageBasedApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for a page-based application that uses a page view controller. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.pageBasedApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Single View Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.singleViewApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for an application that uses a single view. It provides a view controller to manage the view, and a storyboard or nib file that contains the view. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.singleViewApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Tabbed Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.tabbedApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for an application that uses a tab bar. It provides a user interface configured with a tab bar controller, and view controllers for the tab bar items. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.tabbedApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/xcode/templates/ios/GStreamer Utility Application.xctemplate/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ancestors 6 | 7 | com.apple.dt.unit.utilityApplication 8 | org.freedesktop.gstreamer.ios.templates.base 9 | 10 | 11 | Concrete 12 | 13 | Description 14 | This template provides a starting point for a utility application that has a main view and an alternate view. For iPhone, it sets up an Info button to flip the main view to the alternate view. For iPad, it sets up an Info bar button that shows the alternate view in a popover. 15 | Identifier 16 | org.freedesktop.gstreamer.ios.templates.utilityApplication 17 | Kind 18 | Xcode.Xcode3.ProjectTemplateUnitKind 19 | SortOrder 20 | 1 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /packages/base-crypto.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'base-crypto' 8 | shortdesc = 'Crypto base dependencies' 9 | longdesc = 'Crypto base dependencies' 10 | uuid = 'b3a6046d-5a39-4d54-93ee-3770d2f316f5' 11 | deps = ['base-system-1.0'] 12 | 13 | files = ['gmp:libs', 'gnutls:libs:libs_extra:lang', 14 | 'libtasn1:libs', 'nettle:libs'] 15 | 16 | platform_files_devel = { 17 | Platform.ANDROID: ['ca-certificates:etc'], 18 | Platform.IOS: ['ca-certificates:etc'], 19 | Platform.DARWIN: ['ca-certificates:etc'], 20 | Platform.WINDOWS: ['ca-certificates:etc'] 21 | } 22 | -------------------------------------------------------------------------------- /packages/custom.py: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | from cerbero.packages import package 4 | from cerbero.enums import License 5 | 6 | class GStreamer: 7 | 8 | url = "http://gstreamer.freedesktop.org" 9 | version = '1.13.0.1' 10 | vendor = 'GStreamer Project' 11 | licenses = [License.LGPL] 12 | org = 'org.freedesktop.gstreamer' 13 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-capture.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-capture' 8 | shortdesc = 'GStreamer 1.0 plugins for capture' 9 | longdesc = 'GStreamer 1.0 plugins for capture' 10 | uuid = '1c85344d-5968-4e50-959e-5cf4379e0a40' 11 | deps = ['gstreamer-1.0-core', 'gstreamer-1.0-encoding'] 12 | 13 | files = ['gst-plugins-base-1.0:plugins_capture', 14 | 'gst-plugins-good-1.0:plugins_capture', 15 | 'gst-plugins-ugly-1.0:plugins_capture', 16 | 'gst-plugins-bad-1.0:plugins_capture'] 17 | files_devel = ['gst-plugins-base-1.0:plugins_capture_devel', 18 | 'gst-plugins-good-1.0:plugins_capture_devel', 19 | 'gst-plugins-ugly-1.0:plugins_capture_devel', 20 | 'gst-plugins-bad-1.0:plugins_capture_devel'] 21 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-codecs-gpl.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-codecs-gpl' 8 | shortdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues' 9 | longdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues' 10 | uuid = 'f685219b-7ee8-46b9-af3c-338e3cbb4f94' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['libass:libs', 'fribidi:libs', 14 | 'gst-plugins-base-1.0:plugins_codecs_gpl', 15 | 'gst-plugins-good-1.0:plugins_codecs_gpl', 16 | 'gst-plugins-bad-1.0:plugins_codecs_gpl', 17 | 'gst-plugins-ugly-1.0:plugins_codecs_gpl'] 18 | files_devel = ['gst-plugins-base-1.0:plugins_codecs_gpl_devel', 19 | 'gst-plugins-good-1.0:plugins_codecs_gpl_devel', 20 | 'gst-plugins-bad-1.0:plugins_codecs_gpl_devel', 21 | 'gst-plugins-ugly-1.0:plugins_codecs_gpl_devel'] 22 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-codecs-restricted.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-codecs-restricted' 8 | shortdesc = 'GStreamer 1.0 restricted codecs with potential patent issues in some countries' 9 | longdesc = 'GStreamer 1.0 restricted codecs with potential patent issues in some countries' 10 | uuid = '0a4e77e8-3c8c-4e7d-890b-1538d36f1816' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['a52dec:libs', 'opencore-amr:libs', 'libmpeg2:libs', 'mpg123:libs', 14 | 'faad2:libs', 'libdca:libs', 'vo-aacenc:libs', 'x264:libs', 'lame:libs', 15 | 'gst-plugins-ugly-1.0:plugins_codecs_restricted', 16 | 'gst-plugins-bad-1.0:plugins_codecs_restricted'] 17 | files_devel = ['gst-plugins-ugly-1.0:plugins_codecs_restricted_devel', 18 | 'gst-plugins-bad-1.0:plugins_codecs_restricted_devel'] 19 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-core.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-core' 8 | shortdesc = 'GStreamer 1.0 core' 9 | longdesc = 'GStreamer 1.0 core' 10 | uuid = 'd9626750-e8b7-4e40-944d-98b67ed0c6bf' 11 | deps = ['base-system-1.0'] 12 | 13 | files = ['gstreamer-1.0', 'gst-plugins-base-1.0', 14 | 'gst-plugins-good-1.0', 'gst-plugins-bad-1.0', 15 | 'opus:libs', 'libvpx:libs', 'openh264:libs', 'graphene:libs', 16 | 'libsrtp:libs', 'libnice:libs', 'libnice:plugins_net'] 17 | files_devel = ['gstreamer-1.0', 'gst-plugins-base-1.0:plugins_core_devel', 18 | 'gst-plugins-good-1.0:plugins_core_devel', 'gst-plugins-bad-1.0:plugins_core_devel', 19 | 'libnice:plugins_net_devel'] 20 | 21 | def prepare(self): 22 | if self.config.variants.owr_extra_codecs: 23 | self.files += ['x264:libs', 'gst-plugins-ugly-1.0', 'gst-libav-1.0'] 24 | self.files_devel += ['gst-plugins-ugly-1.0:plugins_core_devel', 'gst-libav-1.0:plugins_core_devel'] 25 | if self.config.variants.unwind: 26 | self.files.append('libunwind:libs') 27 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-devtools.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-devtools' 8 | shortdesc = 'GStreamer 1.0 devtools' 9 | longdesc = 'GStreamer 1.0 devtools' 10 | deps = ['gstreamer-1.0-core'] 11 | 12 | files = ['gst-validate'] 13 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-dvd.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python:ft=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-dvd' 8 | shortdesc = 'GStreamer 1.0 DVD support' 9 | longdesc = 'GStreamer 1.0 DVD support' 10 | uuid = 'b92c270e-3d91-48ea-bedf-fdc01b41caba' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['libdvdnav:libs', 'libdvdread:libs', 14 | 'gst-plugins-base-1.0:plugins_dvd', 15 | 'gst-plugins-good-1.0:plugins_dvd', 16 | 'gst-plugins-ugly-1.0:plugins_dvd', 17 | 'gst-plugins-bad-1.0:plugins_dvd'] 18 | files_devel = ['gst-plugins-base-1.0:plugins_dvd_devel' 19 | 'gst-plugins-good-1.0:plugins_dvd_devel', 20 | 'gst-plugins-ugly-1.0:plugins_dvd_devel', 21 | 'gst-plugins-bad-1.0:plugins_dvd_devel'] 22 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-editing.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | name = 'gstreamer-1.0-editing' 7 | shortdesc = 'GStreamer plugins and libraries for editing' 8 | longdesc = 'GStreamer plugins and libraries for editing' 9 | uuid = '4befe092-e10a-4500-9ac9-d9c6d18072a1' 10 | deps = ['gstreamer-1.0-core', 'gstreamer-1.0-devtools'] 11 | 12 | files = ['gst-editing-services-1.0:bins:libs:typelibs:plugins_ges'] 13 | files_devel = ['gst-editing-services-1.0:plugins_ges_devel', 14 | 'gst-editing-services-1.0:devel'] 15 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-encoding.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-encoding' 8 | shortdesc = 'GStreamer 1.0 plugins for encoding' 9 | longdesc = 'GStreamer 1.0 plugins for encoding' 10 | uuid = '0c91cd49-7dd2-4b48-aa7a-3f71d17c09b4' 11 | deps = ['gstreamer-1.0-core', 'gstreamer-1.0-playback'] 12 | 13 | files = ['gst-plugins-base-1.0:plugins_encoding', 14 | 'gst-plugins-good-1.0:plugins_encoding', 15 | 'gst-plugins-ugly-1.0:plugins_encoding', 16 | 'gst-plugins-bad-1.0:plugins_encoding'] 17 | files_devel = ['gst-plugins-base-1.0:plugins_encoding_devel', 18 | 'gst-plugins-good-1.0:plugins_encoding_devel', 19 | 'gst-plugins-ugly-1.0:plugins_encoding_devel', 20 | 'gst-plugins-bad-1.0:plugins_encoding_devel'] 21 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-libav.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-libav' 8 | shortdesc = 'GStreamer 1.0 libav wrapper' 9 | longdesc = 'GStreamer 1.0 libav wrapper' 10 | uuid = '5581acc2-d38c-491b-83c9-14b7011c3c06' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['gst-libav-1.0:plugins_codecs_restricted'] 14 | files_devel = ['gst-libav-1.0:plugins_codecs_restricted_devel'] 15 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-net-restricted.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python:ft=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-net-restricted' 8 | shortdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries' 9 | longdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries' 10 | org = 'org.freedesktop.gstreamer' 11 | uuid = '8cf57a89-3ba3-4db0-8b66-15e79b541ffe' 12 | deps = ['gstreamer-1.0-core', 'base-crypto'] 13 | 14 | files = ['libmms:libs', 'librtmp:libs', 15 | 'gst-plugins-ugly-1.0:plugins_net_restricted', 16 | 'gst-plugins-bad-1.0:plugins_net_restricted'] 17 | files_devel = ['gst-plugins-ugly-1.0:plugins_net_restricted_devel', 18 | 'gst-plugins-bad-1.0:plugins_net_restricted_devel'] 19 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-playback.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-playback' 8 | shortdesc = 'GStreamer 1.0 plugins for playback' 9 | longdesc = 'GStreamer 1.0 plugins for playback' 10 | uuid = '74bc4aad-2463-4be5-9a8b-41d132fa7bd5' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['gst-plugins-base-1.0:plugins_playback', 14 | 'gst-plugins-good-1.0:plugins_playback', 15 | 'gst-plugins-ugly-1.0:plugins_playback', 16 | 'gst-plugins-bad-1.0:plugins_playback'] 17 | files_devel = ['gst-plugins-base-1.0:plugins_playback_devel', 18 | 'gst-plugins-good-1.0:plugins_playback_devel', 19 | 'gst-plugins-ugly-1.0:plugins_playback_devel', 20 | 'gst-plugins-bad-1.0:plugins_playback_devel'] 21 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-system.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-system' 8 | shortdesc = 'GStreamer 1.0 system plugins' 9 | longdesc = 'GStreamer 1.0 system plugins' 10 | uuid = 'fe9b6b9e-0817-4a2f-9838-44e1d9377435' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['gst-plugins-base-1.0:plugins_sys', 'gst-plugins-good-1.0:plugins_sys', 14 | 'gst-plugins-ugly-1.0:plugins_sys', 'gst-plugins-bad-1.0:plugins_sys', 15 | 'graphene:libs'] 16 | files_devel = ['gst-plugins-base-1.0:plugins_sys_devel', 17 | 'gst-plugins-good-1.0:plugins_sys_devel', 18 | 'gst-plugins-ugly-1.0:plugins_sys_devel', 19 | 'gst-plugins-bad-1.0:plugins_sys_devel'] 20 | 21 | def prepare(self): 22 | if self.config.variants.cdparanoia: 23 | self.files += ['cdparanoia:libs'] 24 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-visualizers.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'gstreamer-1.0-visualizers' 8 | shortdesc = 'GStreamer 1.0 visualization plugins' 9 | longdesc = 'GStreamer 1.0 visualization plugins' 10 | uuid = 'b8800fa1-44bb-4a95-87e1-6814cdc62ec3' 11 | deps = ['gstreamer-1.0-core'] 12 | 13 | files = ['libvisual', 'gst-plugins-base-1.0:plugins_vis', 'gst-plugins-good-1.0:plugins_vis', 14 | 'gst-plugins-ugly-1.0:plugins_vis', 'gst-plugins-bad-1.0:plugins_vis'] 15 | files_devel = ['gst-plugins-base-1.0:plugins_vis_devel', 16 | 'gst-plugins-good-1.0:plugins_vis_devel', 17 | 'gst-plugins-ugly-1.0:plugins_vis_devel', 18 | 'gst-plugins-bad-1.0:plugins_vis_devel'] 19 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0-vs-templates.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | from cerbero.packages.wix import VSTemplatePackage 4 | 5 | 6 | class Package(custom.GStreamer, VSTemplatePackage): 7 | 8 | name = 'gstreamer-1.0-vs-templates' 9 | shortdesc = 'GStreamer 1.0 VS templates' 10 | longdesc = 'GStreamer 1.0 Visual Studio templates' 11 | uuid = '42b3ba90-bd6a-4d94-a40d-5f2adf7ce441' 12 | vs_template_dir = 'share/vs/2010/gst-sdk-template' 13 | vs_wizard_dir = 'share/vs/2010/wizard' 14 | vs_template_name = 'GStreamer' 15 | -------------------------------------------------------------------------------- /packages/gstreamer-1.0/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/packages/gstreamer-1.0/background.png -------------------------------------------------------------------------------- /packages/gstreamer-1.0/banner.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/packages/gstreamer-1.0/banner.bmp -------------------------------------------------------------------------------- /packages/gstreamer-1.0/dialog.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/packages/gstreamer-1.0/dialog.bmp -------------------------------------------------------------------------------- /packages/gstreamer-1.0/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EricssonResearch/cerbero/1102b08f787ad13267302d0e78462296586788f9/packages/gstreamer-1.0/icon.ico -------------------------------------------------------------------------------- /packages/gstreamer-1.0/post_install_ios: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mkdir -p ~/Library/Developer/Xcode/Templates/ 4 | cp -r ~/Library/Developer/GStreamer/iPhone.sdk/Templates/* ~/Library/Developer/Xcode/Templates/ 5 | -------------------------------------------------------------------------------- /packages/vsintegration-1.0.package: -------------------------------------------------------------------------------- 1 | # vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | # -*- Mode: Python -*- 3 | 4 | 5 | class Package(custom.GStreamer, package.Package): 6 | 7 | name = 'vsintegration-1.0' 8 | shortdesc = 'Visual Studio Integration' 9 | longdesc = 'Visual Studio Integration' 10 | uuid = '0d032a12-05b0-42a3-9b79-6b31d070dfca' 11 | 12 | files = ['vsintegration-1.0'] 13 | -------------------------------------------------------------------------------- /recipes/a52dec.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'a52dec' 5 | version = '0.7.4' 6 | stype = SourceType.TARBALL 7 | url = 'http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz' 8 | licenses = [License.GPLv2Plus] 9 | configure_options = '--with-pic --enable-shared' 10 | autoreconf = True 11 | patches = ['a52dec/0002-Fix-link-cross-compiling-to-x86-in-darwin-platforms.patch', 12 | 'a52dec/0003-Disable-AC_C_ALWAYS_INLINE.patch', 13 | 'a52dec/0004-configure-let-us-decide-if-we-really-want-PIC-or-not.patch'] 14 | 15 | files_libs = ['liba52'] 16 | files_bins = ['a52dec'] 17 | files_devel = ['include/a52dec'] 18 | 19 | def prepare(self): 20 | if self.config.target_platform == Platform.ANDROID: 21 | self.configure_options += ' --disable-oss' 22 | 23 | self.append_env['CFLAGS'] = " -fPIC " 24 | -------------------------------------------------------------------------------- /recipes/a52dec/0003-Disable-AC_C_ALWAYS_INLINE.patch: -------------------------------------------------------------------------------- 1 | From 0bcb55806e3964086e0eeabcef79dbc005ad8953 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 23 Sep 2013 12:34:10 +0200 4 | Subject: [PATCH 3/4] Disable AC_C_ALWAYS_INLINE 5 | 6 | It causes errors with the new Xcode 5.0 toolchain and is not necessarily 7 | useful anyway 8 | --- 9 | configure.in | 1 - 10 | 1 file changed, 1 deletion(-) 11 | 12 | diff --git a/configure.in b/configure.in 13 | index 17fc818..354c524 100644 14 | --- a/configure.in 15 | +++ b/configure.in 16 | @@ -94,7 +94,6 @@ AC_CHECK_GENERATE_INTTYPES([include]) 17 | 18 | dnl Checks for typedefs, structures, and compiler characteristics. 19 | AC_C_CONST 20 | -AC_C_ALWAYS_INLINE 21 | AC_C_RESTRICT 22 | AC_TYPE_SIZE_T 23 | AC_C_BIGENDIAN 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/a52dec/0004-configure-let-us-decide-if-we-really-want-PIC-or-not.patch: -------------------------------------------------------------------------------- 1 | From 3f2ece3e30b1f59b169c787ff9e078e10a19750a Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Thu, 24 Oct 2013 12:31:47 +0200 4 | Subject: [PATCH 4/4] configure: let us decide if we really want PIC or not 5 | 6 | Fixes: 7 | "/usr/bin/ld: .libs/imdct.o: relocation R_X86_64_32 against `.bss' can 8 | not be used when making a shared object; recompile with -fPIC 9 | .libs/imdct.o: could not read symbols: Bad value`" 10 | --- 11 | liba52/configure.incl | 2 +- 12 | 1 file changed, 1 insertion(+), 1 deletion(-) 13 | 14 | diff --git a/liba52/configure.incl b/liba52/configure.incl 15 | index 4dbbcea..96b39aa 100644 16 | --- a/liba52/configure.incl 17 | +++ b/liba52/configure.incl 18 | @@ -2,7 +2,7 @@ AC_SUBST([LIBA52_CFLAGS]) 19 | AC_SUBST([LIBA52_LIBS]) 20 | 21 | dnl avoid -fPIC when possible 22 | -LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic" 23 | +dnl LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic" 24 | 25 | AC_ARG_ENABLE([double], 26 | [ --enable-double use double-precision samples]) 27 | -- 28 | 2.1.4 29 | 30 | -------------------------------------------------------------------------------- /recipes/bionic-fixup/error.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012, The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef ELFUTILS_ERROR_H 18 | #define ELFUTILS_ERROR_H 19 | 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | static inline void __attribute__((noreturn)) 26 | error(int status, int errnum, const char *fmt, ...) 27 | { 28 | va_list lst; 29 | va_start(lst, fmt); 30 | vfprintf(stderr, fmt, lst); 31 | fprintf(stderr, "error %d: %s\n", errnum, strerror(errno)); 32 | va_end(lst); 33 | exit(status); 34 | } 35 | 36 | #endif /* ELFUTILS_ERROR_H */ 37 | -------------------------------------------------------------------------------- /recipes/build-tools/autoconf.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'autoconf' 6 | version = '2.69' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz' 10 | deps = ['m4'] 11 | 12 | files_bin = [ 13 | 'bin/autoconf', 'bin/autoheader', 14 | 'bin/autom4te', 'bin/autoreconf', 15 | 'bin/autoscan', 'bin/autoupdate', 16 | 'bin/ifnames'] 17 | 18 | files_share = ['share/autoconf'] 19 | 20 | def prepare(self): 21 | # The m4 release we build is buggy in windows so we use the 22 | # default one provided with mingw/msys 23 | if self.config.target_platform == Platform.WINDOWS: 24 | self.deps.remove('m4') 25 | self.append_env['M4'] = '/bin/m4' 26 | -------------------------------------------------------------------------------- /recipes/build-tools/automake.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'automake' 6 | version = '1.15.1' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz' 10 | deps = ['autoconf', 'gettext-tools', 'gettext-m4'] 11 | 12 | files_bin = ['bin/automake', 'bin/aclocal', 13 | 'bin/automake-1.15', 'bin/aclocal-1.15'] 14 | files_share = ['share/aclocal-1.15', 'share/automake-1.15'] 15 | -------------------------------------------------------------------------------- /recipes/build-tools/bison.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'bison' 6 | version = '3.0.4' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftpmirror.gnu.org/bison/bison-3.0.4.tar.gz' 10 | 11 | files_bins = ['bison'] 12 | 13 | def extract(self): 14 | if os.path.exists(self.build_dir): 15 | shutil.rmtree(self.build_dir) 16 | super(recipe.Recipe, self).extract() 17 | -------------------------------------------------------------------------------- /recipes/build-tools/flex.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'flex' 5 | version = '2.6.2' 6 | licenses = [License.BSD_like] 7 | stype = SourceType.TARBALL 8 | url = 'https://github.com/westes/flex/releases/download/v{0}/flex-{0}.tar.gz'.format(version) 9 | files_bins = ['flex', 'flex++', 'lex'] 10 | patches = ['flex/flex-prevent-to-build-doc.patch'] 11 | autoreconf = True 12 | platform_deps = {Platform.WINDOWS: ['mingw-gettext']} 13 | -------------------------------------------------------------------------------- /recipes/build-tools/flex/flex-configure.ac-Use-gettext-0.19.patch: -------------------------------------------------------------------------------- 1 | From 8586c60dcbd052451939ca1f4f4060d1ce3d3307 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Sat, 14 Feb 2015 20:59:57 +0100 4 | Subject: [PATCH] configure.ac: Use gettext 0.19 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 871082f..33119a3 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -37,7 +37,7 @@ AC_CONFIG_LIBOBJ_DIR([lib]) 15 | # checks for programs 16 | 17 | AM_GNU_GETTEXT([external]) 18 | -AM_GNU_GETTEXT_VERSION([0.18.1]) 19 | +AM_GNU_GETTEXT_VERSION([0.19]) 20 | AC_PROG_YACC 21 | AM_PROG_LEX 22 | AC_PROG_CC 23 | -- 24 | 2.1.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/build-tools/flex/flex-prevent-to-build-doc.patch: -------------------------------------------------------------------------------- 1 | From 54e3f4d658c089f555ab0848a73b99e302581177 Mon Sep 17 00:00:00 2001 2 | From: Justin Kim 3 | Date: Tue, 15 Sep 2015 22:48:07 +0900 4 | Subject: [PATCH] flex: prevent to build doc 5 | 6 | --- 7 | Makefile.am | 1 - 8 | configure.ac | 1 - 9 | 2 files changed, 2 deletions(-) 10 | 11 | diff --git a/Makefile.am b/Makefile.am 12 | index 1540bb7..c839eb1 100644 13 | --- a/Makefile.am 14 | +++ b/Makefile.am 15 | @@ -45,7 +45,6 @@ EXTRA_DIST = \ 16 | SUBDIRS = \ 17 | lib \ 18 | src \ 19 | - doc \ 20 | examples \ 21 | po \ 22 | tests \ 23 | diff --git a/configure.ac b/configure.ac 24 | index c786752..c9b2151 100644 25 | --- a/configure.ac 26 | +++ b/configure.ac 27 | @@ -146,7 +146,6 @@ AC_REPLACE_FUNCS(reallocarray) 28 | 29 | AC_CONFIG_FILES( 30 | Makefile 31 | -doc/Makefile 32 | examples/Makefile 33 | examples/fastwc/Makefile 34 | examples/manual/Makefile 35 | -- 36 | 2.11.0 37 | 38 | -------------------------------------------------------------------------------- /recipes/build-tools/gas-preprocessor.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | from cerbero.utils import shell 4 | 5 | 6 | class Recipe(recipe.Recipe): 7 | name = 'gas-preprocessor' 8 | version = '0.0.0' 9 | licenses = [License.GPLv2] 10 | btype = BuildType.CUSTOM 11 | remotes = {'origin': 'git://git.libav.org/gas-preprocessor.git'} 12 | commit = 'fad9080da871bb7924431a5e22fdaccae56b5950' 13 | 14 | def install(self): 15 | if not os.path.exists(os.path.join(self.config.prefix, 'bin')): 16 | os.makedirs(os.path.join(self.config.prefix, 'bin')) 17 | shutil.copy (os.path.join(self.build_dir, 'gas-preprocessor.pl'), 18 | os.path.join(self.config.prefix, 'bin')) 19 | shell.call ('chmod +x %s' % 20 | os.path.join(self.config.prefix, 'bin', 'gas-preprocessor.pl')) 21 | -------------------------------------------------------------------------------- /recipes/build-tools/gettext-tools.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import shell 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'gettext-tools' 6 | version = '0.19.8.1' 7 | licenses = [License.GPLv3] 8 | srcdir = 'gettext-tools' 9 | stype = SourceType.TARBALL 10 | tarball_dirname = 'gettext-%(version)s' 11 | url = 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.gz' 12 | platform_deps = { 13 | Platform.DARWIN: ['sed'], 14 | Platform.WINDOWS: ['libiconv', 'mingw-runtime'],} 15 | configure_options = ' --disable-java --disable-csharp --disable-native-java --without-csv' 16 | patches = ['../gettext/0001-Fix-linker-error-redefinition-of-vasprintf.patch', 17 | '../gettext/0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch' ] 18 | 19 | def prepare(self): 20 | if self.config.target_platform == Platform.WINDOWS: 21 | self.configure_options += ' --enable-threads=win32' 22 | self.append_env['LDFLAGS'] = '-liconv' 23 | -------------------------------------------------------------------------------- /recipes/build-tools/gnu-sed.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | from cerbero.utils import needs_xcode8_sdk_workaround 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'sed' 7 | version = '4.2.2' 8 | licenses = [License.GPLv2] 9 | stype = SourceType.TARBALL 10 | url = 'http://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.gz' 11 | 12 | def prepare(self): 13 | if needs_xcode8_sdk_workaround(self.config): 14 | self.append_env['ac_cv_func_mkostemp'] = 'no' 15 | -------------------------------------------------------------------------------- /recipes/build-tools/gobject-introspection-m4.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | import shutil 4 | 5 | class Recipe(recipe.Recipe): 6 | """ 7 | Ships the introspection.m4 macro file from the gobject-introspection tarball 8 | """ 9 | name = 'gobject-introspection-m4' 10 | _name = 'gobject-introspection' 11 | version = '1.50.0' 12 | stype = SourceType.TARBALL 13 | maj_ver = '.'.join(version.split('.')[0:2]) 14 | url = 'http://ftp.gnome.org/pub/GNOME/sources/{0}/{2}/{0}-{1}.tar.xz' 15 | url = url.format(_name, version, maj_ver) 16 | srcdir = "{0}-{1}".format(_name, version) 17 | licenses = [License.GPLv2Plus] 18 | btype = BuildType.CUSTOM 19 | files_devel = ['share/aclocal/introspection.m4'] 20 | 21 | def prepare(self): 22 | self.build_dir = os.path.join(os.path.dirname(self.build_dir), 23 | '{0}-{1}'.format(self._name, 24 | self.version)) 25 | 26 | def install(self): 27 | shutil.copy(os.path.join(self.build_dir, 'm4', 'introspection.m4'), 28 | os.path.join(self.config.prefix, 'share', 'aclocal')) 29 | -------------------------------------------------------------------------------- /recipes/build-tools/gperf-0001-Don-t-override-environment-AR.patch: -------------------------------------------------------------------------------- 1 | From 22f76fd53f8edcef6b10c678a60ef59105f69cf4 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 29 Oct 2013 02:10:06 +0100 4 | Subject: [PATCH] Don't override environment AR 5 | 6 | --- 7 | lib/Makefile.in | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/lib/Makefile.in b/lib/Makefile.in 11 | index b7b96ee..083d972 100644 12 | --- a/lib/Makefile.in 13 | +++ b/lib/Makefile.in 14 | @@ -41,7 +41,9 @@ CXXCPP = @CXXCPP@ 15 | # Both C and C++ compiler 16 | OBJEXT = @OBJEXT@ 17 | # Other 18 | +ifndef AR 19 | AR = ar 20 | +endif 21 | AR_FLAGS = rc 22 | RANLIB = @RANLIB@ 23 | MV = mv 24 | -- 25 | 1.8.1.2 26 | 27 | -------------------------------------------------------------------------------- /recipes/build-tools/gperf.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'gperf' 6 | version = '3.0.4' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gz' 10 | patches = ['gperf-0001-Don-t-override-environment-AR.patch'] 11 | 12 | files_bins = ['gperf'] 13 | 14 | -------------------------------------------------------------------------------- /recipes/build-tools/intltool-m4.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'intltool-m4' 6 | version = '0.51.0' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | btype = BuildType.CUSTOM 10 | url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz' 11 | 12 | files_devel = [ 13 | 'share/aclocal/intltool.m4', 14 | ] 15 | 16 | def install(self): 17 | m4 = os.path.join(self.build_dir.replace('-m4', ''), 'intltool.m4') 18 | shutil.copy(m4, os.path.join(self.config.prefix, 'share', 'aclocal', 'intltool.m4')) 19 | -------------------------------------------------------------------------------- /recipes/build-tools/intltool.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'intltool' 6 | version = '0.51.0' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz' 10 | -------------------------------------------------------------------------------- /recipes/build-tools/m4.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'm4' 6 | version = '1.4.18' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz' 10 | files_bins = ['m4'] 11 | 12 | def prepare(self): 13 | self.append_env['CFLAGS'] = " -Wno-error=cast-align " 14 | -------------------------------------------------------------------------------- /recipes/build-tools/meson.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | import os 4 | import stat 5 | 6 | class Recipe(recipe.Recipe): 7 | name = 'meson' 8 | version = '0.36.0' 9 | licenses = [License.Apachev2] 10 | btype = BuildType.CUSTOM 11 | remotes = {'origin': 'https://github.com/mesonbuild/meson.git'} 12 | commit = '0.36.0' 13 | deps = ['ninja'] 14 | 15 | files_bin = ['bin/meson'] 16 | files_python = [] 17 | 18 | def install(self): 19 | os.chdir(self.build_dir) 20 | shell.call('./install_meson.py --prefix %s' % 21 | self.config.prefix) 22 | -------------------------------------------------------------------------------- /recipes/build-tools/mingw-regex.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'mingw-regex' 5 | version = '2.5' 6 | licenses = [License.LGPLv2_1Plus] 7 | files_libs = ['libregex'] 8 | files_devel = ['include/regex.h'] 9 | autoreconf = True 10 | remotes = {'origin': 'git://git.code.sf.net/p/mingw/regex'} 11 | commit = '7aa7b79d53a4b275d70397b424acffc57dbcf7a2' 12 | patches = ['mingw-regex/0001-Fix-compilation.patch'] 13 | 14 | -------------------------------------------------------------------------------- /recipes/build-tools/ninja.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'ninja' 6 | version = '1.7.2' 7 | licenses = [License.Apachev2] 8 | btype = BuildType.CUSTOM 9 | remotes = {'origin': 'https://github.com/ninja-build/ninja.git'} 10 | commit = 'v1.7.2' 11 | deps = [] 12 | 13 | files_bin = ['bin/ninja'] 14 | 15 | def configure(self): 16 | os.chdir(self.build_dir) 17 | shell.call('./configure.py --bootstrap') 18 | 19 | def install(self): 20 | try: 21 | os.remove(os.path.join (self.config.prefix, "bin", "ninja")) 22 | except OSError: 23 | pass 24 | 25 | shutil.move(os.path.join(self.build_dir, "ninja"), 26 | os.path.join (self.config.prefix, "bin")) 27 | -------------------------------------------------------------------------------- /recipes/build-tools/orc.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'orc-tool' 6 | version = '0.4.26' 7 | remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/orc'} 8 | commit = 'orc-0.4.26' 9 | licenses = [License.BSD_like] 10 | autoreconf = True 11 | deps = ['autoconf', 'automake', 'libtool'] 12 | 13 | files_libs = ['liborc-0.4', 'liborc-test-0.4'] 14 | files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc', 15 | 'bin/orc-bugreport%(bext)s', 'share/aclocal/orc.m4', 16 | 'bin/orcc%(bext)s'] 17 | 18 | def prepare(self): 19 | self.append_env['CFLAGS'] = " -Wno-error " 20 | self.append_env['CXXFLAGS'] = " -Wno-error " 21 | self.append_env['CPPFLAGS'] = " -Wno-error " 22 | -------------------------------------------------------------------------------- /recipes/build-tools/pkg-config.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'pkg-config' 6 | version = '0.29.2' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url='http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' 10 | configure_options = '--with-internal-glib --disable-host-tool ' 11 | 12 | files_bins = ['pkg-config'] 13 | files_share = ['share/aclocal/pkg.m4'] 14 | -------------------------------------------------------------------------------- /recipes/build-tools/xz.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import needs_xcode8_sdk_workaround 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'xz' 6 | version = '5.2.2' 7 | licenses = [License.GPLv3] 8 | stype = SourceType.TARBALL 9 | url = 'http://tukaani.org/xz/xz-5.2.2.tar.bz2' 10 | 11 | files_bins = ['xz'] 12 | 13 | def prepare(self): 14 | if needs_xcode8_sdk_workaround(self.config): 15 | # On OS X 10.11.6 and XCode 8, clock_gettime is defined as a weak 16 | # symbol and is not available, but configure tests detect it anyway 17 | # because the headers and C library define the symbol and xz throws 18 | # an error at runtime. Forcibly tell configure that clock_gettime is 19 | # not available and use the fallback. 20 | self.append_env['ac_cv_search_clock_gettime'] = 'no' 21 | self.append_env['ac_cv_func_clock_gettime'] = 'no' 22 | -------------------------------------------------------------------------------- /recipes/build-tools/yasm.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'yasm' 6 | version = '1.3.0' 7 | licenses = [License.GPLv3] 8 | stype = SourceType.TARBALL 9 | url = 'http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz' 10 | 11 | files_bins = ['yasm'] 12 | 13 | def prepare(self): 14 | if self.config.target_platform == Platform.WINDOWS: 15 | self.append_env['LDFLAGS'] = '-lintl' 16 | -------------------------------------------------------------------------------- /recipes/ca-certificates.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import os 3 | import shutil 4 | from cerbero.utils import shell 5 | 6 | # Created with tools/certdata2pem on the Mozilla CA list 7 | # https://dxr.mozilla.org/mozilla-central/source/security/nss/lib/ckfw/builtins/certdata.txt 8 | 9 | class Recipe(recipe.Recipe): 10 | name = 'ca-certificates' 11 | version = '2016-09-22' 12 | licenses = [License.MPLv2] 13 | stype = SourceType.CUSTOM 14 | btype = BuildType.CUSTOM 15 | 16 | files_etc = [ 17 | 'etc/ssl/certs/ca-certificates.crt', 18 | ] 19 | 20 | def install(self): 21 | dst_dir = os.path.join(self.config.prefix, 'etc', 'ssl', 'certs') 22 | if not os.path.exists(dst_dir): 23 | os.makedirs(dst_dir) 24 | src_dir = os.path.join(self.config.recipes_dir, 'ca-certificates') 25 | for f in self.files_etc: 26 | fname = os.path.basename(f) 27 | s = os.path.join(src_dir, fname) 28 | d = os.path.join(dst_dir, fname) 29 | if os.path.isfile(s): 30 | shutil.copy(s, d) 31 | else: 32 | shell.copy_dir(s, d) 33 | 34 | -------------------------------------------------------------------------------- /recipes/cairo/0001-Disable-building-of-the-tests.patch: -------------------------------------------------------------------------------- 1 | From 2e60e3972ee8dadfebace50255c9275feae4dc6d Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Tue, 21 Oct 2014 13:46:18 +0200 4 | Subject: [PATCH] Disable building of the tests 5 | 6 | We don't run them anyway and there are build system quirks in there. 7 | --- 8 | Makefile.am | 4 ---- 9 | 1 file changed, 4 deletions(-) 10 | 11 | diff --git a/Makefile.am b/Makefile.am 12 | index 03fa352..7e11d24 100644 13 | --- a/Makefile.am 14 | +++ b/Makefile.am 15 | @@ -18,10 +18,6 @@ ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS} 16 | 17 | DIST_SUBDIRS = src doc util boilerplate test perf 18 | SUBDIRS = src doc util 19 | -# libpng is required for our test programs 20 | -if CAIRO_HAS_PNG_FUNCTIONS 21 | -SUBDIRS += boilerplate test perf 22 | -endif 23 | 24 | configure: cairo-version.h 25 | 26 | -- 27 | 2.1.1 28 | 29 | -------------------------------------------------------------------------------- /recipes/cdparanoia/0001-configure.in-Always-use-AC_PROG_CC.patch: -------------------------------------------------------------------------------- 1 | From 9f32c6567cd2b9044b63f11bf754f3db6098cadf Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Mon, 7 Oct 2013 15:22:20 +0200 4 | Subject: [PATCH] configure.in: Always use AC_PROG_CC 5 | 6 | --- 7 | configure.in | 4 +--- 8 | 1 file changed, 1 insertion(+), 3 deletions(-) 9 | 10 | diff --git a/configure.in b/configure.in 11 | index 3ad98ca..8fad378 100644 12 | --- a/configure.in 13 | +++ b/configure.in 14 | @@ -5,9 +5,7 @@ cp $srcdir/configure.sub $srcdir/config.sub 15 | 16 | AC_CANONICAL_HOST 17 | 18 | -if test -z "$CC"; then 19 | - AC_PROG_CC 20 | -fi 21 | +AC_PROG_CC 22 | AC_PROG_RANLIB 23 | AC_CHECK_PROG(AR,ar,ar) 24 | AC_CHECK_PROG(INSTALL,install,install) 25 | -- 26 | 1.8.3.1 27 | 28 | -------------------------------------------------------------------------------- /recipes/expat.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'expat' 6 | version = '2.2.0' 7 | licenses = [License.BSD_like] 8 | stype = SourceType.TARBALL 9 | url = 'http://downloads.sourceforge.net/project/expat/expat/2.2.0/expat-2.2.0.tar.bz2' 10 | 11 | files_libs = ['libexpat'] 12 | files_devel = ['include/expat.h', 'include/expat_external.h', 'lib/pkgconfig/expat.pc'] 13 | -------------------------------------------------------------------------------- /recipes/faad2.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'faad2' 5 | version = '2.7' 6 | licenses = [License.GPLv2Plus] 7 | stype = SourceType.TARBALL 8 | url = 'http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.bz2' 9 | patches = ['faad2/0001-Fix-redefinition-of-off_t.patch', 10 | 'faad2/0002-Add-no-undefined-on-windows.patch'] 11 | autoreconf = True 12 | 13 | files_libs = ['libfaad'] 14 | files_bins = ['faad'] 15 | files_devel = ['include/faad.h', 'include/neaacdec.h', 'include/mp4ff.h', 16 | 'include/mp4ffint.h'] 17 | -------------------------------------------------------------------------------- /recipes/faad2/0001-Fix-redefinition-of-off_t.patch: -------------------------------------------------------------------------------- 1 | From 9b91c75f3e33d9e83424e2b6d1da647d622144bf Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Thu, 1 Mar 2012 18:20:51 +0100 4 | Subject: [PATCH 1/3] Fix redefinition of off_t 5 | 6 | --- 7 | frontend/main.c | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/frontend/main.c b/frontend/main.c 11 | index a3bb68d..cc3fde6 100644 12 | --- a/frontend/main.c 13 | +++ b/frontend/main.c 14 | @@ -31,7 +31,9 @@ 15 | #ifdef _WIN32 16 | #define WIN32_LEAN_AND_MEAN 17 | #include 18 | +#ifndef __MINGW32__ || __MINGW64__ 19 | #define off_t __int64 20 | +#endif 21 | #else 22 | #include 23 | #endif 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/fontconfig/0001-Do-not-build-tests-on-windows.patch: -------------------------------------------------------------------------------- 1 | From 8092554e6e14be784267a3eb829a804092248a7d Mon Sep 17 00:00:00 2001 2 | From: Thibault Saunier 3 | Date: Wed, 2 Apr 2014 10:09:29 +0200 4 | Subject: [PATCH] Do not build tests on windows 5 | 6 | --- 7 | Makefile.am | 7 ++++++- 8 | 1 file changed, 6 insertions(+), 1 deletion(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index 2b4a5b8..4262789 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -23,7 +23,12 @@ 15 | 16 | SUBDIRS=fontconfig fc-blanks fc-case fc-lang fc-glyphname src \ 17 | fc-cache fc-cat fc-list fc-match fc-pattern fc-query fc-scan \ 18 | - fc-validate conf.d test 19 | + fc-validate conf.d 20 | + 21 | +if !OS_WIN32 22 | +SUBDIRS += test 23 | +endif 24 | + 25 | if ENABLE_DOCS 26 | SUBDIRS += doc 27 | endif 28 | -- 29 | 2.11.0 30 | 31 | -------------------------------------------------------------------------------- /recipes/fontconfig/0003-configure-Allow-static-build.patch: -------------------------------------------------------------------------------- 1 | From 4fe8cbc9b86f5d7c2d12e0c3f84e97c42e9026b9 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Sun, 25 May 2014 11:20:34 +0200 4 | Subject: [PATCH 3/3] configure: Allow static build 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 1086a9a..135e95a 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -65,7 +65,7 @@ fi 15 | 16 | dnl Initialize libtool 17 | LT_PREREQ([2.2]) 18 | -LT_INIT([disable-static win32-dll]) 19 | +LT_INIT([win32-dll]) 20 | 21 | dnl libtool versioning 22 | 23 | -- 24 | 1.9.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/freetype.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'freetype' 6 | version = '2.7' 7 | stype = SourceType.TARBALL 8 | url = 'http://download.savannah.gnu.org/releases/freetype/freetype-2.7.tar.bz2' 9 | licenses = [License.FreeType] 10 | configure_tpl = "%(config-sh)s --prefix=%(prefix)s --libdir=%(libdir)s --with-harfbuzz=no" 11 | deps = ['zlib', 'bzip2', 'libpng'] 12 | 13 | files_libs = ['libfreetype'] 14 | files_devel = ['bin/freetype-config', 15 | 'lib/pkgconfig/freetype2.pc', 16 | 'include/freetype2', 17 | 'share/aclocal/freetype2.m4'] 18 | -------------------------------------------------------------------------------- /recipes/freior-plugins.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import shell 3 | 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'frei0r-plugins' 7 | version = '1.5.0' 8 | licenses = [License.LGPL] 9 | stype = SourceType.TARBALL 10 | url = 'http://files.dyne.org/frei0r/releases/frei0r-plugins-1.5.0.tar.gz' 11 | autoreconf = True 12 | patches = ['frei0r-plugins/0001-Fix-autoreconf.patch'] 13 | 14 | files_plugins = ['lib/frei0r-1'] 15 | files_devel = [ 16 | 'lib/pkgconfig/frei0r.pc', 17 | 'include/frei0r.h', 18 | ] 19 | -------------------------------------------------------------------------------- /recipes/fribidi.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'fribidi' 5 | version = '0.19.7' 6 | stype = SourceType.TARBALL 7 | url = 'http://fribidi.org/download/fribidi-%(version)s.tar.bz2' 8 | licenses = [License.LGPLv2_1Plus] 9 | autoreconf = True 10 | deps = ['glib'] 11 | patches = ['fribidi/0001-fribidi.def-Include-all-required-symbols.patch', 12 | 'fribidi/0002-fribidi-disable-docs.patch'] 13 | configure_options = '--enable-shared --enable-static' 14 | 15 | files_libs = ['libfribidi'] 16 | files_bins = ['fribidi'] 17 | files_devel = ['lib/pkgconfig/fribidi.pc', 'include/fribidi'] 18 | -------------------------------------------------------------------------------- /recipes/fribidi/0002-fribidi-disable-docs.patch: -------------------------------------------------------------------------------- 1 | From 68a6b09b43880ddb7f8035ac6872d40d21bfc08b Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Sat, 15 Aug 2015 12:16:19 +0200 4 | Subject: [PATCH] Disable docs 5 | 6 | --- 7 | Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index 66f4a4e..28c838c 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -11,7 +11,7 @@ 15 | ACLOCAL_AMFLAGS = -I m4 16 | 17 | ## The order of subdirs is important, don't change without a reason. 18 | -SUBDIRS = gen.tab charset lib bin doc test 19 | +SUBDIRS = gen.tab charset lib bin test 20 | 21 | EXTRA_DIST = bootstrap ChangeLog.old 22 | 23 | -- 24 | 2.4.3 25 | 26 | -------------------------------------------------------------------------------- /recipes/gettext/0001-Fix-linker-error-redefinition-of-vasprintf.patch: -------------------------------------------------------------------------------- 1 | From a76649dae62768d0af7017b3fc0ca5f891588c78 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Wed, 29 Feb 2012 10:44:43 +0100 4 | Subject: [PATCH] Fix linker error: redefinition of vasprintf 5 | 6 | This might not be the best patch, but it works for us 7 | The link error was: 8 | .libs/autosprintf.o:autosprintf.cc:(.text$vasprintf[_vasprintf]+0x0): multiple definition of `_vasprintf' 9 | .libs/lib-asprintf.o:lib-asprintf.c:(.text+0x4621): first defined here 10 | --- 11 | gettext-runtime/libasprintf/autosprintf.cc | 2 ++ 12 | 1 file changed, 2 insertions(+) 13 | 14 | diff --git a/gettext-runtime/libasprintf/autosprintf.cc b/gettext-runtime/libasprintf/autosprintf.cc 15 | index ca318f7..2526210 100644 16 | --- a/gettext-runtime/libasprintf/autosprintf.cc 17 | +++ b/gettext-runtime/libasprintf/autosprintf.cc 18 | @@ -21,8 +21,10 @@ 19 | This must come before because may include 20 | , and once has been included, it's too late. */ 21 | #ifndef _GNU_SOURCE 22 | +#ifndef _WIN32 23 | # define _GNU_SOURCE 1 24 | #endif 25 | +#endif 26 | 27 | /* Specification. */ 28 | #include "autosprintf.h" 29 | -- 30 | 1.8.4 31 | 32 | -------------------------------------------------------------------------------- /recipes/glib-networking/0002-Get-the-CA-certificate-path-from-the-environment-var.patch: -------------------------------------------------------------------------------- 1 | From e03efc825a091b704a57d497afaa2492bb707066 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 12 Mar 2014 14:27:36 +0100 4 | Subject: [PATCH 2/2] Get the CA certificate path from the environment 5 | variables on Android and iOS 6 | 7 | --- 8 | tls/gnutls/gtlsbackend-gnutls.c | 3 +++ 9 | 1 file changed, 3 insertions(+) 10 | 11 | diff --git a/tls/gnutls/gtlsbackend-gnutls.c b/tls/gnutls/gtlsbackend-gnutls.c 12 | index 277fff2..7b11f8c 100644 13 | --- a/tls/gnutls/gtlsbackend-gnutls.c 14 | +++ b/tls/gnutls/gtlsbackend-gnutls.c 15 | @@ -119,6 +119,9 @@ g_tls_backend_gnutls_real_create_database (GTlsBackendGnutls *self, 16 | #ifdef GTLS_SYSTEM_CA_FILE 17 | anchor_file = GTLS_SYSTEM_CA_FILE; 18 | #endif 19 | +#ifdef GST_CA_CERTIFICATES_FROM_ENV 20 | + anchor_file = g_getenv ("CA_CERTIFICATES"); 21 | +#endif 22 | return g_tls_file_database_new (anchor_file, error); 23 | } 24 | 25 | -- 26 | 1.9.0 27 | 28 | -------------------------------------------------------------------------------- /recipes/glib/0003-Add-support-for-loading-GIO-modules-from-the-distro-.patch: -------------------------------------------------------------------------------- 1 | From 72cfa4e02c0644f80e9252db455e7657843c329d Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Fri, 9 Mar 2012 08:51:12 +0100 4 | Subject: [PATCH 03/10] Add support for loading GIO modules from the distro's 5 | GIO module path 6 | 7 | This is needed to e.g. load GVfs from the distro. Without this elements 8 | like giosrc are pretty useless and we really don't want to ship GVfs. 9 | --- 10 | gio/giomodule.c | 5 +++++ 11 | 1 file changed, 5 insertions(+) 12 | 13 | diff --git a/gio/giomodule.c b/gio/giomodule.c 14 | index da7c167..b97aa78 100644 15 | --- a/gio/giomodule.c 16 | +++ b/gio/giomodule.c 17 | @@ -1084,6 +1084,11 @@ _g_io_modules_ensure_loaded (void) 18 | g_io_modules_scan_all_in_directory_with_scope (module_dir, scope); 19 | g_free (module_dir); 20 | 21 | +#ifdef GST_SDK_GLIB_GIO_DISTRO_GIO_MODULE_PATH 22 | + /* Now load all modules from the distro, e.g. gvfs */ 23 | + g_io_modules_scan_all_in_directory_with_scope (GST_SDK_GLIB_GIO_DISTRO_GIO_MODULE_PATH, scope); 24 | +#endif 25 | + 26 | g_io_module_scope_free (scope); 27 | 28 | /* Initialize types from built-in "modules" */ 29 | -- 30 | 2.8.1 31 | 32 | -------------------------------------------------------------------------------- /recipes/glib/0004-Allow-for-a-second-distro-GIO-module-path-as-used-on.patch: -------------------------------------------------------------------------------- 1 | From 47138b062f774ca52f160e8e90c4fe76821786f3 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 12 Mar 2012 13:04:41 +0100 4 | Subject: [PATCH 04/10] Allow for a second distro GIO module path as used on 5 | Ubuntu 6 | 7 | ...because apparently only half of their packages are multi-arch 8 | capable... 9 | --- 10 | gio/giomodule.c | 5 +++++ 11 | 1 file changed, 5 insertions(+) 12 | 13 | diff --git a/gio/giomodule.c b/gio/giomodule.c 14 | index b97aa78..e17905d 100644 15 | --- a/gio/giomodule.c 16 | +++ b/gio/giomodule.c 17 | @@ -1089,6 +1089,11 @@ _g_io_modules_ensure_loaded (void) 18 | g_io_modules_scan_all_in_directory_with_scope (GST_SDK_GLIB_GIO_DISTRO_GIO_MODULE_PATH, scope); 19 | #endif 20 | 21 | +#ifdef GST_SDK_GLIB_GIO_DISTRO_GIO_MODULE_PATH2 22 | + /* Now load all modules from the distro, e.g. gvfs */ 23 | + g_io_modules_scan_all_in_directory_with_scope (GST_SDK_GLIB_GIO_DISTRO_GIO_MODULE_PATH2, scope); 24 | +#endif 25 | + 26 | g_io_module_scope_free (scope); 27 | 28 | /* Initialize types from built-in "modules" */ 29 | -- 30 | 2.8.1 31 | 32 | -------------------------------------------------------------------------------- /recipes/glib/0005-Blacklist-the-bamf-GIO-module.patch: -------------------------------------------------------------------------------- 1 | From 5b229f28dbba371b4ba2b5fbc94bb292bf999649 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 12 Mar 2012 14:30:02 +0100 4 | Subject: [PATCH 05/10] Blacklist the bamf GIO module 5 | 6 | I uses Ubuntu specific GLib API on Ubuntu... and thus crashes 7 | everything that ever tries to use GIO. 8 | --- 9 | gio/giomodule.c | 7 +++++++ 10 | 1 file changed, 7 insertions(+) 11 | 12 | diff --git a/gio/giomodule.c b/gio/giomodule.c 13 | index e17905d..865ad74 100644 14 | --- a/gio/giomodule.c 15 | +++ b/gio/giomodule.c 16 | @@ -366,6 +366,13 @@ is_valid_module_name (const gchar *basename, 17 | { 18 | gboolean result; 19 | 20 | + /* bamf module that uses Ubuntu specific GLib 21 | + * API on Ubuntu... and thus crashes everything 22 | + * that ever tries to use GIO. 23 | + */ 24 | + if (strcmp (basename, "libgiobamf.so") == 0) 25 | + return FALSE; 26 | + 27 | #if !defined(G_OS_WIN32) && !defined(G_WITH_CYGWIN) 28 | if (!g_str_has_prefix (basename, "lib") || 29 | !g_str_has_suffix (basename, ".so")) 30 | -- 31 | 2.8.1 32 | 33 | -------------------------------------------------------------------------------- /recipes/glib/0008-gdbus-codgen-Use-a-proper-shebang-in-the-generator.patch: -------------------------------------------------------------------------------- 1 | From 41e24e3e65eda9ed104a9ef4b030daf347208d77 Mon Sep 17 00:00:00 2001 2 | From: Thibault Saunier 3 | Date: Wed, 2 Apr 2014 19:41:59 +0200 4 | Subject: [PATCH 07/10] gdbus-codgen: Use a proper shebang in the generator 5 | 6 | --- 7 | gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in 11 | index fd31a55..b9c7e19 100644 12 | --- a/gio/gdbus-2.0/codegen/gdbus-codegen.in 13 | +++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in 14 | @@ -1,4 +1,4 @@ 15 | -#!@PYTHON@ 16 | +#!/usr/bin/env @PYTHON@ 17 | 18 | # GDBus - GLib D-Bus Library 19 | # 20 | -- 21 | 2.8.1 22 | 23 | -------------------------------------------------------------------------------- /recipes/glib/0009-Unhide-_g_io_modules_ensure_extension_points_registe.patch: -------------------------------------------------------------------------------- 1 | From 9c05e795e9df3623a4d35bc009dd435c07aab503 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Fri, 7 Mar 2014 13:59:22 +0100 4 | Subject: [PATCH 08/10] Unhide _g_io_modules_ensure_extension_points_registered 5 | for calling by gio modules 6 | 7 | --- 8 | gio/giomodule-priv.h | 1 + 9 | 1 file changed, 1 insertion(+) 10 | 11 | diff --git a/gio/giomodule-priv.h b/gio/giomodule-priv.h 12 | index 2a51055..cd89648 100644 13 | --- a/gio/giomodule-priv.h 14 | +++ b/gio/giomodule-priv.h 15 | @@ -25,6 +25,7 @@ 16 | 17 | G_BEGIN_DECLS 18 | 19 | +GLIB_AVAILABLE_IN_ALL 20 | void _g_io_modules_ensure_extension_points_registered (void); 21 | void _g_io_modules_ensure_loaded (void); 22 | 23 | -- 24 | 2.8.1 25 | 26 | -------------------------------------------------------------------------------- /recipes/gnutls/0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch: -------------------------------------------------------------------------------- 1 | From 3775a325d066987b4095013d0b2796fcbbc90334 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Sun, 26 Feb 2017 17:41:35 +0200 4 | Subject: [PATCH] Undefine __USE_MINGW_ANSI_STDIO as otherwise stdio.h defines 5 | asprintf 6 | 7 | And configure did not find it because it's an inline function in stdio.h, 8 | not a function that is available in some library. Fixes compilation on Windows. 9 | --- 10 | gl/asprintf.c | 3 +++ 11 | 1 file changed, 3 insertions(+) 12 | 13 | diff --git a/gl/asprintf.c b/gl/asprintf.c 14 | index ee2b58f..e33d104 100644 15 | --- a/gl/asprintf.c 16 | +++ b/gl/asprintf.c 17 | @@ -21,6 +21,9 @@ 18 | #ifdef IN_LIBASPRINTF 19 | # include "vasprintf.h" 20 | #else 21 | +# ifdef __USE_MINGW_ANSI_STDIO 22 | +# undef __USE_MINGW_ANSI_STDIO 23 | +# endif 24 | # include 25 | #endif 26 | 27 | -- 28 | 2.11.0 29 | 30 | -------------------------------------------------------------------------------- /recipes/gnutls/0003-Disable-ncrypt-support.patch: -------------------------------------------------------------------------------- 1 | From 1b408de7690f293ef02f2180fb43f96048e3e4f0 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 24 Feb 2016 16:46:11 +0200 4 | Subject: [PATCH] Disable ncrypt support 5 | 6 | It's Windows Vista only and our mingw toolchain does not support it currently 7 | either. 8 | --- 9 | lib/Makefile.am | 10 +++++----- 10 | 1 file changed, 5 insertions(+), 5 deletions(-) 11 | 12 | diff --git a/lib/Makefile.am b/lib/Makefile.am 13 | index dc49bc6..9963f85 100644 14 | --- a/lib/Makefile.am 15 | +++ b/lib/Makefile.am 16 | @@ -86,11 +86,11 @@ COBJECTS = range.c record.c compress.c debug.c cipher.c \ 17 | system-keys.h urls.c urls.h prf.c auto-verify.c dh-session.c \ 18 | cert-session.c handshake-checks.c dtls-sw.c dh-primes.c 19 | 20 | -if WINDOWS 21 | -COBJECTS += system/keys-win.c 22 | -else 23 | -COBJECTS += system/keys-dummy.c 24 | -endif 25 | +#if WINDOWS 26 | +#COBJECTS += system/keys-win.c 27 | +#else 28 | +COBJECTS += system/keys-dummy.c 29 | +#endif 30 | 31 | if ENABLE_SELF_CHECKS 32 | COBJECTS += crypto-selftests.c crypto-selftests-pk.c 33 | -- 34 | 2.11.0 35 | 36 | -------------------------------------------------------------------------------- /recipes/graphene/0001-simd4f-Fix-a-compilation-error.patch: -------------------------------------------------------------------------------- 1 | From 5141ce208a5e290cde191f8b8119909c0435aaf8 Mon Sep 17 00:00:00 2001 2 | From: Arun Raghavan 3 | Date: Thu, 1 Sep 2016 09:28:45 +0530 4 | Subject: [PATCH] simd4f: Fix a compilation error 5 | 6 | Not sure why the missing semicolon didn't get caught before. 7 | --- 8 | src/graphene-simd4f.h | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/src/graphene-simd4f.h b/src/graphene-simd4f.h 12 | index 5d505d2..5790acc 100644 13 | --- a/src/graphene-simd4f.h 14 | +++ b/src/graphene-simd4f.h 15 | @@ -859,7 +859,7 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16))); 16 | (v)[1] != 0.f ? 1.f / (v)[1] : 0.f, \ 17 | (v)[2] != 0.f ? 1.f / (v)[2] : 0.f, \ 18 | (v)[3] != 0.f ? 1.f / (v)[3] : 0.f, \ 19 | - } \ 20 | + }; \ 21 | })) 22 | 23 | # define graphene_simd4f_sqrt(v) \ 24 | -- 25 | 2.7.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/gst-rtsp-server-1.0.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(custom.GStreamer): 4 | name = 'gst-rtsp-server-1.0' 5 | config_sh = 'sh ./autogen.sh --noconfigure && ./configure' 6 | configure_options = "--disable-examples --enable-static " 7 | remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/gst-rtsp-server'} 8 | deps = ['gstreamer-1.0', 'gst-plugins-base-1.0' ] 9 | 10 | files_devel = ['include/gstreamer-1.0/gst/rtsp-server', 'lib/pkgconfig/gstreamer-rtsp-server-1.0.pc'] 11 | files_libs = ['libgstrtspserver-1.0'] 12 | files_typelibs = ['GstRtspServer-1.0'] 13 | files_plugins_net = [ 'lib/gstreamer-1.0/libgstrtspclientsink%(mext)s' ] 14 | files_plugins_net_devel = [ 15 | 'lib/gstreamer-1.0/libgstrtspclientsink.a', 'lib/gstreamer-1.0/libgstrtspclientsink.la', 16 | ] 17 | 18 | def prepare(self): 19 | self.append_env['CFLAGS'] = " -Wno-error " 20 | self.append_env['CXXFLAGS'] = " -Wno-error " 21 | self.append_env['CPPFLAGS'] = " -Wno-error " 22 | -------------------------------------------------------------------------------- /recipes/gst-shell.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | import os 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'gst-shell' 7 | version = '0.1' 8 | licenses = [License.LGPL] 9 | btype = BuildType.CUSTOM 10 | stype = SourceType.CUSTOM 11 | 12 | files_shell = ['bin/gst-shell', 'share/gstreamer/gst-env'] 13 | 14 | def install(self): 15 | from cerbero.commands.gensdkshell import GenSdkShell 16 | name = self.files_shell[0] 17 | prefix = self.config.prefix 18 | libdir = os.path.join(prefix, 'lib') 19 | py_prefix = self.config.py_prefix 20 | output_dir = prefix 21 | gensdkshell = GenSdkShell() 22 | gensdkshell.runargs(self.config, name, output_dir, prefix, libdir, 23 | py_prefix) 24 | name = self.files_shell[1] 25 | gensdkshell.runargs(self.config, name, output_dir, prefix, libdir, 26 | py_prefix, cmd='') 27 | -------------------------------------------------------------------------------- /recipes/gtk-osx-docbook.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'gtk-osx-docbook' 5 | version = '1.2' 6 | stype = SourceType.TARBALL 7 | url = 'http://heanet.dl.sourceforge.net/project/gtk-osx/GTK-OSX%%20Build/gtk-osx-docbook-' + version +'.tar.gz' 8 | # TODO: check license 9 | licenses = [License.GPLv2Plus] 10 | 11 | def configure(self): 12 | def inplace_replace(filename, from_string, to_string): 13 | src = open(filename).read() 14 | src = src.replace(from_string, to_string) 15 | dst = open(filename, 'w') 16 | dst.write(src) 17 | dst.flush() 18 | dst.close() 19 | 20 | # FIXME: ugly workaround for issues with append_env raciness 21 | filename = os.path.join(self.build_dir, 'install.sh') 22 | inplace_replace(filename, '$DESTDIR/$JHBUILD_PREFIX', self.config.prefix) 23 | inplace_replace(filename, '$JHBUILD_PREFIX', self.config.prefix) 24 | filename = os.path.join(self.build_dir, 'Makefile') 25 | inplace_replace(filename, '$(JHBUILD_PREFIX)', self.config.prefix) 26 | -------------------------------------------------------------------------------- /recipes/harfbuzz.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'harfbuzz' 6 | version = '1.2.7' 7 | stype = SourceType.TARBALL 8 | url = 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%(version)s.tar.bz2' 9 | licenses = [License.LGPLv2Plus] 10 | deps = ['fontconfig', 'cairo', 'glib'] 11 | platform_deps = { 12 | Platform.LINUX: ['icu'], 13 | Platform.ANDROID: ['icu'], 14 | Platform.WINDOWS: ['icu'] 15 | } 16 | configure_options = '--enable-static --enable-glib --enable-gobject ' 17 | patches = [name + '/fix-dll-revision.patch'] 18 | 19 | files_bins = ['hb-ot-shape-closure', 'hb-view', 'hb-shape'] 20 | files_libs = ['libharfbuzz'] 21 | files_devel = ['include/harfbuzz/*.h', 'lib/pkgconfig/harfbuzz.pc'] 22 | 23 | def prepare(self): 24 | if self.config.target_platform in [Platform.LINUX, Platform.ANDROID, Platform.WINDOWS]: 25 | self.configure_options += ' --with-icu ' 26 | self.files_devel.append('lib/pkgconfig/harfbuzz-icu.pc') 27 | self.files_libs.append('libharfbuzz-icu') 28 | else: 29 | self.configure_options += ' --without-icu ' 30 | -------------------------------------------------------------------------------- /recipes/itstool.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'itstool' 5 | version = '2.0.2' 6 | stype = SourceType.GIT 7 | licenses = [License.GPLv3] 8 | remotes = {'origin': 'https://github.com/itstool/itstool.git'} 9 | commit = version 10 | autoreconf = True 11 | -------------------------------------------------------------------------------- /recipes/javascriptcoregtk/execinfo.h: -------------------------------------------------------------------------------- 1 | #ifndef FAKE_EXECINFO_H 2 | #define FAKE_EXECINFO_H 3 | 4 | int backtrace(void **array, int size) { return 0; } 5 | 6 | char **backtrace_symbols(void *const *array, int size) { return 0; } 7 | 8 | void backtrace_symbols_fd (void *const *array, int size, int fd) {} 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /recipes/json-glib.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'json-glib' 5 | version = '1.2.2' 6 | licenses = [License.LGPLv2_1Plus] 7 | stype = SourceType.TARBALL 8 | url = 'https://download.gnome.org/sources/json-glib/1.2/json-glib-1.2.2.tar.xz' 9 | deps = ['glib'] 10 | configure_options = '--enable-static' 11 | autoreconf = True 12 | patches = ['json-glib/0001-Don-t-override-our-own-ACLOCAL_FLAGS-but-append-them.patch'] 13 | 14 | files_bins = ['json-glib-validate', 'json-glib-format'] 15 | files_libs = ['libjson-glib-1.0'] 16 | files_devel = ['include/json-glib-1.0', 'lib/pkgconfig/json-glib-1.0.pc'] 17 | files_typelibs = ['Json-1.0'] 18 | -------------------------------------------------------------------------------- /recipes/json-glib/0001-Don-t-override-our-own-ACLOCAL_FLAGS-but-append-them.patch: -------------------------------------------------------------------------------- 1 | From ddd14ab312014c7508eb8d20c3ebe2dd03fff355 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 22 Apr 2015 15:37:53 +0200 4 | Subject: [PATCH] Don't override our own ACLOCAL_FLAGS but append them to the 5 | custom ones 6 | 7 | --- 8 | Makefile.am | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/Makefile.am b/Makefile.am 12 | index d2dbe69..68470dc 100644 13 | --- a/Makefile.am 14 | +++ b/Makefile.am 15 | @@ -1,4 +1,4 @@ 16 | -ACLOCAL_AMFLAGS = -I build/autotools 17 | +ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS} 18 | 19 | EXTRA_DIST = 20 | 21 | -- 22 | 2.1.4 23 | 24 | -------------------------------------------------------------------------------- /recipes/lame.recipe: -------------------------------------------------------------------------------- 1 | class Recipe(recipe.Recipe): 2 | version = '3.99.5' 3 | name = 'lame' 4 | licenses = [License.GPL] 5 | stype = SourceType.TARBALL 6 | configure_options = ' --enable-static --disable-frontend --disable-decoder' 7 | url = 'http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz' 8 | autoreconf = True 9 | patches = ['lame/0001-Make-lame-work-with-auto-1.12.patch'] 10 | 11 | files_libs = ['libmp3lame'] 12 | files_bins = ['lame'] 13 | files_devel = ['include/lame/lame.h'] 14 | 15 | -------------------------------------------------------------------------------- /recipes/libass.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libass' 6 | version = '0.13.4' 7 | licenses = [License.BSD_like] 8 | stype = SourceType.TARBALL 9 | url = 'https://github.com/libass/libass/releases/download/{0}/libass-{0}.tar.gz'.format(version) 10 | deps = ['freetype', 'fontconfig', 'libpng', 'fribidi'] 11 | make_check = None 12 | autoreconf = True 13 | patches = ['libass/0001-directwrite-drop-SAL-annotations.patch'] 14 | 15 | files_libs = ['libass'] 16 | files_devel = ['include/ass', 'lib/pkgconfig/libass.pc'] 17 | 18 | def prepare(self): 19 | if self.config.target_platform == Platform.IOS: 20 | self.append_env = {'LDFLAGS': '-Wl,-read_only_relocs,suppress'} 21 | -------------------------------------------------------------------------------- /recipes/libcroco.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'libcroco' 5 | version = '0.6.11' 6 | licenses = [License.LGPLv2_1] 7 | stype = SourceType.TARBALL 8 | url = 'http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/libcroco-0.6.11.tar.xz' 9 | deps = ['libxml2', 'glib', 'gdk-pixbuf'] 10 | 11 | files_libs = ['libcroco-0.6'] 12 | files_bins = ['csslint-0.6'] 13 | files_devel = ['include/libcroco-0.6/libcroco', 14 | 'lib/pkgconfig/libcroco-0.6.pc'] 15 | 16 | def prepare(self): 17 | if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: 18 | self.configure_options += ' --disable-Bsymbolic' 19 | -------------------------------------------------------------------------------- /recipes/libdca.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'libdca' 5 | version = '0.0.5' 6 | stype = SourceType.TARBALL 7 | url = 'http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2' 8 | licenses = [License.GPL] 9 | patches = ['libdca/0001-Disable-AC_C_ALWAYS_INLINE.patch'] 10 | autoreconf = True 11 | 12 | files_libs = ['libdca'] 13 | files_bins = ['extract_dca', 'extract_dcs', 'dcadec', 'dcsdec'] 14 | files_devel = ['include/dca.h', 'include/dts.h', 15 | 'lib/pkgconfig/libdca.pc', 'lib/pkgconfig/libdts.pc'] 16 | 17 | def prepare(self): 18 | if self.config.target_platform == Platform.ANDROID: 19 | self.configure_options += ' --disable-oss' 20 | -------------------------------------------------------------------------------- /recipes/libdca/0001-Disable-AC_C_ALWAYS_INLINE.patch: -------------------------------------------------------------------------------- 1 | From e5c66f0aea6ad8ed7fb7915fe83050b0f937065e Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 23 Sep 2013 10:31:01 +0200 4 | Subject: [PATCH] Disable AC_C_ALWAYS_INLINE 5 | 6 | It causes errors with the new Xcode 5.0 toolchain and is not necessarily 7 | useful anyway 8 | --- 9 | configure.ac | 1 - 10 | 1 file changed, 1 deletion(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index 11e32f0..97fa5a0 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -105,7 +105,6 @@ AC_CHECK_GENERATE_INTTYPES([include]) 17 | 18 | dnl Checks for typedefs, structures, and compiler characteristics. 19 | AC_C_CONST 20 | -AC_C_ALWAYS_INLINE 21 | AC_C_RESTRICT 22 | AC_C_BUILTIN_EXPECT 23 | AC_TYPE_SIZE_T 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/libdv/0006-Add-the-pthread-libs-to-pkg-config.patch: -------------------------------------------------------------------------------- 1 | From 0e925478a129657c449798e151b51fdee8b476ed Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 14 Nov 2012 12:15:50 +0100 4 | Subject: [PATCH 06/14] Add the pthread libs to pkg-config 5 | 6 | --- 7 | libdv.pc.in | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/libdv.pc.in b/libdv.pc.in 11 | index 2f1ecb9..a98f6e8 100644 12 | --- a/libdv.pc.in 13 | +++ b/libdv.pc.in 14 | @@ -7,5 +7,5 @@ Name: libdv 15 | Description: DV software codec 16 | Requires: 17 | Version: @VERSION@ 18 | -Libs: -L${libdir} -ldv -lm @REQUIRES_NOPKGCONFIG@ 19 | +Libs: -L${libdir} -ldv -lm @PTHREAD_LIBS@ @REQUIRES_NOPKGCONFIG@ 20 | Cflags: -I${includedir} 21 | -- 22 | 2.1.4 23 | 24 | -------------------------------------------------------------------------------- /recipes/libdv/0012-Build-a-DLL-on-Windows.patch: -------------------------------------------------------------------------------- 1 | From 041cc9e9a878f8357781154efe4ebe9e7b701e86 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 28 Nov 2012 11:51:26 +0100 4 | Subject: [PATCH 12/14] Build a DLL on Windows 5 | 6 | --- 7 | libdv/Makefile.am | 2 +- 8 | 2 files changed, 3 insertions(+), 3 deletions(-) 9 | 10 | diff --git a/libdv/Makefile.am b/libdv/Makefile.am 11 | index c5955ad..05f23da 100644 12 | --- a/libdv/Makefile.am 13 | +++ b/libdv/Makefile.am 14 | @@ -59,7 +59,7 @@ libdv_la_SOURCES= dv.c dct.c idct_248.c weighting.c quant.c vlc.c place.c \ 15 | encode.c headers.c enc_input.c enc_audio_input.c enc_output.c \ 16 | $(libdv_la_ASMS) 17 | 18 | -libdv_la_LDFLAGS = -version-info 4:3:0 19 | +libdv_la_LDFLAGS = -version-info 4:3:0 -no-undefined 20 | libdv_la_LIBADD = $(PTHREAD_LIBS) 21 | 22 | dovlc_SOURCES= dovlc.c 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libdv/0014-libdv-fix-build-of-gasmoff-after-autoreconf.patch: -------------------------------------------------------------------------------- 1 | From 948a9618bb75ac3dede70567b8d2337dacb7d881 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Mon, 8 Apr 2013 15:28:41 +0200 4 | Subject: [PATCH 14/14] libdv: fix build of gasmoff after autoreconf 5 | 6 | This makes it build with -DHAVE_CONFIG_H and sets the correct 7 | endianess building after autoreconf 8 | --- 9 | libdv/Makefile.am | 3 +-- 10 | 1 file changed, 1 insertion(+), 2 deletions(-) 11 | 12 | diff --git a/libdv/Makefile.am b/libdv/Makefile.am 13 | index 05f23da..9b9132c 100644 14 | --- a/libdv/Makefile.am 15 | +++ b/libdv/Makefile.am 16 | @@ -15,8 +15,7 @@ if HOST_X86_64 17 | GASMOFF=gasmoff 18 | endif # HOST_X86_64 19 | 20 | - 21 | -noinst_PROGRAMS= #dovlc testvlc testbitstream $(GASMOFF) recode reppm enctest 22 | +noinst_PROGRAMS= $(GASMOFF) #dovlc testvlc testbitstream $(GASMOFF) recode reppm enctest 23 | 24 | # 25 | # If HOST_X86 is set, we build all the x86 asm stuff.. 26 | -- 27 | 2.1.4 28 | 29 | -------------------------------------------------------------------------------- /recipes/libdvdnav.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libdvdnav' 6 | version = '5.0.1' 7 | stype = SourceType.TARBALL 8 | url = 'http://www.videolan.org/pub/videolan/libdvdnav/5.0.1/libdvdnav-5.0.1.tar.bz2' 9 | licenses = [License.GPLv2Plus] 10 | autoreconf = True 11 | deps = ['libdvdread'] 12 | patches = ['libdvdnav/0001-Fix-linking-in-windows-compilation.patch', 13 | 'libdvdnav/0002-Build-DLLs-on-Windows.patch', 14 | ] 15 | 16 | files_libs = ['libdvdnav'] 17 | files_devel = ['include/dvdnav', 'lib/pkgconfig/dvdnav.pc'] 18 | 19 | -------------------------------------------------------------------------------- /recipes/libdvdnav/0001-Fix-linking-in-windows-compilation.patch: -------------------------------------------------------------------------------- 1 | From 72c9cf274021a795ee54a8da308eb249126e3b5f Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Wed, 29 Feb 2012 18:12:14 +0100 4 | Subject: [PATCH 1/2] Fix linking in windows compilation 5 | 6 | --- 7 | Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index 89bfd9d..555df61 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -36,7 +36,7 @@ libdvdnav_la_SOURCES = \ 15 | 16 | libdvdnav_la_LDFLAGS = \ 17 | -version-info $(DVDNAV_LT_CURRENT):$(DVDNAV_LT_REVISION):$(DVDNAV_LT_AGE) \ 18 | - -export-symbols-regex "^dvdnav" 19 | + -export-symbols-regex "^dvdnav" $(DVDREAD_LIBS) 20 | libdvdnav_la_LIBADD = $(THREAD_LIBS) $(DVDREAD_LIBS) 21 | 22 | pkgincludedir = $(includedir)/dvdnav 23 | -- 24 | 2.11.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/libdvdread.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libdvdread' 6 | version = '5.0.0' 7 | stype = SourceType.TARBALL 8 | url = 'http://www.videolan.org/pub/videolan/libdvdread/5.0.0/libdvdread-5.0.0.tar.bz2' 9 | licenses = [License.GPLv2Plus] 10 | autoreconf = True 11 | patches = ['libdvdread/0001-Fix-compilation-on-Windows-by-including-files-with-t.patch', 12 | 'libdvdread/0002-Build-DLLs-on-Windows.patch', 13 | ] 14 | configure_options = ' --enable-static --enable-shared ' 15 | 16 | files_libs = ['libdvdread'] 17 | files_devel = ['include/dvdread', 'lib/pkgconfig/dvdread.pc'] 18 | -------------------------------------------------------------------------------- /recipes/libdvdread/0001-Fix-compilation-on-Windows-by-including-files-with-t.patch: -------------------------------------------------------------------------------- 1 | From 7cab33a1cb7a9fe6a5376c6f2f37403a83b21840 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Fri, 9 Dec 2016 15:20:35 +0200 4 | Subject: [PATCH] Fix compilation on Windows by including files with the 5 | correct relative path 6 | 7 | --- 8 | src/dvd_input.c | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/src/dvd_input.c b/src/dvd_input.c 12 | index e021098..10f0c5c 100644 13 | --- a/src/dvd_input.c 14 | +++ b/src/dvd_input.c 15 | @@ -53,7 +53,7 @@ char * (*dvdinput_error) (dvd_input_t); 16 | # else 17 | # if defined(WIN32) 18 | /* Only needed on MINGW at the moment */ 19 | -# include "../msvc/contrib/dlfcn.c" 20 | +# include "../msvc/msvc/contrib/dlfcn.c" 21 | # endif 22 | #endif 23 | 24 | -- 25 | 2.11.0 26 | 27 | -------------------------------------------------------------------------------- /recipes/libiconv/0003-stdint-fix-build-with-Android-s-Bionic-fox-x86.patch: -------------------------------------------------------------------------------- 1 | From 553f9a811245684009c4588a90afbdfa2a42e2dc Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 15 Jan 2013 11:41:52 +0100 4 | Subject: [PATCH 3/3] stdint: fix build with Android's Bionic fox x86 5 | 6 | * lib/stdint.in.h: fix check to test if included-fixed/sys/types.h 7 | was already included as _SSIZE_T_DEFINED_ might also be defined 8 | in include/machine/_types.h, which is included by stdio.h 9 | 10 | Signed-off-by: Eric Blake 11 | --- 12 | srclib/stdint.in.h | 2 +- 13 | 1 file changed, 1 insertion(+), 1 deletion(-) 14 | 15 | diff --git a/srclib/stdint.in.h b/srclib/stdint.in.h 16 | index bd62bea..1ada667 100644 17 | --- a/srclib/stdint.in.h 18 | +++ b/srclib/stdint.in.h 19 | @@ -40,7 +40,7 @@ 20 | Ideally we should test __BIONIC__ here, but it is only defined after 21 | has been included; hence test __ANDROID__ instead. */ 22 | #if defined __ANDROID__ \ 23 | - && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ 24 | + && defined _SYS_TYPES_H_ && !defined __need_size_t 25 | # @INCLUDE_NEXT@ @NEXT_STDINT_H@ 26 | #else 27 | 28 | -- 29 | 1.8.1.2 30 | 31 | -------------------------------------------------------------------------------- /recipes/libiconv/0004-lib-Only-rename-locale_charset-for-libiconv-not-libc.patch: -------------------------------------------------------------------------------- 1 | From 9dd3534f278e4104b1d6a2d1e8d5ec5da82ee9e7 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Fri, 14 Aug 2015 13:41:59 +0200 4 | Subject: [PATCH] lib: Only rename locale_charset() for libiconv, not 5 | libcharset 6 | 7 | If we rename it for both, both will still conflict with each other. 8 | locale_charset() is public API of libcharset but not libiconv, so rename it 9 | for libiconv. 10 | --- 11 | lib/Makefile.in | 2 +- 12 | 1 file changed, 1 insertion(+), 1 deletion(-) 13 | 14 | diff --git a/lib/Makefile.in b/lib/Makefile.in 15 | index a538cce..5657510 100644 16 | --- a/lib/Makefile.in 17 | +++ b/lib/Makefile.in 18 | @@ -13,7 +13,7 @@ libdir = @libdir@ 19 | 20 | # Programs used by "make": 21 | CC = @CC@ 22 | -CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@ 23 | +CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@ -Dlocale_charset=iconv_locale_charset 24 | CPPFLAGS = @CPPFLAGS@ 25 | LDFLAGS = @LDFLAGS@ $(LDFLAGS_@WOE32DLL@) 26 | LDFLAGS_yes = -Wl,--export-all-symbols 27 | -- 28 | 2.5.0 29 | 30 | -------------------------------------------------------------------------------- /recipes/libjpeg-turbo.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libjpeg-turbo' 6 | version = '1.5.1' 7 | licenses = [License.BSD_like] 8 | stype = SourceType.TARBALL 9 | configure_tpl = "%(config-sh)s --prefix=%(prefix)s "\ 10 | "--libdir=%(libdir)s" 11 | configure_options = " --with-jpeg8" 12 | autoreconf = True 13 | url = 'http://downloads.sourceforge.net/project/libjpeg-turbo/1.5.1/libjpeg-turbo-1.5.1.tar.gz' 14 | patches = ['libjpeg-turbo/0001-Include-limits.h-for-SIZE_MAX.patch'] 15 | 16 | files_libs = ['libjpeg','libturbojpeg'] 17 | files_devel = ['include/jpeglib.h', 'include/jerror.h', 'include/jconfig.h', 18 | 'include/jmorecfg.h','include/turbojpeg.h'] 19 | 20 | def prepare(self): 21 | if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: 22 | # avoid using xcode's nasm (doesn't support nasm-like arguments) 23 | # instead use cerbero's yasm 24 | self.new_env['NASM'] = 'yasm' 25 | -------------------------------------------------------------------------------- /recipes/libjpeg-turbo/0001-Include-limits.h-for-SIZE_MAX.patch: -------------------------------------------------------------------------------- 1 | From 748e7f74c02b0cb52c708ff231704fdabb40baee Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 14 Dec 2016 12:22:42 +0200 4 | Subject: [PATCH] Include limits.h for SIZE_MAX 5 | 6 | Otherwise compilation fails on Android. 7 | --- 8 | jmemmgr.c | 1 + 9 | 1 file changed, 1 insertion(+) 10 | 11 | diff --git a/jmemmgr.c b/jmemmgr.c 12 | index adccbdf..b17c5c5 100644 13 | --- a/jmemmgr.c 14 | +++ b/jmemmgr.c 15 | @@ -33,6 +33,7 @@ 16 | #include "jpeglib.h" 17 | #include "jmemsys.h" /* import the system-dependent declarations */ 18 | #include 19 | +#include 20 | 21 | #ifndef NO_GETENV 22 | #ifndef HAVE_STDLIB_H /* should declare getenv() */ 23 | -- 24 | 2.11.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/libkate.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libkate' 6 | version = '0.4.1' 7 | stype = SourceType.TARBALL 8 | url = 'http://downloads.xiph.org/releases/kate/libkate-0.4.1.tar.gz' 9 | licenses = [License.BSD_like] 10 | deps = ['libogg', 'libpng'] 11 | patches = ['libkate/0001-be-more-permissive-with-automake-errors-now-that-we-.patch'] 12 | 13 | files_libs = ['libkate', 'liboggkate'] 14 | files_devel = ['include/kate', 'lib/pkgconfig/kate.pc', 'lib/pkgconfig/oggkate.pc'] 15 | autoreconf = True 16 | 17 | def prepare(self): 18 | if self.config.target_distro == Distro.ARCH: 19 | self.append_env = {'LDFLAGS': '-Wl,-O1,--sort-common,--as-needed,-z,relro'} 20 | -------------------------------------------------------------------------------- /recipes/libkate/0001-be-more-permissive-with-automake-errors-now-that-we-.patch: -------------------------------------------------------------------------------- 1 | From 7da1af870dad6a6f2f781f8cddbc061755492b06 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Fri, 26 Oct 2012 03:01:13 +0200 4 | Subject: [PATCH] be more permissive with automake errors now that we use 5 | automake 1.12 6 | 7 | --- 8 | configure.ac | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/configure.ac b/configure.ac 12 | index 58ff478..2bbf6dd 100644 13 | --- a/configure.ac 14 | +++ b/configure.ac 15 | @@ -7,7 +7,7 @@ AC_PREREQ(2.53) 16 | 17 | AC_CANONICAL_TARGET 18 | 19 | -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) 20 | +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) 21 | AC_CONFIG_HEADERS([include/config.h]) 22 | 23 | ifdef([AM_SILENT_RULES],[AM_SILENT_RULES]) 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/libmad/0001-Delete-invalid-compile-option.patch: -------------------------------------------------------------------------------- 1 | From 1ca08c65419accec3bedc571c327dbccc7f1d656 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Fri, 24 Feb 2012 11:39:38 +0100 4 | Subject: [PATCH 1/4] Delete invalid compile option 5 | 6 | --- 7 | configure | 1 - 8 | configure.ac | 1 - 9 | 2 files changed, 2 deletions(-) 10 | 11 | diff --git a/configure b/configure 12 | index ee421cc..5f29d76 100755 13 | --- a/configure 14 | +++ b/configure 15 | @@ -19099,7 +19099,6 @@ then 16 | case "$optimize" in 17 | -O|"-O "*) 18 | optimize="-O" 19 | - optimize="$optimize -fforce-mem" 20 | optimize="$optimize -fforce-addr" 21 | : #x optimize="$optimize -finline-functions" 22 | : #- optimize="$optimize -fstrength-reduce" 23 | diff --git a/configure.ac b/configure.ac 24 | index 9b79399..7608315 100644 25 | --- a/configure.ac 26 | +++ b/configure.ac 27 | @@ -140,7 +140,6 @@ then 28 | case "$optimize" in 29 | -O|"-O "*) 30 | optimize="-O" 31 | - optimize="$optimize -fforce-mem" 32 | optimize="$optimize -fforce-addr" 33 | : #x optimize="$optimize -finline-functions" 34 | : #- optimize="$optimize -fstrength-reduce" 35 | -- 36 | 2.1.0 37 | 38 | -------------------------------------------------------------------------------- /recipes/libmad/0002-fix-autoreconf.patch: -------------------------------------------------------------------------------- 1 | From cfdd83e5ab8027e8dfe3c033a3db79df1079d6ba Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Mon, 10 Sep 2012 12:03:05 +0200 4 | Subject: [PATCH 2/4] fix autoreconf 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 7608315..4fcd48b 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -26,7 +26,7 @@ AC_PREREQ(2.53) 15 | 16 | AC_CONFIG_SRCDIR([decoder.h]) 17 | 18 | -AM_INIT_AUTOMAKE 19 | +AM_INIT_AUTOMAKE([foreign]) 20 | 21 | AM_CONFIG_HEADER([config.h]) 22 | 23 | -- 24 | 2.1.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/libmad/0003-ARM-Fix-build-without-the-Thumb-mode.patch: -------------------------------------------------------------------------------- 1 | From 0e06e5f0d92fc82081f3c73ecad1be57e56039a8 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 26 Feb 2013 16:32:57 +0100 4 | Subject: [PATCH 3/4] ARM: Fix build without the Thumb mode 5 | 6 | --- 7 | imdct_l_arm.S | 7 +++++-- 8 | 1 file changed, 5 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/imdct_l_arm.S b/imdct_l_arm.S 11 | index badec5b..69aa21d 100644 12 | --- a/imdct_l_arm.S 13 | +++ b/imdct_l_arm.S 14 | @@ -468,8 +468,11 @@ _III_imdct_l: 15 | 16 | @---- 17 | 18 | - add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?) 19 | - 20 | +#ifdef __thumb__ 21 | + adr r2, imdct36_long_karray 22 | +#else 23 | + add r2, pc, #(imdct36_long_karray-.-8) @ r2 = base address of Knn array (PIC safe ?) 24 | +#endif 25 | 26 | loop: 27 | ldr r12, [r0, #X0] 28 | -- 29 | 2.1.0 30 | 31 | -------------------------------------------------------------------------------- /recipes/libmms.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'libmms' 5 | version = '0.6.4' 6 | stype = SourceType.TARBALL 7 | url = 'http://sourceforge.net/projects/libmms/files/libmms/0.6.4/libmms-0.6.4.tar.gz' 8 | licenses = [License.LGPLv2_1Plus] 9 | patches = ['libmms/0001-Use-native-iconv-in-windows.patch', 10 | 'libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch', 11 | 'libmms/0005-Fix-build-on-OSX-leopard.patch'] 12 | autoreconf = True 13 | files_libs = ['libmms'] 14 | files_devel = ['include/libmms', 'lib/pkgconfig/libmms.pc'] 15 | 16 | def prepare(self): 17 | if self.config.target_platform == Platform.ANDROID: 18 | self.append_env = {'LDFLAGS': '-liconv'} 19 | -------------------------------------------------------------------------------- /recipes/libmms/0001-Use-native-iconv-in-windows.patch: -------------------------------------------------------------------------------- 1 | From f220eeb873699fe8492824b26d3f4ac1e4779df2 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Thu, 5 Apr 2012 03:13:02 +0200 4 | Subject: [PATCH 1/5] Use native iconv in windows 5 | 6 | --- 7 | configure.in | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.in b/configure.in 11 | index 3d0aba4..2d456a9 100644 12 | --- a/configure.in 13 | +++ b/configure.in 14 | @@ -20,7 +20,7 @@ case $host in 15 | AC_DEFINE([BEOS],1,[Define if compiling on BeOS system.]) 16 | ;; 17 | *mingw*) 18 | - MMS_LIBS="$MMS_LIBS -lws2_32" 19 | + MMS_LIBS="$MMS_LIBS -lws2_32 -liconv" 20 | dnl Needed for getaddrinfo under mingw 21 | MMS_CFLAGS="-DWINVER=0x0600 -D_WIN32_WINNT=0x0600" 22 | ;; 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libmms/0002-uri-Add-implementation-of-strndup-for-platforms-that.patch: -------------------------------------------------------------------------------- 1 | From a5857c5a7e5f24b520d2aa98a9deb770835e1f98 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Mon, 18 May 2015 11:49:09 +0200 4 | Subject: [PATCH] uri: Add implementation of strndup for platforms that do not 5 | have it 6 | 7 | Like mingw 8 | --- 9 | src/uri.c | 19 +++++++++++++++++++ 10 | 1 file changed, 19 insertions(+) 11 | 12 | diff --git a/src/uri.c b/src/uri.c 13 | index a96b900..ff823eb 100644 14 | --- a/src/uri.c 15 | +++ b/src/uri.c 16 | @@ -26,6 +26,25 @@ 17 | #define TRUE 1 18 | #endif 19 | 20 | +#ifndef strdup 21 | +/** 22 | + * return a malloc'd copy of at most the specified 23 | + * number of bytes of a string 24 | + * @author glibc-Team 25 | + */ 26 | +char *strndup (const char *s, size_t n) 27 | +{ 28 | + size_t len = strnlen (s, n); 29 | + char *new = (char *) malloc (len + 1); 30 | + 31 | + if (new == NULL) 32 | + return NULL; 33 | + 34 | + new[len] = '\0'; 35 | + return (char *) memcpy (new, s, len); 36 | +} 37 | +#endif 38 | + 39 | #define g_strdup strdup 40 | #define g_strndup strndup 41 | #define g_malloc malloc 42 | -- 43 | 2.1.0 44 | 45 | -------------------------------------------------------------------------------- /recipes/libmms/0005-Fix-build-on-OSX-leopard.patch: -------------------------------------------------------------------------------- 1 | From 7c9c7fdee52e8632b1866ffc52f711b20f335831 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Tue, 29 May 2012 13:07:02 +0200 4 | Subject: [PATCH 5/5] Fix build on OSX leopard 5 | 6 | --- 7 | src/mms.h | 5 +++++ 8 | 1 file changed, 5 insertions(+) 9 | 10 | diff --git a/src/mms.h b/src/mms.h 11 | index 7e9a9c8..ea15fb9 100644 12 | --- a/src/mms.h 13 | +++ b/src/mms.h 14 | @@ -22,6 +22,11 @@ 15 | * libmms public header 16 | */ 17 | 18 | +#ifndef AI_NUMERICSERV 19 | +#define AI_NUMERICSERV 0 20 | +#endif 21 | + 22 | + 23 | #ifndef HAVE_MMS_H 24 | #define HAVE_MMS_H 25 | 26 | -- 27 | 2.1.4 28 | 29 | -------------------------------------------------------------------------------- /recipes/libmpeg2/0001-Disable-AC_C_ALWAYS_INLINE.patch: -------------------------------------------------------------------------------- 1 | From d2e07e1324684e0f40be42c64870bf3b59489253 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 23 Sep 2013 12:40:22 +0200 4 | Subject: [PATCH 1/2] Disable AC_C_ALWAYS_INLINE 5 | 6 | It causes errors with the new Xcode 5.0 toolchain and is not necessarily 7 | useful anyway 8 | --- 9 | configure.ac | 1 - 10 | 1 file changed, 1 deletion(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index 9f4831e..fd4196f 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -142,7 +142,6 @@ AC_CHECK_GENERATE_INTTYPES([include]) 17 | 18 | dnl Checks for typedefs, structures, and compiler characteristics. 19 | AC_C_CONST 20 | -AC_C_ALWAYS_INLINE 21 | AC_C_RESTRICT 22 | AC_C_BUILTIN_EXPECT 23 | AC_C_BIGENDIAN 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/libnice/0004-Removing-no-op-assignment.patch: -------------------------------------------------------------------------------- 1 | From 6a8c63219c632c27707267b6510dca096c6fd511 Mon Sep 17 00:00:00 2001 2 | From: Youness Alaoui 3 | Date: Tue, 5 May 2015 15:07:10 -0400 4 | Subject: [PATCH 4/4] Removing no-op assignment 5 | 6 | --- 7 | agent/agent.c | 1 - 8 | 1 file changed, 1 deletion(-) 9 | 10 | diff --git a/agent/agent.c b/agent/agent.c 11 | index 38b679f..84d4093 100644 12 | --- a/agent/agent.c 13 | +++ b/agent/agent.c 14 | @@ -3051,7 +3051,6 @@ static gboolean priv_add_remote_candidate ( 15 | username, password, priority); 16 | } 17 | /* case 1: an existing candidate, update the attributes */ 18 | - candidate->type = type; 19 | if (base_addr) 20 | candidate->base_addr = *base_addr; 21 | candidate->priority = priority; 22 | -- 23 | 2.3.2 (Apple Git-55) 24 | 25 | -------------------------------------------------------------------------------- /recipes/libogg.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import shell 3 | 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'libogg' 7 | version = '1.3.2' 8 | stype = SourceType.TARBALL 9 | url = 'http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz' 10 | licenses = [License.BSD_like] 11 | autoreconf = True 12 | patches = ['libogg/0001-Fix-iOS-build.patch'] 13 | 14 | files_libs = ['libogg'] 15 | files_devel = ['include/ogg', 'lib/pkgconfig/ogg.pc', 'share/aclocal/ogg.m4'] 16 | 17 | def configure(self): 18 | if self.config.target_platform == Platform.IOS: 19 | if Architecture.is_arm(self.config.target_arch): 20 | # These optimizations make the linker think the object file is not 21 | # for the arm architecture 22 | shell.replace (os.path.join(self.build_dir, 'configure.in'), 23 | {'-O4': '-O2'}) 24 | super(recipe.Recipe, self).configure() 25 | -------------------------------------------------------------------------------- /recipes/libogg/0001-Fix-iOS-build.patch: -------------------------------------------------------------------------------- 1 | From 46775ca626f2c462b17d0978d6c36ea73dbca705 Mon Sep 17 00:00:00 2001 2 | From: Thibault Saunier 3 | Date: Fri, 25 Jan 2013 14:38:05 -0300 4 | Subject: [PATCH] Fix iOS build 5 | 6 | --- 7 | src/Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/src/Makefile.am b/src/Makefile.am 11 | index b207e78..98073da 100644 12 | --- a/src/Makefile.am 13 | +++ b/src/Makefile.am 14 | @@ -9,7 +9,7 @@ libogg_la_LDFLAGS = -no-undefined -version-info @LIB_CURRENT@:@LIB_REVISION@:@LI 15 | 16 | # build and run the self tests on 'make check' 17 | 18 | -noinst_PROGRAMS = test_bitwise test_framing 19 | +check_PROGRAMS = test_bitwise test_framing 20 | 21 | test_bitwise_SOURCES = bitwise.c 22 | test_bitwise_CFLAGS = -D_V_SELFTEST 23 | -- 24 | 1.8.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libpng/libpng.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libpng' 6 | version = '1.6.26' 7 | stype = SourceType.TARBALL 8 | url = 'http://download.sourceforge.net/libpng/libpng-1.6.26.tar.xz' 9 | licenses = [License.LibPNG] 10 | deps = ['zlib'] 11 | patches = ['0001-neon-fix-function-export-names-for-iOS-armv7.patch'] 12 | 13 | files_libs = ['libpng16'] 14 | files_devel = ['include/libpng16', 'bin/libpng16-config', 15 | 'lib/pkgconfig/libpng16.pc', 'lib/pkgconfig/libpng.pc'] 16 | 17 | def prepare(self): 18 | if self.config.target_platform == Platform.IOS: 19 | if 'GAS' in os.environ: 20 | self.new_env = {'CCAS': os.environ['GAS']} 21 | self.new_env['CCAS'] += ' -no-integrated-as ' 22 | if self.config.target_arch == Architecture.ARM64: 23 | self.configure_options += ' --disable-arm-neon ' 24 | -------------------------------------------------------------------------------- /recipes/librsvg.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'librsvg' 5 | version = '2.40.16' 6 | licenses = [License.LGPLv2] 7 | deps = ['libcroco', 'gdk-pixbuf', 'vala-m4', 'gobject-introspection-m4', 'pango', 'cairo'] 8 | autoreconf = True 9 | autoreconf_sh = 'mkdir -p m4 && autoreconf -fiv' 10 | stype = SourceType.TARBALL 11 | url = 'http://ftp.acc.umu.se/pub/GNOME/sources/librsvg/2.40/librsvg-%(version)s.tar.xz' 12 | 13 | files_libs = ['librsvg-2'] 14 | files_bins = ['rsvg-convert'] 15 | files_loader = [] 16 | files_devel = ['include/librsvg-2.0/librsvg/*.h', 17 | 'lib/pkgconfig/librsvg-2.0.pc', 18 | 'lib/librsvg-2.a', 'lib/librsvg-2.la'] 19 | files_typelibs = ['Rsvg-2.0'] 20 | # GTK3 support just builds rsvg-view-3, which is useless for Cerbero 21 | configure_options = ' --disable-pixbuf-loader --without-gtk3 ' 22 | 23 | patches = ['librsvg/option-enable-disable-gtk.patch', 24 | 'librsvg/0001-Use-ACLOCAL_FLAGS.patch' 25 | ] 26 | 27 | def prepare(self): 28 | if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: 29 | self.configure_options += ' --disable-Bsymbolic' 30 | -------------------------------------------------------------------------------- /recipes/librsvg/0001-Use-ACLOCAL_FLAGS.patch: -------------------------------------------------------------------------------- 1 | From db4611d135c892e057cbe12613d7daa8898aad1a Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Mon, 6 Apr 2015 10:32:45 +0200 4 | Subject: [PATCH] Use ACLOCAL_FLAGS 5 | 6 | --- 7 | Makefile.am | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index 361fecc..c88cc56 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -3,6 +3,8 @@ SUBDIRS = . gdk-pixbuf-loader tests tools doc 15 | NULL = 16 | BUILT_SOURCES = 17 | 18 | +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} 19 | + 20 | lib_LTLIBRARIES = librsvg-@RSVG_API_MAJOR_VERSION@.la 21 | 22 | bin_PROGRAMS = rsvg-convert 23 | -- 24 | 2.1.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/libshout.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'libshout' 6 | version = '2.4.1' 7 | stype = SourceType.TARBALL 8 | url = 'http://downloads.xiph.org/releases/libshout/libshout-2.4.1.tar.gz' 9 | licenses = [License.LGPLv2Plus] 10 | deps = ['libtheora', 'libogg', 'libvorbis', 'speex'] 11 | 12 | files_libs = ['libshout'] 13 | files_devel = ['include/shout', 'lib/pkgconfig/shout.pc'] 14 | -------------------------------------------------------------------------------- /recipes/libsoup/0002-Don-t-build-tests.patch: -------------------------------------------------------------------------------- 1 | From bb3cfc0e16e592e93bcda45ecab61ce5d9bc3009 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Thu, 1 Mar 2012 03:39:51 +0100 4 | Subject: [PATCH 2/2] Don't build tests 5 | 6 | --- 7 | Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index a99287c..a7ddcf2 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -1,7 +1,7 @@ 15 | ## Process this file with automake to produce Makefile.in 16 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} 17 | 18 | -SUBDIRS = libsoup po tests examples docs build/win32 19 | +SUBDIRS = libsoup po examples docs build/win32 20 | 21 | EXTRA_DIST = \ 22 | data/effective_tld_names.dat \ 23 | -- 24 | 2.11.0 25 | 26 | -------------------------------------------------------------------------------- /recipes/libsrtp/0001-Don-t-create-a-symlink-if-there-is-no-SHAREDLIBVERSI.patch: -------------------------------------------------------------------------------- 1 | From fa772c2e3d41de4cdd587700f567b5aff59452bb Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 24 Feb 2016 11:23:28 +0200 4 | Subject: [PATCH] Don't create a symlink if there is no $(SHAREDLIBVERSION) 5 | 6 | Otherwise we create a symlink with the same name as the target, which will 7 | create a symlink pointing to itself. 8 | --- 9 | Makefile.in | 4 +++- 10 | 1 file changed, 3 insertions(+), 1 deletion(-) 11 | 12 | diff --git a/Makefile.in b/Makefile.in 13 | index d9b2c4f..c0a67be 100644 14 | --- a/Makefile.in 15 | +++ b/Makefile.in 16 | @@ -273,7 +273,9 @@ install: 17 | if [ -f libsrtp.$(SHAREDLIBSUFFIX) ]; then \ 18 | $(INSTALL) -d $(DESTDIR)$(SHAREDLIB_DIR); \ 19 | cp libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/; \ 20 | - ln -sfn libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/libsrtp.$(SHAREDLIBSUFFIXNOVER); \ 21 | + if [ -n "$(SHAREDLIBVERSION)" ]; then \ 22 | + ln -sfn libsrtp.$(SHAREDLIBSUFFIX) $(DESTDIR)$(SHAREDLIB_DIR)/libsrtp.$(SHAREDLIBSUFFIXNOVER); \ 23 | + fi; \ 24 | fi 25 | if [ "$(pkgconfig_DATA)" != "" ]; then \ 26 | $(INSTALL) -d $(DESTDIR)$(pkgconfigdir); \ 27 | -- 28 | 2.7.0 29 | 30 | -------------------------------------------------------------------------------- /recipes/libtasn1.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | from cerbero.utils import needs_xcode8_sdk_workaround 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'libtasn1' 7 | version = '4.10' 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.gnu.org/gnu/libtasn1/libtasn1-{0}.tar.gz'.format(version) 10 | licenses = [License.LGPLv2_1Plus] 11 | autoreconf = True 12 | patches = ['libtasn1/0001-Rename-gnulib-symbols.patch'] 13 | configure_options = '--disable-doc' 14 | 15 | files_libs = ['libtasn1'] 16 | files_devel = ['include/libtasn1.h', 'lib/pkgconfig/libtasn1.pc'] 17 | 18 | def prepare(self): 19 | # Don't make compiler warnings errors, there are quite a few 20 | # depending on the compiler used 21 | self.append_env['CFLAGS'] = ' -Wno-error ' 22 | if needs_xcode8_sdk_workaround(self.config): 23 | self.append_env['ac_cv_func_clock_gettime'] = 'no' 24 | -------------------------------------------------------------------------------- /recipes/libtheora/0003-Fix-linking-of-theora-encoder-library.patch: -------------------------------------------------------------------------------- 1 | From b76bd2eedc46aa9c1c2dfbefc473bccf69b8712f Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 22 Aug 2012 15:58:57 +0200 4 | Subject: [PATCH 3/6] Fix linking of theora encoder library 5 | 6 | --- 7 | lib/Makefile.am | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/lib/Makefile.am b/lib/Makefile.am 11 | index 89ce261..88c4990 100644 12 | --- a/lib/Makefile.am 13 | +++ b/lib/Makefile.am 14 | @@ -78,6 +78,7 @@ encoder_uniq_sources = \ 15 | encoder_sources = \ 16 | apiwrapper.c \ 17 | fragment.c \ 18 | + info.c \ 19 | idct.c \ 20 | internal.c \ 21 | state.c \ 22 | -- 23 | 1.8.3.1 24 | 25 | -------------------------------------------------------------------------------- /recipes/libtheora/0004-Use-our-automake-version-and-not-an-older-one.patch: -------------------------------------------------------------------------------- 1 | From a5bcb0eaa7fc9ef4136dbee9eeed4a9814ea0c01 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Fri, 25 Jan 2013 16:35:36 +0100 4 | Subject: [PATCH 4/6] Use our automake version and not an older one 5 | 6 | --- 7 | Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/Makefile.am b/Makefile.am 11 | index d833491..d888e11 100644 12 | --- a/Makefile.am 13 | +++ b/Makefile.am 14 | @@ -1,6 +1,6 @@ 15 | ## Process this file with automake to produce Makefile.in 16 | 17 | -AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2 18 | +AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2 19 | 20 | if THEORA_ENABLE_EXAMPLES 21 | EXAMPLES_DIR = examples 22 | -- 23 | 1.8.3.1 24 | 25 | -------------------------------------------------------------------------------- /recipes/libtheora/0006-examples-Don-t-use-png_sizeof.patch: -------------------------------------------------------------------------------- 1 | From 51fe3dbf5429c4d7a37ce348b0947a60f1c36ee6 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Mon, 7 Oct 2013 13:15:20 +0200 4 | Subject: [PATCH 6/6] examples: Don't use png_sizeof 5 | 6 | --- 7 | examples/png2theora.c | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/examples/png2theora.c b/examples/png2theora.c 11 | index 71a0d0f..ed24c2a 100644 12 | --- a/examples/png2theora.c 13 | +++ b/examples/png2theora.c 14 | @@ -462,9 +462,9 @@ png_read(const char *pathname, unsigned int *w, unsigned int *h, unsigned char * 15 | png_set_strip_alpha(png_ptr); 16 | 17 | row_data = (png_bytep)png_malloc(png_ptr, 18 | - 3*height*width*png_sizeof(*row_data)); 19 | + 3*height*width*sizeof(*row_data)); 20 | row_pointers = (png_bytep *)png_malloc(png_ptr, 21 | - height*png_sizeof(*row_pointers)); 22 | + height*sizeof(*row_pointers)); 23 | for(y = 0; y < height; y++) { 24 | row_pointers[y] = row_data + y*(3*width); 25 | } 26 | -- 27 | 1.8.3.1 28 | 29 | -------------------------------------------------------------------------------- /recipes/libunwind.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'libunwind' 5 | version = '1.1' 6 | licenses = [License.MIT] 7 | stype = SourceType.TARBALL 8 | url = 'http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz' 9 | 10 | files_libs = ['libunwind'] 11 | files_devel = ['include/libunwind-*.h', 12 | 'include/unwind.h', 13 | 'lib/pkgconfig/libunwind-*.pc'] 14 | -------------------------------------------------------------------------------- /recipes/libvisual/0005-Fix-compilation-in-win64.patch: -------------------------------------------------------------------------------- 1 | From c801963c33c8e0af15a00f8a733aa83cf9eca297 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 6 Mar 2012 23:53:38 +0100 4 | Subject: [PATCH 05/16] Fix compilation in win64 5 | 6 | --- 7 | libvisual/lv_cpu.c | 4 ++++ 8 | 1 file changed, 4 insertions(+) 9 | 10 | diff --git a/libvisual/lv_cpu.c b/libvisual/lv_cpu.c 11 | index 867bcf2..fe09752 100644 12 | --- a/libvisual/lv_cpu.c 13 | +++ b/libvisual/lv_cpu.c 14 | @@ -115,7 +115,11 @@ static void sigfpe_handler_sse( int signal, struct sigcontext sc ) 15 | LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep) 16 | { 17 | if(ep->ExceptionRecord->ExceptionCode==EXCEPTION_ILLEGAL_INSTRUCTION){ 18 | +#ifdef _WIN64 19 | + ep->ContextRecord->Rip +=3; 20 | +#else 21 | ep->ContextRecord->Eip +=3; 22 | +#endif 23 | __lv_cpu_caps.hasSSE=0; 24 | return EXCEPTION_CONTINUE_EXECUTION; 25 | } 26 | -- 27 | 2.1.4 28 | 29 | -------------------------------------------------------------------------------- /recipes/libvisual/0006-Fix-build-in-PPC.patch: -------------------------------------------------------------------------------- 1 | From 04b4406054ca9ffb5d3edf9206e5cec1529450b9 Mon Sep 17 00:00:00 2001 2 | From: Josep Torra 3 | Date: Mon, 12 Mar 2012 11:00:42 +0100 4 | Subject: [PATCH 06/16] Fix build in PPC. 5 | 6 | --- 7 | libvisual/lv_cpu.c | 2 ++ 8 | 1 file changed, 2 insertions(+) 9 | 10 | diff --git a/libvisual/lv_cpu.c b/libvisual/lv_cpu.c 11 | index fe09752..b6349a0 100644 12 | --- a/libvisual/lv_cpu.c 13 | +++ b/libvisual/lv_cpu.c 14 | @@ -144,7 +144,9 @@ static void sigill_handler (int sig) 15 | __lv_powerpc_canjump = 0; 16 | siglongjmp (__lv_powerpc_jmpbuf, 1); 17 | } 18 | +#endif 19 | 20 | +#if defined(VISUAL_ARCH_POWERPC) 21 | static void check_os_altivec_support( void ) 22 | { 23 | #if defined(VISUAL_OS_DARWIN) 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/libvisual/0008-Remove-malloc-realloc-configure-checks-they-re-broke.patch: -------------------------------------------------------------------------------- 1 | From f4e61c5b501a108384506559a9efd7cd982d863f Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 22 Aug 2012 16:07:39 +0200 4 | Subject: [PATCH 08/16] Remove malloc/realloc configure checks, they're broken 5 | 6 | --- 7 | configure.ac | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index e21483a..9550558 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -139,8 +139,8 @@ AC_MSG_RESULT($lv_have_gnuc_varargs) 15 | AC_C_BIGENDIAN(bigendian=yes, bigendian=no, ) 16 | 17 | # Checks for library functions. 18 | -AC_FUNC_MALLOC 19 | -AC_FUNC_REALLOC 20 | +# AC_FUNC_MALLOC 21 | +# AC_FUNC_REALLOC 22 | AC_FUNC_SELECT_ARGTYPES 23 | AC_CHECK_FUNCS([gettimeofday usleep nanosleep select memset sqrt strdup strndup sysconf sched_setscheduler]) 24 | 25 | -- 26 | 2.1.4 27 | 28 | -------------------------------------------------------------------------------- /recipes/libvisual/0009-Fix-build-for-Android-X86.patch: -------------------------------------------------------------------------------- 1 | From 2c6cabc6012de430556d4d1f2be20b2ac064b9f4 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Thu, 3 Jan 2013 14:32:47 +0100 4 | Subject: [PATCH 09/16] Fix build for Android X86 5 | 6 | --- 7 | libvisual/lv_cpu.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/libvisual/lv_cpu.c b/libvisual/lv_cpu.c 11 | index 123824a..2951dc2 100644 12 | --- a/libvisual/lv_cpu.c 13 | +++ b/libvisual/lv_cpu.c 14 | @@ -76,7 +76,7 @@ static int cpuid (unsigned int ax, unsigned int *p); 15 | 16 | /* The sigill handlers */ 17 | #if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing) 18 | -#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) 19 | +#if defined(VISUAL_OS_LINUX) && (defined(_POSIX_SOURCE) || defined(__BIONIC__)) 20 | static void sigill_handler_sse( int signal, struct sigcontext sc ) 21 | { 22 | /* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1" 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvisual/0011-Fix-autoreconf-when-using-our-gettext-version.patch: -------------------------------------------------------------------------------- 1 | From f376afee5ec28b9cc7bfbcd2bc2eb01fda706470 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Fri, 22 Mar 2013 17:04:13 +0100 4 | Subject: [PATCH 11/16] Fix autoreconf when using our gettext version 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 9550558..843ef9f 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -155,7 +155,7 @@ AC_SUBST(GETTEXT_PACKAGE) 15 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name]) 16 | AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale", [String catalog location]) 17 | AM_GNU_GETTEXT([external]) 18 | -AM_GNU_GETTEXT_VERSION([0.14.1]) 19 | +AM_GNU_GETTEXT_VERSION([0.18.2]) 20 | 21 | dnl ------------------------------- 22 | dnl Check for native thread support 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvisual/0012-configure-gettext-0.18-is-enough-no-0.18.2-needed.patch: -------------------------------------------------------------------------------- 1 | From 6237d4dddc5d9998d025ddf019a09c4bcd4fa217 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 8 Apr 2013 11:55:55 +0200 4 | Subject: [PATCH 12/16] configure: gettext 0.18 is enough, no 0.18.2 needed 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 843ef9f..e89815f 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -155,7 +155,7 @@ AC_SUBST(GETTEXT_PACKAGE) 15 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name]) 16 | AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale", [String catalog location]) 17 | AM_GNU_GETTEXT([external]) 18 | -AM_GNU_GETTEXT_VERSION([0.18.2]) 19 | +AM_GNU_GETTEXT_VERSION([0.18]) 20 | 21 | dnl ------------------------------- 22 | dnl Check for native thread support 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvisual/0013-Include-lv_cpu.h-for-visual_cpu_initialize.patch: -------------------------------------------------------------------------------- 1 | From cbb1056dc4ea4f606556e472dc78ddb09dbf3218 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 22 Sep 2014 10:59:08 +0300 4 | Subject: [PATCH 13/16] Include lv_cpu.h for visual_cpu_initialize() 5 | 6 | --- 7 | libvisual/lv_libvisual.c | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/libvisual/lv_libvisual.c b/libvisual/lv_libvisual.c 11 | index 8de03eb..5d77486 100644 12 | --- a/libvisual/lv_libvisual.c 13 | +++ b/libvisual/lv_libvisual.c 14 | @@ -39,6 +39,7 @@ 15 | #include "lv_log.h" 16 | #include "lv_param.h" 17 | #include "lv_thread.h" 18 | +#include "lv_cpu.h" 19 | #include "config.h" 20 | 21 | 22 | -- 23 | 2.1.4 24 | 25 | -------------------------------------------------------------------------------- /recipes/libvisual/0014-Add-forward-declaration-of-visual_transform_init-as-.patch: -------------------------------------------------------------------------------- 1 | From a43b6f7746ab2ef4e4ce5160ebaaccc9c082456e Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 22 Sep 2014 11:01:36 +0300 4 | Subject: [PATCH 14/16] Add forward declaration of visual_transform_init() as 5 | required 6 | 7 | --- 8 | libvisual/lv_transform.c | 2 ++ 9 | 1 file changed, 2 insertions(+) 10 | 11 | diff --git a/libvisual/lv_transform.c b/libvisual/lv_transform.c 12 | index c763768..1ffe03a 100644 13 | --- a/libvisual/lv_transform.c 14 | +++ b/libvisual/lv_transform.c 15 | @@ -41,6 +41,8 @@ static int transform_dtor (VisObject *object); 16 | 17 | static VisTransformPlugin *get_transform_plugin (VisTransform *transform); 18 | 19 | +int visual_transform_init (VisTransform *transform, const char *transformname); 20 | + 21 | 22 | static int transform_dtor (VisObject *object) 23 | { 24 | -- 25 | 2.1.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/libvisual/0015-Include-lv_cpu.h-in-another-place-too.patch: -------------------------------------------------------------------------------- 1 | From 29d92e9733db27d2b4143c27c7ff43bba9f67d39 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 22 Sep 2014 11:02:06 +0300 4 | Subject: [PATCH 15/16] Include lv_cpu.h in another place too 5 | 6 | --- 7 | libvisual/lv_math.c | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/libvisual/lv_math.c b/libvisual/lv_math.c 11 | index cfae316..da15b74 100644 12 | --- a/libvisual/lv_math.c 13 | +++ b/libvisual/lv_math.c 14 | @@ -30,6 +30,7 @@ 15 | 16 | #include "lv_bits.h" 17 | #include "lv_math.h" 18 | +#include "lv_cpu.h" 19 | 20 | /* This file is getting big and bloated because of the large chunks of simd code. When all is in place we'll take a serious 21 | * look how we can reduce this. For example by using macros for common blocks. */ 22 | -- 23 | 2.1.4 24 | 25 | -------------------------------------------------------------------------------- /recipes/libvisual/0016-configure.ac-Use-gettext-0.19.patch: -------------------------------------------------------------------------------- 1 | From cd15f0482252ae3568e106bf15e6bc95aa46fb1c Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Fri, 13 Feb 2015 12:49:31 +0100 4 | Subject: [PATCH 16/16] configure.ac: Use gettext 0.19 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index e89815f..f8a1e9d 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -155,7 +155,7 @@ AC_SUBST(GETTEXT_PACKAGE) 15 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name]) 16 | AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale", [String catalog location]) 17 | AM_GNU_GETTEXT([external]) 18 | -AM_GNU_GETTEXT_VERSION([0.18]) 19 | +AM_GNU_GETTEXT_VERSION([0.19]) 20 | 21 | dnl ------------------------------- 22 | dnl Check for native thread support 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvorbis.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import shell 3 | 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'libvorbis' 7 | version = '1.3.5' 8 | stype = SourceType.TARBALL 9 | url = 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz' 10 | licenses = [License.BSD_like] 11 | deps = ['libogg'] 12 | config_sh = 'rm ltmain.sh && sh autogen.sh' 13 | patches = ['libvorbis/0001-Fix-linking-on-Android.patch', 14 | 'libvorbis/0003-Link-the-other-libs-with-lm-too.patch', 15 | 'libvorbis/0004-configure-check-for-endianness.patch', 16 | 'libvorbis/0005-darwin-do-not-build-for-a-generic-arm-architecture.patch', 17 | 'libvorbis/0006-Use-our-version-of-automake-instead-of-some-random-o.patch', 18 | 'libvorbis/0007-autogen.sh-Make-sure-libtoolize-runs-fully.patch' 19 | ] 20 | 21 | files_libs = ['libvorbis', 'libvorbisenc', 'libvorbisfile'] 22 | files_devel = [ 23 | 'include/vorbis', 'lib/pkgconfig/vorbis.pc', 24 | 'lib/pkgconfig/vorbisenc.pc', 'lib/pkgconfig/vorbisfile.pc'] 25 | -------------------------------------------------------------------------------- /recipes/libvorbis/0001-Fix-linking-on-Android.patch: -------------------------------------------------------------------------------- 1 | From c4251f892bbcaf47f1d20b3ce1664363ff08467a Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 22 Aug 2012 15:45:05 +0200 4 | Subject: [PATCH 1/4] Fix linking on Android 5 | 6 | --- 7 | lib/Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/lib/Makefile.am b/lib/Makefile.am 11 | index 50f7ea4..d095eab 100644 12 | --- a/lib/Makefile.am 13 | +++ b/lib/Makefile.am 14 | @@ -16,7 +16,7 @@ libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \ 15 | registry.h scales.h window.h lookup.h lookup_data.h\ 16 | codec_internal.h backends.h bitrate.h 17 | libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@ 18 | -libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@ 19 | +libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@ -lm 20 | 21 | libvorbisfile_la_SOURCES = vorbisfile.c 22 | libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@ 23 | -- 24 | 1.8.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvorbis/0003-Link-the-other-libs-with-lm-too.patch: -------------------------------------------------------------------------------- 1 | From 279c222e59caec8b315277938b56d3f3a51a319c Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Wed, 22 Aug 2012 15:50:12 +0200 4 | Subject: [PATCH 3/4] Link the other libs with -lm too 5 | 6 | --- 7 | lib/Makefile.am | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/lib/Makefile.am b/lib/Makefile.am 11 | index d095eab..87f35fc 100644 12 | --- a/lib/Makefile.am 13 | +++ b/lib/Makefile.am 14 | @@ -20,11 +20,11 @@ libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@ -lm 15 | 16 | libvorbisfile_la_SOURCES = vorbisfile.c 17 | libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@ 18 | -libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@ 19 | +libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@ -lm 20 | 21 | libvorbisenc_la_SOURCES = vorbisenc.c 22 | libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@ 23 | -libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@ 24 | +libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@ -lm 25 | 26 | EXTRA_PROGRAMS = barkmel tone psytune 27 | CLEANFILES = $(EXTRA_PROGRAMS) 28 | -- 29 | 1.8.4 30 | 31 | -------------------------------------------------------------------------------- /recipes/libvorbis/0007-autogen.sh-Make-sure-libtoolize-runs-fully.patch: -------------------------------------------------------------------------------- 1 | From fa7893ac074b42229464cc009251628ad25821b7 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Tue, 7 Apr 2015 10:16:15 +0200 4 | Subject: [PATCH] autogen.sh: Make sure libtoolize runs fully 5 | 6 | --- 7 | autogen.sh | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/autogen.sh b/autogen.sh 11 | index e605da8..4f77601 100755 12 | --- a/autogen.sh 13 | +++ b/autogen.sh 14 | @@ -116,8 +116,8 @@ echo "Generating configuration files for $package, please wait...." 15 | 16 | echo " $ACLOCAL $ACLOCAL_FLAGS" 17 | $ACLOCAL $ACLOCAL_FLAGS || exit 1 18 | -echo " $LIBTOOLIZE --automake" 19 | -$LIBTOOLIZE --automake || exit 1 20 | +echo " $LIBTOOLIZE --automake --force" 21 | +$LIBTOOLIZE --automake --force || exit 1 22 | echo " autoheader" 23 | autoheader || exit 1 24 | echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS" 25 | -- 26 | 2.1.0 27 | 28 | -------------------------------------------------------------------------------- /recipes/libvpx/0001-build-Fix-the-min-version-flag-for-iOS-simulator-bui.patch: -------------------------------------------------------------------------------- 1 | From 7e378dbe1a047851a9276fbada91e3fa4aa8e145 Mon Sep 17 00:00:00 2001 2 | From: Arun Raghavan 3 | Date: Fri, 20 Feb 2015 16:38:58 +0530 4 | Subject: [PATCH 1/6] build: Fix the min version flag for iOS simulator builds 5 | 6 | --- 7 | build/make/configure.sh | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/build/make/configure.sh b/build/make/configure.sh 11 | index 4f0071b..d4da469 100644 12 | --- a/build/make/configure.sh 13 | +++ b/build/make/configure.sh 14 | @@ -847,8 +847,8 @@ process_common_toolchain() { 15 | add_ldflags "-mmacosx-version-min=10.11" 16 | ;; 17 | *-iphonesimulator-*) 18 | - add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" 19 | - add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}" 20 | + add_cflags "-mios-simulator-version-min=${IOS_VERSION_MIN}" 21 | + add_ldflags "-mios-simulator-version-min=${IOS_VERSION_MIN}" 22 | iossim_sdk_dir="$(show_darwin_sdk_path iphonesimulator)" 23 | if [ -d "${iossim_sdk_dir}" ]; then 24 | add_cflags "-isysroot ${iossim_sdk_dir}" 25 | -- 26 | 2.9.3 27 | 28 | -------------------------------------------------------------------------------- /recipes/libvpx/0002-Include-Android-cpu-features.c-instead-of-.h.patch: -------------------------------------------------------------------------------- 1 | From 4becc7c54ad3e7f8e5c9d1d59ba401cd4a2c9b3c Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Tue, 9 Oct 2012 13:48:12 +0200 4 | Subject: [PATCH 2/6] Include Android cpu-features.c instead of .h 5 | 6 | --- 7 | vpx_ports/arm_cpudetect.c | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/vpx_ports/arm_cpudetect.c b/vpx_ports/arm_cpudetect.c 11 | index 8a4b8af..60401f3 100644 12 | --- a/vpx_ports/arm_cpudetect.c 13 | +++ b/vpx_ports/arm_cpudetect.c 14 | @@ -101,7 +101,7 @@ return flags & mask; 15 | } 16 | 17 | #elif defined(__ANDROID__) /* end _MSC_VER */ 18 | -#include 19 | +#include 20 | 21 | int arm_cpu_caps(void) { 22 | int flags; 23 | -- 24 | 2.9.3 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvpx/0003-configure-Add-back-the-armv5te-android-gcc-target.patch: -------------------------------------------------------------------------------- 1 | From dd6530bc04f545891ff6bb12dff9b4df73c2eaff Mon Sep 17 00:00:00 2001 2 | From: Arun Raghavan 3 | Date: Sun, 22 Feb 2015 21:20:50 +0530 4 | Subject: [PATCH 3/6] configure: Add back the armv5te-android-gcc target 5 | 6 | We need this to be able to build for pre-armv7 Android devices. 7 | --- 8 | configure | 1 + 9 | 1 file changed, 1 insertion(+) 10 | 11 | diff --git a/configure b/configure 12 | index f82ee04..ea8e015 100755 13 | --- a/configure 14 | +++ b/configure 15 | @@ -111,6 +111,7 @@ all_platforms="${all_platforms} armv7-win32-vs11" 16 | all_platforms="${all_platforms} armv7-win32-vs12" 17 | all_platforms="${all_platforms} armv7-win32-vs14" 18 | all_platforms="${all_platforms} armv7s-darwin-gcc" 19 | +all_platforms="${all_platforms} armv5te-android-gcc" 20 | all_platforms="${all_platforms} armv8-linux-gcc" 21 | all_platforms="${all_platforms} mips32-linux-gcc" 22 | all_platforms="${all_platforms} mips64-linux-gcc" 23 | -- 24 | 2.9.3 25 | 26 | -------------------------------------------------------------------------------- /recipes/libvpx/0005-configure-Add-Android-ARM64-support.patch: -------------------------------------------------------------------------------- 1 | From 82debca13c31da4fced144e829bdaa102db79674 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Sat, 14 Feb 2015 15:09:40 +0100 4 | Subject: [PATCH 5/6] configure: Add Android ARM64 support 5 | 6 | --- 7 | configure | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/configure b/configure 11 | index ea8e015..153f095 100755 12 | --- a/configure 13 | +++ b/configure 14 | @@ -97,6 +97,7 @@ EOF 15 | 16 | # all_platforms is a list of all supported target platforms. Maintain 17 | # alphabetically by architecture, generic-gnu last. 18 | +all_platforms="${all_platforms} arm64-android-gcc" 19 | all_platforms="${all_platforms} arm64-darwin-gcc" 20 | all_platforms="${all_platforms} arm64-linux-gcc" 21 | all_platforms="${all_platforms} armv6-linux-rvct" 22 | -- 23 | 2.9.3 24 | 25 | -------------------------------------------------------------------------------- /recipes/libvpx/0006-Don-t-embed-bitcode-on-iOS-until-we-support-that-pro.patch: -------------------------------------------------------------------------------- 1 | From f104b6a2de3da66aab7f1771d0cc49ff9ac9c5b8 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Mon, 28 Dec 2015 17:20:41 +0200 4 | Subject: [PATCH 6/6] Don't embed bitcode on iOS until we support that properly 5 | 6 | --- 7 | build/make/configure.sh | 5 ----- 8 | 1 file changed, 5 deletions(-) 9 | 10 | diff --git a/build/make/configure.sh b/build/make/configure.sh 11 | index e56108e..528174b 100644 12 | --- a/build/make/configure.sh 13 | +++ b/build/make/configure.sh 14 | @@ -1078,11 +1078,6 @@ EOF 15 | 16 | asm_conversion_cmd="${source_path}/build/make/ads2gas_apple.pl" 17 | 18 | - if [ "$(show_darwin_sdk_major_version iphoneos)" -gt 8 ]; then 19 | - check_add_cflags -fembed-bitcode 20 | - check_add_asflags -fembed-bitcode 21 | - check_add_ldflags -fembed-bitcode 22 | - fi 23 | ;; 24 | 25 | linux*) 26 | -- 27 | 2.9.3 28 | 29 | -------------------------------------------------------------------------------- /recipes/libxml2/0003-configure-fix-python-dir-prefix.patch: -------------------------------------------------------------------------------- 1 | From 5a75153014bd1c0669415bda1ee899c0ae9c3aad Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Mon, 28 Oct 2013 18:07:07 +0100 4 | Subject: [PATCH 3/5] configure: fix python dir prefix 5 | 6 | --- 7 | configure.ac | 1 + 8 | 1 file changed, 1 insertion(+) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index c3985f2..e5dbc15 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -908,6 +908,7 @@ if test "$with_python" != "no" ; then 15 | fi 16 | fi 17 | fi 18 | + PYTHON_SITE_PACKAGES='$(prefix)/lib/python$(PYTHON_VERSION)/site-packages' 19 | pythondir='$(PYTHON_SITE_PACKAGES)' 20 | PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags` 21 | else 22 | -- 23 | 2.1.0 24 | 25 | -------------------------------------------------------------------------------- /recipes/mpg123.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'mpg123' 5 | version = '1.23.8' 6 | stype = SourceType.TARBALL 7 | url = 'http://downloads.sourceforge.net/project/mpg123/mpg123/1.23.8/mpg123-1.23.8.tar.bz2' 8 | licenses = [License.LGPLv2_1] 9 | autoreconf = True 10 | configure_options = '--with-audio=dummy --enable-static' 11 | patches = ['mpg123/0001-Disable-tools-and-libout123-library.patch'] 12 | 13 | files_libs = ['libmpg123'] 14 | files_devel = ['include/mpg123.h', 'include/fmt123.h', 'lib/pkgconfig/libmpg123.pc'] 15 | 16 | def prepare(self): 17 | if self.config.target_platform in [Platform.ANDROID]: 18 | if self.config.target_arch == Architecture.ARM: 19 | # Disable thumb mode to get the optimizations compiled properly 20 | self.new_env['CFLAGS'] = os.environ['CFLAGS'].replace('-mthumb', '') 21 | if self.config.target_platform in [Platform.IOS]: 22 | if self.config.target_arch == Architecture.X86: 23 | # make sure we use 32bit asm 24 | self.configure_options += ' --with-cpu=x86 ' 25 | 26 | -------------------------------------------------------------------------------- /recipes/nettle/0001-ios-fix-build-using-.word-for-assembly-constants.patch: -------------------------------------------------------------------------------- 1 | From 9c2bd4a5fd64aa63558ea54bcd13d52eb50a9de9 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 29 Oct 2013 17:59:29 +0100 4 | Subject: [PATCH] ios: fix build using .word for assembly constants 5 | 6 | --- 7 | arm/ecc-521-modp.asm | 4 ++++ 8 | 1 file changed, 4 insertions(+) 9 | 10 | diff --git a/arm/ecc-521-modp.asm b/arm/ecc-521-modp.asm 11 | index c311a89..8cb5264 100644 12 | --- a/arm/ecc-521-modp.asm 13 | +++ b/arm/ecc-521-modp.asm 14 | @@ -48,7 +48,11 @@ define(, ) 15 | C ecc_521_modp (const struct ecc_modulo *m, mp_limb_t *rp) 16 | .text 17 | .Lc511: 18 | +#ifdef __APPLE__ 19 | + .word 511 20 | +#else 21 | .int 511 22 | +#endif 23 | 24 | .align 2 25 | 26 | -- 27 | 2.6.1 28 | 29 | -------------------------------------------------------------------------------- /recipes/opencore-amr.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'opencore-amr' 6 | version = '0.1.3' 7 | stype = SourceType.TARBALL 8 | url = 'http://sourceforge.net/projects/opencore-amr/files/opencore-amr/opencore-amr-0.1.3.tar.gz' 9 | licenses = [License.Apachev2] 10 | patches = ['opencore-amr/0001-Fix-include-dir-in-pc-files.patch'] 11 | 12 | files_libs = ['libopencore-amrnb', 'libopencore-amrwb'] 13 | files_devel = ['include/opencore-amrwb', 'include/opencore-amrnb', 14 | 'lib/pkgconfig/opencore-amrwb.pc', 'lib/pkgconfig/opencore-amrnb.pc'] 15 | -------------------------------------------------------------------------------- /recipes/opencore-amr/0001-Fix-include-dir-in-pc-files.patch: -------------------------------------------------------------------------------- 1 | From 8d10989ca6c3121726fce7143d7efec3f5387896 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Sun, 26 Feb 2012 02:41:19 +0100 4 | Subject: Fix include dir in .pc files 5 | 6 | 7 | diff --git a/amrnb/opencore-amrnb.pc.in b/amrnb/opencore-amrnb.pc.in 8 | index b199fca..b838c0d 100644 9 | --- a/amrnb/opencore-amrnb.pc.in 10 | +++ b/amrnb/opencore-amrnb.pc.in 11 | @@ -1,7 +1,7 @@ 12 | prefix=@prefix@ 13 | exec_prefix=@exec_prefix@ 14 | libdir=@libdir@ 15 | -includedir=@includedir@ 16 | +includedir=@includedir@/opencore-amrnb 17 | 18 | Name: OpenCORE AMR-NB 19 | Description: Adaptive Multi-Rate speech codec library 20 | diff --git a/amrwb/opencore-amrwb.pc.in b/amrwb/opencore-amrwb.pc.in 21 | index b4eb993..8446310 100644 22 | --- a/amrwb/opencore-amrwb.pc.in 23 | +++ b/amrwb/opencore-amrwb.pc.in 24 | @@ -1,7 +1,7 @@ 25 | prefix=@prefix@ 26 | exec_prefix=@exec_prefix@ 27 | libdir=@libdir@ 28 | -includedir=@includedir@ 29 | +includedir=@includedir@/opencore-amrwb 30 | 31 | Name: OpenCORE AMR-WB 32 | Description: Adaptive Multi-Rate Wideband speech codec library 33 | -- 34 | cgit v0.10.2 35 | 36 | 37 | -------------------------------------------------------------------------------- /recipes/openh264/0002-Remove-fembed-bitcode-for-iOS-build.patch: -------------------------------------------------------------------------------- 1 | From 273749d669fc1e73298ca2fb265b32a512f512ce Mon Sep 17 00:00:00 2001 2 | From: Jan Schmidt 3 | Date: Sat, 3 Sep 2016 03:26:14 +1000 4 | Subject: [PATCH] Remove -fembed-bitcode for iOS build. 5 | 6 | To keep support for XCode 6 7 | --- 8 | build/platform-ios.mk | 4 ++-- 9 | 1 file changed, 2 insertions(+), 2 deletions(-) 10 | 11 | diff --git a/build/platform-ios.mk b/build/platform-ios.mk 12 | index 4ec8919..5bcb28e 100644 13 | --- a/build/platform-ios.mk 14 | +++ b/build/platform-ios.mk 15 | @@ -12,6 +12,6 @@ SDK_MIN = 5.1 16 | 17 | XCODE=$(shell xcode-select -p) 18 | SDKROOT = $(XCODE)/Platforms/$(SDKTYPE).platform/Developer/SDKs/$(SDKTYPE)$(SDK).sdk 19 | -CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS -fembed-bitcode 20 | +CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS 21 | LDFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) 22 | 23 | -- 24 | 2.3.2 (Apple Git-55) 25 | 26 | -------------------------------------------------------------------------------- /recipes/openwebrtc-girepository/disable-python-checks.patch: -------------------------------------------------------------------------------- 1 | From cca08477c8900cc6d34d2abc8b63f0d868a60fd5 Mon Sep 17 00:00:00 2001 2 | From: Nirbheek Chauhan 3 | Date: Fri, 7 Nov 2014 16:52:42 +0530 4 | Subject: [PATCH] configure.ac: Disable Python checks needed for g-ir-scanner 5 | 6 | --- 7 | configure.ac | 4 ---- 8 | 1 file changed, 4 deletions(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 1fd260a..74dbb7c 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -259,10 +259,6 @@ case "$host" in 15 | pyexecdir=`echo $pyexecdir | tr '\\\\' '/'` 16 | ;; 17 | esac 18 | -AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found])) 19 | -if test "x$os_win32" = "xyes"; then 20 | - AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.])) 21 | -fi 22 | 23 | dnl Not enabled by default until 3.6 cycle when we can propose mako as 24 | dnl an external dependency 25 | -- 26 | 2.1.0 27 | 28 | -------------------------------------------------------------------------------- /recipes/opus.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'opus' 6 | version = '1.1.3' 7 | licenses = [License.BSD_like] 8 | stype = SourceType.TARBALL 9 | url = 'http://downloads.xiph.org/releases/{0}/{0}-{1}.tar.gz'.format(name, version) 10 | 11 | files_libs = ['libopus'] 12 | files_devel = ['include/opus', 'lib/pkgconfig/opus.pc'] 13 | # Starting with v1.1, Opus has special ARM assembly optimizations when 14 | # built without floating point support. Since all our builds assume floating 15 | # point is available (NEON or VFP), we're not enabling that. However, the 16 | # option is there. Note that there is separate NEON/intrinsics support for 17 | # ARM and x86. 18 | # configure_options = '--disable-fixed-point --enable-asm' 19 | -------------------------------------------------------------------------------- /recipes/orc.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'orc' 6 | version = '0.4.26' 7 | remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/orc'} 8 | commit = 'orc-0.4.26' 9 | licenses = [License.BSD_like] 10 | autoreconf = True 11 | configure_options = '--enable-static' 12 | 13 | files_libs = ['liborc-0.4', 'liborc-test-0.4'] 14 | files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc', 15 | 'bin/orc-bugreport%(bext)s', 'share/aclocal/orc.m4', 16 | 'bin/orcc%(bext)s'] 17 | 18 | def prepare(self): 19 | self.append_env['CFLAGS'] = " -Wno-error " 20 | self.append_env['CXXFLAGS'] = " -Wno-error " 21 | self.append_env['CPPFLAGS'] = " -Wno-error " 22 | -------------------------------------------------------------------------------- /recipes/pixman/0001-Fix-build-on-Android.patch: -------------------------------------------------------------------------------- 1 | From b2f4b19eb346329c4c45dde99914bc5b6bed9f44 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Mon, 28 Oct 2013 18:19:29 +0100 4 | Subject: [PATCH 1/2] Fix build in Android 5 | 6 | --- 7 | configure.ac | 1 + 8 | pixman/pixman-utils.c | 1 + 9 | 2 files changed, 2 insertions(+) 10 | 11 | diff --git a/configure.ac b/configure.ac 12 | index e682dd2..a6bffbe 100644 13 | --- a/configure.ac 14 | +++ b/configure.ac 15 | @@ -985,6 +985,7 @@ AC_MSG_CHECKING(for pthreads) 16 | PIXMAN_CHECK_PTHREAD([CFLAGS="-pthread"; LDFLAGS="-pthread"]) 17 | PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LIBS="-lpthread"]) 18 | PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LDFLAGS="-lroot"]) 19 | +PIXMAN_CHECK_PTHREAD([CFLAGS=""; LDFLAGS="-lc"]) 20 | 21 | if test $support_for_pthreads = yes; then 22 | AC_DEFINE([HAVE_PTHREADS], [], [Whether pthreads is supported]) 23 | diff --git a/pixman/pixman-utils.c b/pixman/pixman-utils.c 24 | index 4a3a835..972f141 100644 25 | --- a/pixman/pixman-utils.c 26 | +++ b/pixman/pixman-utils.c 27 | @@ -27,6 +27,7 @@ 28 | #endif 29 | #include 30 | #include 31 | +#include 32 | 33 | #include "pixman-private.h" 34 | 35 | -- 36 | 1.9.0 37 | 38 | -------------------------------------------------------------------------------- /recipes/sbc.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'sbc' 5 | version = '1.3' 6 | stype = SourceType.TARBALL 7 | url = 'http://www.kernel.org/pub/linux/bluetooth/sbc-1.3.tar.gz' 8 | licenses = [License.LGPLv2_1Plus] 9 | files_libs = ['libsbc'] 10 | files_devel = ['include/sbc/sbc.h', 'lib/pkgconfig/sbc.pc'] 11 | configure_options = '--disable-tester --disable-tools' 12 | patches = ['sbc/0001-sbc-Use-stdint.h.patch', 13 | 'sbc/0002-Don-t-use-NEON-with-aarch64-on-Clang.patch'] 14 | 15 | def compile(self): 16 | if self.config.target_platform != Platform.LINUX: 17 | # Don't use --version-script on platforms other than GNU/Linux. 18 | # ld does not support that on non-GNU platforms. This is not done 19 | # via a patch to Makefile.am because the Autotools build system 20 | # doesn't regenerate after the Autofoo sources are changed. 21 | shell.replace(os.path.join(self.build_dir, 'Makefile'), 22 | {'-Wl,--version-script=$(top_srcdir)/sbc/sbc.sym': '$(NULL)'}) 23 | super(Recipe, self).compile() 24 | -------------------------------------------------------------------------------- /recipes/sbc/0001-sbc-Use-stdint.h.patch: -------------------------------------------------------------------------------- 1 | From 3c6c579144ea52e55bfc292bde7a8838fa8a4327 Mon Sep 17 00:00:00 2001 2 | From: Edward Hervey 3 | Date: Mon, 17 Oct 2016 08:32:50 +0200 4 | Subject: [PATCH] sbc: Use 5 | 6 | mingw doesn't include stdint.h by default. Include it because sbc 7 | uses int32_t and other standard types 8 | --- 9 | sbc/sbc_math.h | 2 ++ 10 | 1 file changed, 2 insertions(+) 11 | 12 | diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h 13 | index 5476860..25b08ea 100644 14 | --- a/sbc/sbc_math.h 15 | +++ b/sbc/sbc_math.h 16 | @@ -24,6 +24,8 @@ 17 | * 18 | */ 19 | 20 | +#include 21 | + 22 | #define fabs(x) ((x) < 0 ? -(x) : (x)) 23 | /* C does not provide an explicit arithmetic shift right but this will 24 | always be correct and every compiler *should* generate optimal code */ 25 | -- 26 | 2.7.4 27 | 28 | -------------------------------------------------------------------------------- /recipes/sbc/0002-Don-t-use-NEON-with-aarch64-on-Clang.patch: -------------------------------------------------------------------------------- 1 | From 7ee8b35e86bc6ab485413615742dc64abe00b3fa Mon Sep 17 00:00:00 2001 2 | From: Nirbheek Chauhan 3 | Date: Wed, 19 Oct 2016 23:56:42 +0530 4 | Subject: [PATCH] Don't use NEON with aarch64 on Clang 5 | 6 | Clang hasn't implemented vmov, vadd, vld, etc for aarch64. 7 | --- 8 | sbc/sbc_primitives_neon.h | 1 + 9 | 1 file changed, 1 insertion(+) 10 | 11 | diff --git a/sbc/sbc_primitives_neon.h b/sbc/sbc_primitives_neon.h 12 | index ea3da06..e3fd3d0 100644 13 | --- a/sbc/sbc_primitives_neon.h 14 | +++ b/sbc/sbc_primitives_neon.h 15 | @@ -30,6 +30,7 @@ 16 | #include "sbc_primitives.h" 17 | 18 | #if defined(__GNUC__) && defined(__ARM_NEON__) && \ 19 | + !(defined(__clang__) && defined(__aarch64__)) && \ 20 | !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15) 21 | 22 | #define SBC_BUILD_WITH_NEON_SUPPORT 23 | -- 24 | 2.8.4 (Apple Git-73) 25 | 26 | -------------------------------------------------------------------------------- /recipes/seed/javascriptcore-osx-ios.pc.patch: -------------------------------------------------------------------------------- 1 | From ff19d91f4c25075e8e5460937efcb3a0aad0bbba Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Tue, 25 Nov 2014 13:57:32 +0100 4 | Subject: [PATCH] Use JavaScriptCore in the pkg-config file for OSX/iOS 5 | 6 | --- 7 | seed.pc.in | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/seed.pc.in b/seed.pc.in 11 | index 380b750..edc56eb 100644 12 | --- a/seed.pc.in 13 | +++ b/seed.pc.in 14 | @@ -5,8 +5,8 @@ bindir=@bindir@ 15 | includedir=@includedir@ 16 | 17 | Cflags: -I${includedir}/seed@SEED_GTK_VERSION@ 18 | -Requires: @WEBKIT_PC@ gobject-introspection-1.0 glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0 19 | -Libs: -L${libdir} -lseed@SEED_GTK_VERSION@ 20 | +Requires: gobject-introspection-1.0 glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0 21 | +Libs: -L${libdir} -lseed@SEED_GTK_VERSION@ -framework JavaScriptCore 22 | 23 | Name: Seed 24 | Description: Seed Javascript Interpreter. 25 | -- 26 | 1.9.3 (Apple Git-50) 27 | 28 | -------------------------------------------------------------------------------- /recipes/soundtouch/0001-Add-dummy-file-to-make-sure-config-m4-exists.patch: -------------------------------------------------------------------------------- 1 | From 9f2e50bdd1ce9b6bc53d92e1da869504f3fd5440 Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Thu, 25 Oct 2012 09:52:55 +0200 4 | Subject: [PATCH 1/9] Add dummy file to make sure config/m4 exists 5 | 6 | --- 7 | config/m4/dummy | 0 8 | 1 file changed, 0 insertions(+), 0 deletions(-) 9 | create mode 100644 config/m4/dummy 10 | 11 | diff --git a/config/m4/dummy b/config/m4/dummy 12 | new file mode 100644 13 | index 0000000..e69de29 14 | -- 15 | 2.1.4 16 | 17 | -------------------------------------------------------------------------------- /recipes/soundtouch/0003-Don-t-build-soundstretch.patch: -------------------------------------------------------------------------------- 1 | From 6f58113396f35ed938e6e5d49f4aeffa02146cfc Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Thu, 25 Oct 2012 10:12:44 +0200 4 | Subject: [PATCH 3/9] Don't build soundstretch 5 | 6 | --- 7 | source/Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/source/Makefile.am b/source/Makefile.am 11 | index 960d8a9..f25185b 100644 12 | --- a/source/Makefile.am 13 | +++ b/source/Makefile.am 14 | @@ -21,7 +21,7 @@ 15 | 16 | include $(top_srcdir)/config/am_include.mk 17 | 18 | -SUBDIRS=SoundTouch SoundStretch 19 | +SUBDIRS=SoundTouch 20 | 21 | # set to something if you want other stuff to be included in the distribution tarball 22 | #EXTRA_DIST= 23 | -- 24 | 2.1.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/soundtouch/0007-Make-it-compile-on-IOS.patch: -------------------------------------------------------------------------------- 1 | From 7006e5fade520e79ee795ff7a205452dbaec0f19 Mon Sep 17 00:00:00 2001 2 | From: Thibault Saunier 3 | Date: Thu, 24 Jan 2013 16:23:32 -0300 4 | Subject: [PATCH 7/9] Make it compile on IOS 5 | 6 | Simply comment AC_FUNC_MALLOC in configure.ac. Explanation here: 7 | http://nerdland.net/unstumping-the-internet/malloc-has-not-been-declared/ 8 | --- 9 | configure.ac | 2 +- 10 | 1 file changed, 1 insertion(+), 1 deletion(-) 11 | 12 | diff --git a/configure.ac b/configure.ac 13 | index d4caa5d..5053626 100644 14 | --- a/configure.ac 15 | +++ b/configure.ac 16 | @@ -196,7 +196,7 @@ AM_CONDITIONAL([HAVE_SSE], [test "x$have_sse_intrinsics" = "xyes"]) 17 | dnl ############################################################################ 18 | dnl # Checks for library functions/classes # 19 | dnl ############################################################################ 20 | -AC_FUNC_MALLOC 21 | +# AC_FUNC_MALLOC 22 | AC_TYPE_SIGNAL 23 | 24 | dnl make -lm get added to the LIBS 25 | -- 26 | 2.1.4 27 | 28 | -------------------------------------------------------------------------------- /recipes/spandsp/0001-Don-t-do-a-whereis-which-dance-to-find-which.patch: -------------------------------------------------------------------------------- 1 | From a676d4018eb5fc0ad7368e4be1b1299b7921837f Mon Sep 17 00:00:00 2001 2 | From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 3 | Date: Tue, 24 Nov 2015 22:21:42 +0530 4 | Subject: [PATCH] Don't do a "whereis which" dance to find which 5 | 6 | whereis does not exist on Windows and if which is not in the $PATH, why 7 | would whereis be?! 8 | --- 9 | autogen.sh | 3 +-- 10 | 1 file changed, 1 insertion(+), 2 deletions(-) 11 | 12 | diff --git a/autogen.sh b/autogen.sh 13 | index 2d9a067..98464f5 100755 14 | --- a/autogen.sh 15 | +++ b/autogen.sh 16 | @@ -59,8 +59,7 @@ version_compare() 17 | 18 | debug "Checking $PROGRAM >= $MAJOR.$MINOR.$MICRO" 19 | 20 | - WHICH_PATH=`whereis which | cut -f2 -d' '` 21 | - COMMAND=`$WHICH_PATH $PROGRAM` 22 | + COMMAND=`which $PROGRAM` 23 | if [ -z $COMMAND ]; then 24 | echo "$PROGRAM-$MAJOR.$MINOR.$MICRO is required and was not found." 25 | return 1 26 | -- 27 | 2.6.2.409.gb049f0a 28 | 29 | -------------------------------------------------------------------------------- /recipes/spandsp/0001-Fix-build-for-windows-using-mingw.patch: -------------------------------------------------------------------------------- 1 | From 942e7b8b035e2b53575b56b27084c03399cd87d5 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Sat, 3 Oct 2015 19:44:00 +0100 4 | Subject: [PATCH] Fix build for windows using mingw 5 | 6 | --- 7 | src/t4_rx.c | 3 +++ 8 | 1 file changed, 3 insertions(+) 9 | 10 | diff --git a/src/t4_rx.c b/src/t4_rx.c 11 | index eb24bf1..b0f7490 100644 12 | --- a/src/t4_rx.c 13 | +++ b/src/t4_rx.c 14 | @@ -60,6 +60,9 @@ 15 | #include "config.h" 16 | #endif 17 | 18 | +/* Avoid including winsock2.h */ 19 | +extern int __stdcall gethostname(char * name, int namelen); 20 | + 21 | #include 22 | #include 23 | #include 24 | -- 25 | 2.4.3 26 | 27 | -------------------------------------------------------------------------------- /recipes/spandsp/0001-spandsp-do-not-compile-has_X86FEATURE-symbols.patch: -------------------------------------------------------------------------------- 1 | From 4f279d35599b265be9f9c140759dda684ed47818 Mon Sep 17 00:00:00 2001 2 | From: George Kiagiadakis 3 | Date: Sat, 24 Oct 2015 19:23:58 +0000 4 | Subject: [PATCH] spandsp: do not compile has_X86FEATURE symbols 5 | 6 | They conflict with libmp3lame 7 | --- 8 | src/testcpuid.c | 3 ++- 9 | 1 file changed, 2 insertions(+), 1 deletion(-) 10 | 11 | diff --git a/src/testcpuid.c b/src/testcpuid.c 12 | index 2344c59..d3f77d7 100644 13 | --- a/src/testcpuid.c 14 | +++ b/src/testcpuid.c 15 | @@ -35,6 +35,8 @@ 16 | /* Make this file just disappear if we are not on an x86 machine */ 17 | #if defined(__i386__) // || defined(__x86_64__) 18 | 19 | +#if defined(TESTBED) 20 | + 21 | enum 22 | { 23 | X86_EFLAGS_CF = 0x00000001, /* Carry Flag */ 24 | @@ -188,7 +190,6 @@ int has_3DNow(void) 25 | } 26 | /*- End of function --------------------------------------------------------*/ 27 | 28 | -#if defined(TESTBED) 29 | int main(int argc, char *argv[]) 30 | { 31 | int result; 32 | -- 33 | 2.4.3 34 | 35 | -------------------------------------------------------------------------------- /recipes/spandsp/0002-Define-LIBSPANDSP_EXPORTS-when-building-the-spandsp-.patch: -------------------------------------------------------------------------------- 1 | From 0769c5e6c28a08a15666764456046b753c0ca03b Mon Sep 17 00:00:00 2001 2 | From: George Kiagiadakis 3 | Date: Mon, 26 Oct 2015 17:12:46 +0000 4 | Subject: [PATCH] Define LIBSPANDSP_EXPORTS when building the spandsp library 5 | to fix mingw build 6 | 7 | --- 8 | src/Makefile.am | 1 + 9 | 1 file changed, 1 insertion(+) 10 | 11 | diff --git a/src/Makefile.am b/src/Makefile.am 12 | index 3aab162..72ff3af 100644 13 | --- a/src/Makefile.am 14 | +++ b/src/Makefile.am 15 | @@ -173,6 +173,7 @@ libspandsp_la_SOURCES = ademco_contactid.c \ 16 | vector_int.c 17 | 18 | libspandsp_la_LDFLAGS = -version-info @SPANDSP_LT_CURRENT@:@SPANDSP_LT_REVISION@:@SPANDSP_LT_AGE@ $(COMP_VENDOR_LDFLAGS) 19 | +libspandsp_la_CFLAGS = -DLIBSPANDSP_EXPORTS=1 $(COMP_VENDOR_CFLAGS) 20 | 21 | nobase_include_HEADERS = spandsp/ademco_contactid.h \ 22 | spandsp/adsi.h \ 23 | -- 24 | 2.4.3 25 | 26 | -------------------------------------------------------------------------------- /recipes/spandsp/0003-Use-BUILT_SOURCES-to-generate-extra-headers.patch: -------------------------------------------------------------------------------- 1 | From 238b6cb088d339c0d772c501289c3bc708f768b4 Mon Sep 17 00:00:00 2001 2 | From: George Kiagiadakis 3 | Date: Tue, 27 Oct 2015 17:27:20 +0000 4 | Subject: [PATCH] Use BUILT_SOURCES to generate extra headers 5 | 6 | The .o / .lo dependencies do not work reliably with more recent autotools. 7 | --- 8 | src/Makefile.am | 14 ++++++++++++++ 9 | 1 file changed, 14 insertions(+) 10 | 11 | diff --git a/src/Makefile.am b/src/Makefile.am 12 | index 72ff3af..5fa1d41 100644 13 | --- a/src/Makefile.am 14 | +++ b/src/Makefile.am 15 | @@ -567,3 +567,17 @@ spandsp/version.h: 16 | NOWTIME=`date --utc +"%H%M%S"` ; \ 17 | sed 's/$$SPANDSP_RELEASE_DATE/'$$NOWDATE'/;s/$$SPANDSP_RELEASE_TIME/'$$NOWTIME'/' \ 18 | <$(srcdir)/spandsp/version.h.in >$@ 19 | + 20 | + 21 | +BUILT_SOURCES = \ 22 | + at_interpreter_dictionary.h \ 23 | + math_fixed_tables.h \ 24 | + spandsp/version.h \ 25 | + ${V17_V32BIS_RX_INCL} \ 26 | + ${V17_V32BIS_TX_INCL} \ 27 | + ${V22BIS_RX_INCL} \ 28 | + ${V22BIS_TX_INCL} \ 29 | + ${V27_RX_INCL} \ 30 | + ${V27TER_TX_INCL} \ 31 | + ${V29_RX_INCL} \ 32 | + ${V29_TX_INCL} 33 | -- 34 | 2.4.3 35 | 36 | -------------------------------------------------------------------------------- /recipes/speex.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'speex' 6 | version = '1.2rc2' 7 | stype = SourceType.TARBALL 8 | url = 'http://downloads.xiph.org/releases/speex/speex-1.2rc2.tar.gz' 9 | licenses = [License.BSD_like] 10 | deps = ['libogg'] 11 | allow_parallel_build = False 12 | 13 | files_libs = ['libspeex'] 14 | files_bins = ['speexdec', 'speexenc'] 15 | files_devel = ['include/speex', 'lib/pkgconfig/speex.pc'] 16 | 17 | def prepare(self): 18 | if self.config.target_platform == Platform.ANDROID: 19 | self.autoreconf = True 20 | -------------------------------------------------------------------------------- /recipes/tiff.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'tiff' 6 | version = '4.0.7' 7 | stype = SourceType.TARBALL 8 | url = 'http://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz' 9 | licenses = [License.BSD_like] 10 | deps = [ 'zlib', 'libjpeg-turbo' ] 11 | configure_options = ' --disable-cxx no_gl=yes' 12 | 13 | files_libs = ['libtiff'] 14 | files_bins = ['tiffcrop', 'bmp2tiff', 'gif2tiff', 'ppm2tiff' 15 | 'tiffdump', 'tiffsplit', 'tiffmedian', 'ras2tiff', 'tiff2ps', 16 | 'tiff2pdf', 'tiffset', 'tiffcp', 'tiff2rgba', 'tiffinfo', 'tiff2bw', 17 | 'raw2tiff', 'fax2tiff', 'tiffdither', 'tiffcmp'] 18 | files_devel = ['include/tiffvers.h', 'include/tiffio.h', 'include/tiff.h', 19 | 'include/tiffconf.h', 'lib/pkgconfig/libtiff-4.pc'] 20 | -------------------------------------------------------------------------------- /recipes/toolchain/all.recipe: -------------------------------------------------------------------------------- 1 | class Recipe(recipe.Recipe): 2 | name = 'toolchain' 3 | version = '4.7.3' 4 | stype = SourceType.CUSTOM 5 | btype = BuildType.CUSTOM 6 | deps = ['gcc', 'gendef'] 7 | -------------------------------------------------------------------------------- /recipes/toolchain/cloog.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'cloog' 6 | version = '0.18.0' 7 | licenses = [License.GPLv2] 8 | stype = SourceType.TARBALL 9 | url = 'http://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/infrastructure/cloog-0.18.0.tar.gz' 10 | configure_options = '--with-bits=gmp ' \ 11 | '--disable-shared ' \ 12 | '--enable-static' 13 | deps = ['gmp-toolchain'] 14 | -------------------------------------------------------------------------------- /recipes/toolchain/gendef.recipe: -------------------------------------------------------------------------------- 1 | class Recipe(recipe.Recipe): 2 | name = 'gendef' 3 | version = 'v2.0.8' 4 | licenses = [License.LGPL] 5 | srcdir = 'mingw-w64-tools/gendef' 6 | files_bins = ['gendef'] 7 | 8 | 9 | def prepare(self): 10 | self.repo_dir = os.path.join(self.config.local_sources, 'mingw-w64') 11 | self.remotes = {'origin': '%s/%s' % 12 | (self.config.git_root, 'mingw-w64')} 13 | if self.config.target_arch == Architecture.X86: 14 | self.host = 'i686-w64-mingw32' 15 | else: 16 | self.host = 'x86_64-w64-mingw32' 17 | self.configure_options += ' --host=%s' % self.host 18 | -------------------------------------------------------------------------------- /recipes/toolchain/gmp.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'gmp-toolchain' 6 | version = '5.0.5' 7 | licenses = [License.LGPLv3Plus] 8 | configure_options = "--disable-shared --enable-static" 9 | 10 | files_libs = ['libgmp'] 11 | files_devel = ['include/gmp.h'] 12 | 13 | def prepare(self): 14 | self.remotes = {'origin': '%s/%s' % (self.config.git_root, 'gmp')} 15 | if self.config.target_arch == Architecture.X86: 16 | self.new_env['ABI'] = "32" 17 | -------------------------------------------------------------------------------- /recipes/toolchain/mpc.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'mpc' 5 | version = '0.8.2' 6 | licenses = [License.LGPLv2_1Plus] 7 | configure_options = "--disable-shared --enable-static" 8 | autoreconf = True 9 | -------------------------------------------------------------------------------- /recipes/toolchain/mpfr.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | class Recipe(recipe.Recipe): 4 | name = 'mpfr' 5 | version = '3.1.0' 6 | licenses = [License.LGPLv3Plus] 7 | configure_options = "--disable-shared --enable-static" 8 | deps = ['gmp-toolchain'] 9 | -------------------------------------------------------------------------------- /recipes/tremor/0004-Fix-build-with-the-Android-NDK-for-x86.patch: -------------------------------------------------------------------------------- 1 | From e3e85b2c74cd615cf8b1b9a4ed7fe30a6d674515 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Tue, 15 Jan 2013 16:16:53 +0100 4 | Subject: [PATCH 4/8] Fix build with the Android NDK for x86 5 | 6 | --- 7 | misc.h | 4 +--- 8 | 1 file changed, 1 insertion(+), 3 deletions(-) 9 | 10 | diff --git a/misc.h b/misc.h 11 | index 1ae4d2e..c855cdd 100644 12 | --- a/misc.h 13 | +++ b/misc.h 14 | @@ -49,9 +49,7 @@ union magic { 15 | } halves; 16 | ogg_int64_t whole; 17 | }; 18 | -#endif 19 | - 20 | -#if BYTE_ORDER==BIG_ENDIAN 21 | +#else 22 | union magic { 23 | struct { 24 | ogg_int32_t hi; 25 | -- 26 | 2.1.4 27 | 28 | -------------------------------------------------------------------------------- /recipes/vo-aacenc.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | 3 | 4 | class Recipe(recipe.Recipe): 5 | name = 'vo-aacenc' 6 | version = '0.1.3' 7 | licenses = [License.Apachev2] 8 | stype = SourceType.TARBALL 9 | url = 'http://downloads.sourceforge.net/project/opencore-amr/vo-aacenc/vo-aacenc-0.1.3.tar.gz' 10 | autoreconf = True 11 | 12 | files_libs = ['libvo-aacenc'] 13 | files_devel = ['include/vo-aacenc', 14 | 'lib/pkgconfig/vo-aacenc.pc'] 15 | -------------------------------------------------------------------------------- /recipes/wavpack.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | from cerbero.utils import shell 3 | 4 | 5 | class Recipe(recipe.Recipe): 6 | name = 'wavpack' 7 | version = '5.0.0' 8 | stype = SourceType.TARBALL 9 | url = 'https://github.com/dbry/WavPack/archive/5.0.0.tar.gz' 10 | tarball_dirname = 'WavPack-%(version)s' 11 | licenses = [License.BSD_like] 12 | autoreconf = True 13 | configure_options = ' --disable-apps ' 14 | 15 | files_libs = ['libwavpack'] 16 | files_devel = ['include/wavpack', 'lib/pkgconfig/wavpack.pc'] 17 | 18 | def configure(self): 19 | shell.replace(os.path.join(self.build_dir, 'Makefile.am'), 20 | {'SUBDIRS = src include cli man': 'SUBDIRS = src include man'}) 21 | if self.config.target_arch not in [Architecture.X86, Architecture.X86_64, Architecture.ARMv7, Architecture.ARMv7S] or self.config.target_platform == Platform.IOS: 22 | self.configure_options += ' --disable-asm ' 23 | 24 | super(Recipe, self).configure() 25 | 26 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0004-Don-t-use-MSVC-specific-exception-handler-for-MINGW.patch: -------------------------------------------------------------------------------- 1 | From 07f1de1f39d0bded62220d8dcc3ea5308af9839a Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Thu, 30 Jun 2016 14:15:09 -0400 4 | Subject: [PATCH 04/19] Don't use MSVC specific exception handler for MINGW 5 | 6 | Signed-off-by: Nicolas Dufresne 7 | 8 | https://bugs.freedesktop.org/show_bug.cgi?id=96754 9 | --- 10 | webrtc/base/platform_thread.cc | 4 ++++ 11 | 1 file changed, 4 insertions(+) 12 | 13 | diff --git a/webrtc/base/platform_thread.cc b/webrtc/base/platform_thread.cc 14 | index 4167392..33d2bdd 100644 15 | --- a/webrtc/base/platform_thread.cc 16 | +++ b/webrtc/base/platform_thread.cc 17 | @@ -70,7 +70,11 @@ void SetCurrentThreadName(const char* name) { 18 | __try { 19 | ::RaiseException(0x406D1388, 0, sizeof(threadname_info) / sizeof(DWORD), 20 | reinterpret_cast(&threadname_info)); 21 | +#ifdef __MINGW32__ 22 | + } catch (...) { 23 | +#else 24 | } __except (EXCEPTION_EXECUTE_HANDLER) { 25 | +#endif 26 | } 27 | #elif defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID) 28 | prctl(PR_SET_NAME, reinterpret_cast(name)); 29 | -- 30 | 2.7.4 31 | 32 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0005-Add-missing-throw-in-destructor-override.patch: -------------------------------------------------------------------------------- 1 | From 637b5bd28370e18287897fd0ba2570705d6da80f Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Thu, 30 Jun 2016 14:16:42 -0400 4 | Subject: [PATCH 05/19] Add missing throw in destructor override 5 | 6 | This is being inforced by mingw. 7 | 8 | Signed-off-by: Nicolas Dufresne 9 | 10 | https://bugs.freedesktop.org/show_bug.cgi?id=96754 11 | --- 12 | webrtc/common_audio/vad/vad.cc | 2 +- 13 | 1 file changed, 1 insertion(+), 1 deletion(-) 14 | 15 | diff --git a/webrtc/common_audio/vad/vad.cc b/webrtc/common_audio/vad/vad.cc 16 | index 95a162f..2e9cd69 100644 17 | --- a/webrtc/common_audio/vad/vad.cc 18 | +++ b/webrtc/common_audio/vad/vad.cc 19 | @@ -23,7 +23,7 @@ class VadImpl final : public Vad { 20 | Reset(); 21 | } 22 | 23 | - ~VadImpl() override { WebRtcVad_Free(handle_); } 24 | + ~VadImpl() throw() override { WebRtcVad_Free(handle_); } 25 | 26 | Activity VoiceActivity(const int16_t* audio, 27 | size_t num_samples, 28 | -- 29 | 2.7.4 30 | 31 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0009-Fix-build-on-win64.patch: -------------------------------------------------------------------------------- 1 | From b4e65a077431f3937a3938d918f510edddb4b403 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Thu, 30 Jun 2016 15:24:54 -0400 4 | Subject: [PATCH 09/19] Fix build on win64 5 | 6 | This trace function is mixing long int and long long int pointers. 7 | 8 | https://bugs.freedesktop.org/show_bug.cgi?id=96754 9 | --- 10 | webrtc/system_wrappers/source/trace_posix.cc | 3 ++- 11 | 1 file changed, 2 insertions(+), 1 deletion(-) 12 | 13 | diff --git a/webrtc/system_wrappers/source/trace_posix.cc b/webrtc/system_wrappers/source/trace_posix.cc 14 | index cb702d8..1419d24 100644 15 | --- a/webrtc/system_wrappers/source/trace_posix.cc 16 | +++ b/webrtc/system_wrappers/source/trace_posix.cc 17 | @@ -36,8 +36,9 @@ int32_t TracePosix::AddTime(char* trace_message, const TraceLevel level) const { 18 | return -1; 19 | } 20 | struct tm buffer; 21 | + time_t sys_time_sec = system_time_high_res.tv_sec; 22 | const struct tm* system_time = 23 | - localtime_r(&system_time_high_res.tv_sec, &buffer); 24 | + localtime_r(&sys_time_sec, &buffer); 25 | 26 | const uint32_t ms_time = system_time_high_res.tv_usec / 1000; 27 | uint32_t prev_tickCount = 0; 28 | -- 29 | 2.7.4 30 | 31 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0013-Add-required-define-for-Windows.patch: -------------------------------------------------------------------------------- 1 | From 7f656b91d9f48d72f0e89eda299f586018a8344c Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Mon, 4 Jul 2016 15:07:48 -0400 4 | Subject: [PATCH 13/19] Add required define for Windows 5 | 6 | This will also add it to the .pc file as WEBRTC_WIN leaks into the 7 | public interface and undefined __STRICT_ANSI__ so M_PI is available. 8 | 9 | https://bugs.freedesktop.org/show_bug.cgi?id=96754 10 | --- 11 | configure.ac | 5 ++++- 12 | 1 file changed, 4 insertions(+), 1 deletion(-) 13 | 14 | diff --git a/configure.ac b/configure.ac 15 | index 400b4a4..4333751 100644 16 | --- a/configure.ac 17 | +++ b/configure.ac 18 | @@ -67,8 +67,11 @@ AS_CASE(["${host}"], 19 | [OS_FLAGS="-DWEBRTC_MAC -DWEBRTC_IOS"], 20 | [OS_FLAGS="-DWEBRTC_MAC"]) 21 | PLATFORM_CFLAGS="-DWEBRTC_POSIX" 22 | + ], 23 | + [*-mingw32*], 24 | + [ 25 | + PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__" 26 | ] 27 | - # FIXME: Add Windows support 28 | ) 29 | AC_SUBST(PLATFORM_CFLAGS) 30 | 31 | -- 32 | 2.7.4 33 | 34 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0016-Define-MSVC-_WIN32-so-we-can-build-on-mingw.patch: -------------------------------------------------------------------------------- 1 | From 3c7d0a358081fb17a877802399b7685e55947289 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Mon, 4 Jul 2016 17:54:45 -0400 4 | Subject: [PATCH 16/19] Define MSVC _WIN32 so we can build on mingw 5 | 6 | https://bugs.freedesktop.org/show_bug.cgi?id=96754 7 | --- 8 | configure.ac | 2 +- 9 | 1 file changed, 1 insertion(+), 1 deletion(-) 10 | 11 | diff --git a/configure.ac b/configure.ac 12 | index bd8e409..2ca5ea9 100644 13 | --- a/configure.ac 14 | +++ b/configure.ac 15 | @@ -73,7 +73,7 @@ AS_CASE(["${host}"], 16 | ], 17 | [*-mingw32*], 18 | [ 19 | - PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__" 20 | + PLATFORM_CFLAGS="-DWEBRTC_WIN -D_WIN32 -U__STRICT_ANSI__" 21 | HAVE_WIN=1 22 | ] 23 | ) 24 | -- 25 | 2.7.4 26 | 27 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0019-osx-Fix-type-OS_FLAGS-instead-of-OS_CFLAGS.patch: -------------------------------------------------------------------------------- 1 | From a0ba303ba94b7af3fd176bc441119ac6eaae19b4 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Tue, 5 Jul 2016 18:44:19 -0400 4 | Subject: [PATCH 2/4] osx: Fix type OS_FLAGS instead of OS_CFLAGS 5 | 6 | --- 7 | configure.ac | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index d6c2457..7a8798e 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -66,8 +66,8 @@ AS_CASE(["${host}"], 15 | [*-*darwin*], 16 | [ 17 | AS_IF([test "$HAVE_IOS" = "yes"], 18 | - [OS_FLAGS="-DWEBRTC_MAC -DWEBRTC_IOS"], 19 | - [OS_FLAGS="-DWEBRTC_MAC"]) 20 | + [OS_CFLAGS="-DWEBRTC_MAC -DWEBRTC_IOS"], 21 | + [OS_CFLAGS="-DWEBRTC_MAC"]) 22 | PLATFORM_CFLAGS="-DWEBRTC_POSIX" 23 | HAVE_POSIX=1 24 | ], 25 | -- 26 | 2.7.4 27 | 28 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0021-Use-no-undefined-to-support-both-clang-and-gcc.patch: -------------------------------------------------------------------------------- 1 | From 01ad1123b46a8a1dda8c56cf9f632ef73526196b Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Wed, 6 Jul 2016 13:44:15 -0400 4 | Subject: [PATCH 2/3] Use -no-undefined to support both clang and gcc 5 | 6 | --- 7 | webrtc/modules/audio_processing/Makefile.am | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/webrtc/modules/audio_processing/Makefile.am b/webrtc/modules/audio_processing/Makefile.am 11 | index de259f0..5a98913 100644 12 | --- a/webrtc/modules/audio_processing/Makefile.am 13 | +++ b/webrtc/modules/audio_processing/Makefile.am 14 | @@ -175,7 +175,7 @@ libwebrtc_audio_processing_la_LIBADD = $(top_builddir)/webrtc/libwebrtc.la \ 15 | $(LIBWEBRTC_PRIVATEARCH) \ 16 | $(GNUSTL_LIBS) 17 | libwebrtc_audio_processing_la_LDFLAGS = $(AM_LDFLAGS) $(COMMON_LDFLAGS) \ 18 | - -Wl,--no-undefined \ 19 | + -no-undefined \ 20 | -version-info $(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO) 21 | 22 | # FIXME: The MIPS optimisations need to be hooked up once we have the 23 | -- 24 | 2.7.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0022-Re-add-pthread-linking-on-linux.patch: -------------------------------------------------------------------------------- 1 | From 3d3a874a75bef020dcdb30e20c722b5a159c1ee1 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Wed, 6 Jul 2016 13:57:00 -0400 4 | Subject: [PATCH 3/3] Re-add pthread linking on linux 5 | 6 | --- 7 | configure.ac | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 2658849..5aab9e6 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -62,7 +62,7 @@ AS_CASE(["${host}"], 15 | [ 16 | OS_CFLAGS="-DWEBRTC_LINUX -DWEBRTC_THREAD_RR" 17 | PLATFORM_CFLAGS="-DWEBRTC_POSIX" 18 | - OS_LDFLAGS="-lrt" 19 | + OS_LDFLAGS="-lrt -lpthread" 20 | HAVE_POSIX=1 21 | ], 22 | [*-*darwin*], 23 | -- 24 | 2.7.4 25 | 26 | -------------------------------------------------------------------------------- /recipes/webrtc-audio-processing/0023-Add-ARM-64bit-support.patch: -------------------------------------------------------------------------------- 1 | From 37962a1bb1f0bd1b8eed28ced4a5bc4190934107 Mon Sep 17 00:00:00 2001 2 | From: Nicolas Dufresne 3 | Date: Wed, 6 Jul 2016 15:18:15 -0400 4 | Subject: [PATCH] Add ARM 64bit support 5 | 6 | --- 7 | configure.ac | 5 +++++ 8 | 1 file changed, 5 insertions(+) 9 | 10 | diff --git a/configure.ac b/configure.ac 11 | index 5aab9e6..e2b0f3b 100644 12 | --- a/configure.ac 13 | +++ b/configure.ac 14 | @@ -101,6 +101,11 @@ AS_CASE(["${host_cpu}"], 15 | HAVE_ARM=1 16 | ARCH_CFLAGS="-DWEBRTC_ARCH_ARM" 17 | ], 18 | + [aarch64*], 19 | + [ 20 | + HAVE_NEON=1 21 | + ARCH_CFLAGS="-DWEBRTC_HAS_NEON -DWEBRTC_ARCH_ARM64" 22 | + ], 23 | # FIXME: Add MIPS support, see webrtc/BUILD.gn for defines 24 | [AC_MSG_ERROR([Unsupported CPU type $host_cpu])] 25 | ) 26 | -- 27 | 2.7.4 28 | 29 | -------------------------------------------------------------------------------- /recipes/winpthreads-runtime.recipe: -------------------------------------------------------------------------------- 1 | # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python 2 | import shutil 3 | from cerbero.errors import FatalError 4 | 5 | 6 | class Recipe(recipe.Recipe): 7 | name = 'winpthreads-runtime' 8 | version = '0.1' 9 | licenses = [License.LGPL] 10 | btype = BuildType.CUSTOM 11 | stype = SourceType.CUSTOM 12 | 13 | files_libs = ['libwinpthread'] 14 | 15 | def install(self): 16 | if self.config.platform == Platform.WINDOWS: 17 | binmingw = 'bin' 18 | else: 19 | binmingw = os.path.join(self.config.host, 'lib') 20 | # copy the dll's required at runtime 21 | for f in ['libwinpthread-1']: 22 | shutil.copy( 23 | os.path.join(self.config.toolchain_prefix, binmingw, f + '.dll'), 24 | os.path.join(self.config.prefix, 'bin', f + '.dll')) 25 | -------------------------------------------------------------------------------- /recipes/zlib/0001-win32-fix-dll-name.patch: -------------------------------------------------------------------------------- 1 | From 9bdbe1d8262bc19457a2c43bc78279f2b0be4b47 Mon Sep 17 00:00:00 2001 2 | From: Andoni Morales Alastruey 3 | Date: Mon, 28 Oct 2013 17:50:25 +0100 4 | Subject: [PATCH] win32: fix dll name 5 | 6 | --- 7 | win32/Makefile.gcc | 5 ++--- 8 | 1 file changed, 2 insertions(+), 3 deletions(-) 9 | 10 | diff --git a/win32/Makefile.gcc b/win32/Makefile.gcc 11 | index 305be50..3970c79 100644 12 | --- a/win32/Makefile.gcc 13 | +++ b/win32/Makefile.gcc 14 | @@ -30,18 +30,17 @@ 15 | # the DLL name should be changed from "zlib1.dll". 16 | 17 | STATICLIB = libz.a 18 | -SHAREDLIB = zlib1.dll 19 | +SHAREDLIB = libz.dll 20 | IMPLIB = libz.dll.a 21 | 22 | # 23 | # Set to 1 if shared object needs to be installed 24 | # 25 | -SHARED_MODE=0 26 | +SHARED_MODE=1 27 | 28 | #LOC = -DASMV 29 | #LOC = -DZLIB_DEBUG -g 30 | 31 | -PREFIX = 32 | CC = $(PREFIX)gcc 33 | CFLAGS = $(LOC) -O3 -Wall 34 | 35 | -- 36 | 2.11.0 37 | 38 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | # cerbero - a multi-platform build system for Open Source software 2 | # Copyright (C) 2012 Andoni Morales Alastruey 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Library General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Library General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Library General Public 15 | # License along with this library; if not, write to the 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 | # Boston, MA 02111-1307, USA. 18 | -------------------------------------------------------------------------------- /test/pkgconfig/glib-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | glib_genmarshal=glib-genmarshal 7 | gobject_query=gobject-query 8 | glib_mkenums=glib-mkenums 9 | 10 | Name: GLib 11 | Description: C Utility Library 12 | Version: 2.30.0 13 | Libs: -L${libdir} -lglib-2.0 14 | Libs.private: -lrt 15 | Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include 16 | -------------------------------------------------------------------------------- /test/pkgconfig/gmodule-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | gmodule_supported=true 7 | 8 | Name: GModule 9 | Description: Dynamic module loader for GLib 10 | Requires: glib-2.0 11 | Version: 2.30.0 12 | Libs: -L${libdir} -Wl,--export-dynamic -lgmodule-2.0 -pthread -lrt 13 | Libs.private: -ldl 14 | Cflags: -pthread 15 | -------------------------------------------------------------------------------- /test/pkgconfig/gmodule-no-export-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | gmodule_supported=true 7 | 8 | Name: GModule 9 | Description: Dynamic module loader for GLib 10 | Requires: glib-2.0 11 | Version: 2.30.0 12 | Libs: -L${libdir} -lgmodule-2.0 -pthread -lrt 13 | Libs.private: -ldl 14 | Cflags: -pthread 15 | -------------------------------------------------------------------------------- /test/pkgconfig/gobject-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: GObject 7 | Description: GLib Type, Object, Parameter and Signal Library 8 | Requires: glib-2.0,gthread-2.0 9 | Version: 2.30.0 10 | Libs: -L${libdir} -lgobject-2.0 11 | Libs.private: -lffi 12 | Cflags: 13 | -------------------------------------------------------------------------------- /test/pkgconfig/gstreamer-0.10.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include/gstreamer-0.10 5 | toolsdir=${exec_prefix}/bin 6 | pluginsdir=${exec_prefix}/lib/gstreamer-0.10 7 | datarootdir=${prefix}/share 8 | datadir=${datarootdir} 9 | girdir=${datadir}/gir-1.0 10 | typelibdir=${libdir}/girepository-1.0 11 | 12 | Name: GStreamer 13 | Description: Streaming media framework 14 | Requires: glib-2.0 >= 2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0, libxml-2.0 15 | Version: 0.10.35 16 | Libs: -L${libdir} -lgstreamer-0.10 17 | Cflags: -I${includedir} 18 | -------------------------------------------------------------------------------- /test/pkgconfig/gthread-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: GThread 7 | Description: Thread support for GLib 8 | Requires: glib-2.0 9 | Version: 2.30.0 10 | Libs: -L${libdir} -lgthread-2.0 -pthread -lrt 11 | Cflags: -pthread 12 | -------------------------------------------------------------------------------- /test/pkgconfig/libxml-2.0.pc: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | modules=1 6 | 7 | Name: libXML 8 | Version: 2.7.8 9 | Description: libXML library version2. 10 | Requires: 11 | Libs: -L${libdir} -lxml2 12 | Libs.private: -lz -lm 13 | Cflags: -I${includedir}/libxml2 14 | -------------------------------------------------------------------------------- /tools/build-toolchains.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # Build the Windows cross and native toolchains for x86 and x86_64 3 | 4 | WIPE=$1 5 | CURDIR=`pwd` 6 | set -e 7 | 8 | for a in "w64" "w32" 9 | do 10 | for p in "lin" "win" 11 | do 12 | echo "Building $p-$a toolchain" 13 | if test "x$WIPE" = "x1"; then 14 | ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force 15 | fi 16 | ./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain 17 | 18 | 19 | if test "x$a" = "xw64"; then 20 | ARCH=x86_64 21 | else 22 | ARCH=x86 23 | fi 24 | if test "x$p" = "xwin"; then 25 | PLAT=windows 26 | else 27 | PLAT=linux 28 | fi 29 | TC=mingw-$a-gcc-4.7.3-$PLAT-$ARCH.tar.xz 30 | echo "Creating tarball $TC" 31 | cd ~/mingw/$PLAT/$a 32 | XZ_OPT=-9 tar cJf $CURDIR/$TC * 33 | cd $CURDIR 34 | md5sum $TC | awk '{print $1}' > $TC.md5 35 | sha1sum $TC | awk '{print $1}' > $TC.sha1 36 | done 37 | done 38 | -------------------------------------------------------------------------------- /tools/cerbero.cbc.template: -------------------------------------------------------------------------------- 1 | import os 2 | from cerbero.config import Platform, Architecture, Distro, DistroVersion 3 | 4 | packages_prefix = 'gstreamer-1.0' 5 | packager = 'Fill Me ' 6 | prefix = "/opt/gstreamer-1.0" 7 | -------------------------------------------------------------------------------- /update-gst.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | for i in gstreamer gst-plugins-{base,good,bad,ugly}; do 3 | echo $i; 4 | master_commit=`git ls-remote git://anongit.freedesktop.org/git/gstreamer/$i | grep "master$" | awk '{print $1}'` 5 | echo $master_commit 6 | for j in -1.0{,-static}; do 7 | sed -E -i .bak "s/([ ]+commit = )'[0-9a-z]+'/\1'$master_commit'/" recipes/$i$j.recipe; 8 | done 9 | done 10 | --------------------------------------------------------------------------------