From bc22a1677d844ed517d781da667190f97b100ab7 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Wed, 3 Apr 2019 23:49:15 -1000 Subject: Begin standardizing lib packages used by ffmpeg --- data/_ffmpeg/_metadata/description | 1 + data/_ffmpeg/_metadata/gnutls.dep | 1 + data/_ffmpeg/_metadata/in.1443.00 | 0 data/_ffmpeg/_metadata/lame.dep | 1 + data/_ffmpeg/_metadata/libmp3lame0.dep | 1 + data/_ffmpeg/_metadata/libopus.dep | 1 + data/_ffmpeg/_metadata/libopus0.dep | 1 + data/_ffmpeg/_metadata/libtheora.dep | 1 + data/_ffmpeg/_metadata/libtheora0.dep | 1 + data/_ffmpeg/_metadata/libvorbis.dep | 1 + data/_ffmpeg/_metadata/libvorbis0.dep | 1 + data/_ffmpeg/_metadata/libvpx.dep | 1 + data/_ffmpeg/_metadata/libvpx6.dep | 1 + data/_ffmpeg/_metadata/libxvidcore4.dep | 1 + data/_ffmpeg/_metadata/maintainer | 1 + data/_ffmpeg/_metadata/priority | 1 + data/_ffmpeg/_metadata/role | 1 + data/_ffmpeg/_metadata/section | 1 + data/_ffmpeg/_metadata/tags | 1 + data/_ffmpeg/_metadata/version | 1 + data/_ffmpeg/_metadata/x264.dep | 1 + data/_ffmpeg/_metadata/x265.dep | 1 + data/_ffmpeg/_metadata/xz.dep | 1 + data/_ffmpeg/ffmpeg-4.1.3.tar.xz | Bin 0 -> 8895988 bytes data/_ffmpeg/make.sh | 22 + data/_lame/_metadata/description | 1 + data/_lame/_metadata/in.1443.00 | 0 data/_lame/_metadata/license | 1 + data/_lame/_metadata/maintainer | 1 + data/_lame/_metadata/name | 1 + data/_lame/_metadata/ncurses.dep | 1 + data/_lame/_metadata/priority | 1 + data/_lame/_metadata/role | 1 + data/_lame/_metadata/section | 1 + data/_lame/_metadata/tags | 1 + data/_lame/_metadata/version | 1 + data/_lame/lame-3.100.tar.gz | Bin 0 -> 1524133 bytes data/_lame/lame_init_old.diff | 9 + data/_lame/make.sh | 4 + data/_lame/timestamp.diff | 60 + data/_libogg/_metadata/description | 1 + data/_libogg/_metadata/in.1443.00 | 0 data/_libogg/_metadata/license | 28 + data/_libogg/_metadata/maintainer | 1 + data/_libogg/_metadata/priority | 1 + data/_libogg/_metadata/role | 1 + data/_libogg/_metadata/section | 1 + data/_libogg/_metadata/tags | 1 + data/_libogg/_metadata/version | 1 + data/_libogg/libogg-1.3.3.tar.gz | Bin 0 -> 579853 bytes data/_libogg/make.sh | 4 + data/_libopus/_metadata/description | 1 + data/_libopus/_metadata/in.1443.00 | 0 data/_libopus/_metadata/license | 30 + data/_libopus/_metadata/maintainer | 1 + data/_libopus/_metadata/priority | 1 + data/_libopus/_metadata/role | 1 + data/_libopus/_metadata/section | 1 + data/_libopus/_metadata/tags | 1 + data/_libopus/_metadata/version | 1 + data/_libopus/make.sh | 4 + data/_libopus/opus-1.3.tar.gz | Bin 0 -> 1032750 bytes data/_libtheora/_metadata/description | 1 + data/_libtheora/_metadata/in.1443.00 | 0 data/_libtheora/_metadata/libogg0.dep | 1 + data/_libtheora/_metadata/libvorbis0.dep | 1 + data/_libtheora/_metadata/license | 28 + data/_libtheora/_metadata/maintainer | 1 + data/_libtheora/_metadata/priority | 1 + data/_libtheora/_metadata/role | 1 + data/_libtheora/_metadata/section | 1 + data/_libtheora/_metadata/tags | 1 + data/_libtheora/_metadata/version | 1 + data/_libtheora/info.diff | 31 + data/_libtheora/libtheora-1.1.1.tar.bz2 | Bin 0 -> 1903175 bytes data/_libtheora/make.sh | 4 + data/_libvorbis/_metadata/description | 1 + data/_libvorbis/_metadata/in.1443.00 | 0 data/_libvorbis/_metadata/libogg0.dep | 1 + data/_libvorbis/_metadata/license | 28 + data/_libvorbis/_metadata/maintainer | 1 + data/_libvorbis/_metadata/priority | 1 + data/_libvorbis/_metadata/role | 1 + data/_libvorbis/_metadata/section | 1 + data/_libvorbis/_metadata/tags | 1 + data/_libvorbis/_metadata/version | 1 + data/_libvorbis/make.sh | 5 + data/_libvorbis/v1.3.6.tar.gz | Bin 0 -> 1223948 bytes data/_libvpx/_metadata/description | 1 + data/_libvpx/_metadata/in.1443.00 | 0 data/_libvpx/_metadata/license | 31 + data/_libvpx/_metadata/maintainer | 1 + data/_libvpx/_metadata/priority | 1 + data/_libvpx/_metadata/role | 1 + data/_libvpx/_metadata/section | 1 + data/_libvpx/_metadata/tags | 1 + data/_libvpx/_metadata/version | 1 + data/_libvpx/install_name.diff | 11 + data/_libvpx/libvpx-1.8.0.tar.gz | Bin 0 -> 2879302 bytes data/_libvpx/make.sh | 14 + data/_libvpx/toolchain.diff | 158 +++ data/_libvpx/vp9symbols.diff | 11 + data/_x264/_metadata/description | 1 + data/_x264/_metadata/in.1443.00 | 0 data/_x264/_metadata/maintainer | 1 + data/_x264/_metadata/name | 1 + data/_x264/_metadata/priority | 1 + data/_x264/_metadata/role | 1 + data/_x264/_metadata/section | 1 + data/_x264/_metadata/tags | 1 + data/_x264/_metadata/version | 1 + data/_x264/gas-preprocessor.pl | 1180 ++++++++++++++++++++ data/_x264/make.sh | 6 + data/_x264/makefile-error.diff | 12 + data/_x264/x264-2945.tar.lz | Bin 0 -> 6290968 bytes data/_x265/_metadata/description | 1 + data/_x265/_metadata/in.1443.00 | 0 data/_x265/_metadata/license | 343 ++++++ data/_x265/_metadata/maintainer | 1 + data/_x265/_metadata/name | 1 + data/_x265/_metadata/priority | 1 + data/_x265/_metadata/role | 1 + data/_x265/_metadata/section | 1 + data/_x265/_metadata/tags | 1 + data/_x265/_metadata/version | 1 + data/_x265/make.sh | 47 + data/_x265/x265_3.0.tar.gz | Bin 0 -> 1398519 bytes data/ffmpeg/_metadata/_ffmpeg.dep | 1 + data/ffmpeg/_metadata/lame.dep | 1 - data/ffmpeg/_metadata/libavcodec58.dep | 1 + data/ffmpeg/_metadata/libavdevice58.dep | 1 + data/ffmpeg/_metadata/libavfilter7.dep | 1 + data/ffmpeg/_metadata/libavformat58.dep | 1 + data/ffmpeg/_metadata/libavtil56.dep | 1 + data/ffmpeg/_metadata/libavutil56.dep | 1 + data/ffmpeg/_metadata/libmp3lame0.dep | 1 + data/ffmpeg/_metadata/libogg0.dep | 1 + data/ffmpeg/_metadata/libopus.dep | 1 - data/ffmpeg/_metadata/libopus0.dep | 1 + data/ffmpeg/_metadata/libpostproc55.dep | 1 + data/ffmpeg/_metadata/libswresample3.dep | 1 + data/ffmpeg/_metadata/libswscale5.dep | 1 + data/ffmpeg/_metadata/libtheora.dep | 1 - data/ffmpeg/_metadata/libtheora0.dep | 1 + data/ffmpeg/_metadata/libvorbis.dep | 1 - data/ffmpeg/_metadata/libvorbis0.dep | 1 + data/ffmpeg/_metadata/libvpx.dep | 1 - data/ffmpeg/_metadata/libvpx6.dep | 1 + data/ffmpeg/_metadata/libx264-157.dep | 1 + data/ffmpeg/_metadata/libx265-169.dep | 1 + data/ffmpeg/_metadata/x264.dep | 1 - data/ffmpeg/_metadata/x265.dep | 1 - data/ffmpeg/ffmpeg-4.1.3.tar.xz | Bin 8895988 -> 0 bytes data/ffmpeg/make.sh | 24 +- data/lame/_metadata/description | 2 +- data/lame/_metadata/libmp3lame0.dep | 1 + data/lame/_metadata/libmp3lame0.ver.iphoneos-arm | 1 + data/lame/_metadata/version | 2 +- data/lame/lame-3.100.tar.gz | Bin 1524133 -> 0 bytes data/lame/lame_init_old.diff | 9 - data/lame/make.sh | 6 +- data/lame/timestamp.diff | 60 - data/libogg-dev/_metadata/conflicts | 1 + data/libogg-dev/_metadata/description | 1 + data/libogg-dev/_metadata/in.1443.00 | 0 data/libogg-dev/_metadata/libogg0.dep | 1 + data/libogg-dev/_metadata/libogg0.ver.iphoneos-arm | 1 + data/libogg-dev/_metadata/license | 1 + data/libogg-dev/_metadata/maintainer | 1 + data/libogg-dev/_metadata/priority | 1 + data/libogg-dev/_metadata/role | 1 + data/libogg-dev/_metadata/section | 1 + data/libogg-dev/_metadata/tags | 1 + data/libogg-dev/_metadata/version | 1 + data/libogg-dev/make.sh | 4 + data/libogg/_metadata/conflicts | 1 - data/libogg/_metadata/description | 1 - data/libogg/_metadata/in.1443.00 | 0 data/libogg/_metadata/license | 28 - data/libogg/_metadata/maintainer | 1 - data/libogg/_metadata/priority | 1 - data/libogg/_metadata/provides | 1 - data/libogg/_metadata/replaces | 1 - data/libogg/_metadata/role | 1 - data/libogg/_metadata/section | 1 - data/libogg/_metadata/tags | 1 - data/libogg/_metadata/version | 1 - data/libogg/libogg-1.3.3.tar.gz | Bin 579853 -> 0 bytes data/libogg/make.sh | 4 - data/libogg0/_metadata/_libogg.dep | 1 + data/libogg0/_metadata/conflicts | 1 + data/libogg0/_metadata/description | 1 + data/libogg0/_metadata/in.1443.00 | 0 data/libogg0/_metadata/license | 1 + data/libogg0/_metadata/maintainer | 1 + data/libogg0/_metadata/priority | 1 + data/libogg0/_metadata/provides | 1 + data/libogg0/_metadata/replaces | 1 + data/libogg0/_metadata/role | 1 + data/libogg0/_metadata/section | 1 + data/libogg0/_metadata/tags | 1 + data/libogg0/_metadata/version | 1 + data/libogg0/make.sh | 2 + data/libopus/_metadata/description | 1 - data/libopus/_metadata/in.1443.00 | 0 data/libopus/_metadata/license | 30 - data/libopus/_metadata/maintainer | 1 - data/libopus/_metadata/priority | 1 - data/libopus/_metadata/role | 1 - data/libopus/_metadata/section | 1 - data/libopus/_metadata/tags | 1 - data/libopus/_metadata/version | 1 - data/libopus/make.sh | 4 - data/libopus/opus-1.3.tar.gz | Bin 1032750 -> 0 bytes data/libtheora/_metadata/description | 1 - data/libtheora/_metadata/in.1443.00 | 0 data/libtheora/_metadata/libogg.dep | 1 - data/libtheora/_metadata/libvorbis.dep | 1 - data/libtheora/_metadata/license | 28 - data/libtheora/_metadata/maintainer | 1 - data/libtheora/_metadata/priority | 1 - data/libtheora/_metadata/role | 1 - data/libtheora/_metadata/section | 1 - data/libtheora/_metadata/tags | 1 - data/libtheora/_metadata/version | 1 - data/libtheora/info.diff | 31 - data/libtheora/libtheora-1.1.1.tar.bz2 | Bin 1903175 -> 0 bytes data/libtheora/make.sh | 4 - data/libvorbis-dev/_metadata/conflicts | 1 + data/libvorbis-dev/_metadata/description | 1 + data/libvorbis-dev/_metadata/in.1443.00 | 0 data/libvorbis-dev/_metadata/libogg0.dep | 1 + data/libvorbis-dev/_metadata/libvorbis0.dep | 1 + .../_metadata/libvorbis0.ver.iphoneos-arm | 1 + data/libvorbis-dev/_metadata/libvorbisenc2.dep | 1 + .../_metadata/libvorbisenc2.ver.iphoneos-arm | 1 + data/libvorbis-dev/_metadata/libvorbisfile3.dep | 1 + .../_metadata/libvorbisfile3.ver.iphoneos-arm | 1 + data/libvorbis-dev/_metadata/license | 1 + data/libvorbis-dev/_metadata/maintainer | 1 + data/libvorbis-dev/_metadata/priority | 1 + data/libvorbis-dev/_metadata/provides | 1 + data/libvorbis-dev/_metadata/replaces | 1 + data/libvorbis-dev/_metadata/role | 1 + data/libvorbis-dev/_metadata/section | 1 + data/libvorbis-dev/_metadata/tags | 1 + data/libvorbis-dev/_metadata/version | 1 + data/libvorbis-dev/make.sh | 4 + data/libvorbis/_metadata/conflicts | 1 - data/libvorbis/_metadata/description | 1 - data/libvorbis/_metadata/in.1443.00 | 0 data/libvorbis/_metadata/libogg.dep | 1 - data/libvorbis/_metadata/license | 28 - data/libvorbis/_metadata/maintainer | 1 - data/libvorbis/_metadata/priority | 1 - data/libvorbis/_metadata/provides | 1 - data/libvorbis/_metadata/replaces | 1 - data/libvorbis/_metadata/role | 1 - data/libvorbis/_metadata/section | 1 - data/libvorbis/_metadata/tags | 1 - data/libvorbis/_metadata/version | 1 - data/libvorbis/make.sh | 5 - data/libvorbis/v1.3.6.tar.gz | Bin 1223948 -> 0 bytes data/libvorbis0/_metadata/_libvorbis.dep | 1 + data/libvorbis0/_metadata/conflicts | 1 + data/libvorbis0/_metadata/description | 1 + data/libvorbis0/_metadata/in.1443.00 | 0 data/libvorbis0/_metadata/libogg0.dep | 1 + data/libvorbis0/_metadata/license | 1 + data/libvorbis0/_metadata/maintainer | 1 + data/libvorbis0/_metadata/priority | 1 + data/libvorbis0/_metadata/role | 1 + data/libvorbis0/_metadata/section | 1 + data/libvorbis0/_metadata/tags | 1 + data/libvorbis0/_metadata/version | 1 + data/libvorbis0/make.sh | 2 + data/libvorbisenc2/_metadata/conflicts | 1 + data/libvorbisenc2/_metadata/description | 1 + data/libvorbisenc2/_metadata/in.1443.00 | 0 data/libvorbisenc2/_metadata/libvorbis0.dep | 1 + data/libvorbisenc2/_metadata/license | 1 + data/libvorbisenc2/_metadata/maintainer | 1 + data/libvorbisenc2/_metadata/priority | 1 + data/libvorbisenc2/_metadata/role | 1 + data/libvorbisenc2/_metadata/section | 1 + data/libvorbisenc2/_metadata/tags | 1 + data/libvorbisenc2/_metadata/version | 1 + data/libvorbisenc2/make.sh | 2 + data/libvorbisfile3/_metadata/conflicts | 1 + data/libvorbisfile3/_metadata/description | 1 + data/libvorbisfile3/_metadata/in.1443.00 | 0 data/libvorbisfile3/_metadata/libvorbis0.dep | 1 + data/libvorbisfile3/_metadata/license | 1 + data/libvorbisfile3/_metadata/maintainer | 1 + data/libvorbisfile3/_metadata/priority | 1 + data/libvorbisfile3/_metadata/role | 1 + data/libvorbisfile3/_metadata/section | 1 + data/libvorbisfile3/_metadata/tags | 1 + data/libvorbisfile3/_metadata/version | 1 + data/libvorbisfile3/make.sh | 2 + data/libvpx-dev/_metadata/description | 1 + data/libvpx-dev/_metadata/in.1443.00 | 0 data/libvpx-dev/_metadata/libvpx6.dep | 1 + data/libvpx-dev/_metadata/license | 1 + data/libvpx-dev/_metadata/maintainer | 1 + data/libvpx-dev/_metadata/priority | 1 + data/libvpx-dev/_metadata/role | 1 + data/libvpx-dev/_metadata/section | 1 + data/libvpx-dev/_metadata/tags | 1 + data/libvpx-dev/_metadata/version | 1 + data/libvpx-dev/make.sh | 3 + data/libvpx/_metadata/description | 1 - data/libvpx/_metadata/in.1443.00 | 0 data/libvpx/_metadata/license | 31 - data/libvpx/_metadata/maintainer | 1 - data/libvpx/_metadata/priority | 1 - data/libvpx/_metadata/role | 1 - data/libvpx/_metadata/section | 1 - data/libvpx/_metadata/tags | 1 - data/libvpx/_metadata/version | 1 - data/libvpx/install_name.diff | 11 - data/libvpx/libvpx-1.8.0.tar.gz | Bin 2879302 -> 0 bytes data/libvpx/make.sh | 14 - data/libvpx/toolchain.diff | 158 --- data/libvpx/vp9symbols.diff | 11 - data/libx264-157/_metadata/_x264.dep | 1 + data/libx264-157/_metadata/description | 1 + data/libx264-157/_metadata/in.1443.00 | 0 data/libx264-157/_metadata/maintainer | 1 + data/libx264-157/_metadata/priority | 1 + data/libx264-157/_metadata/role | 1 + data/libx264-157/_metadata/section | 1 + data/libx264-157/_metadata/tags | 1 + data/libx264-157/_metadata/version | 1 + data/libx264-157/make.sh | 2 + data/libx264-dev/_metadata/_x264.dep | 1 + data/libx264-dev/_metadata/description | 1 + data/libx264-dev/_metadata/in.1443.00 | 0 data/libx264-dev/_metadata/libx264-157.dep | 1 + .../_metadata/libx264-157.ver.iphoneos-arm | 1 + data/libx264-dev/_metadata/maintainer | 1 + data/libx264-dev/_metadata/priority | 1 + data/libx264-dev/_metadata/role | 1 + data/libx264-dev/_metadata/section | 1 + data/libx264-dev/_metadata/tags | 1 + data/libx264-dev/_metadata/version | 1 + data/libx264-dev/make.sh | 4 + data/x264/20190402-2245-x264.tar.bz2 | Bin 774508 -> 0 bytes data/x264/_metadata/description | 2 +- data/x264/_metadata/libx264-157.dep | 1 + data/x264/_metadata/libx264-157.ver.iphoneos-arm | 1 + data/x264/_metadata/name | 1 - data/x264/_metadata/version | 2 +- data/x264/gas-preprocessor.pl | 1180 -------------------- data/x264/make.sh | 8 +- data/x265/_metadata/description | 1 - data/x265/_metadata/in.1443.00 | 0 data/x265/_metadata/license | 343 ------ data/x265/_metadata/maintainer | 1 - data/x265/_metadata/name | 1 - data/x265/_metadata/priority | 1 - data/x265/_metadata/role | 1 - data/x265/_metadata/section | 1 - data/x265/_metadata/tags | 1 - data/x265/_metadata/version | 1 - data/x265/make.sh | 47 - data/x265/x265_3.0.tar.gz | Bin 1398519 -> 0 bytes 367 files changed, 2312 insertions(+), 2122 deletions(-) create mode 100644 data/_ffmpeg/_metadata/description create mode 120000 data/_ffmpeg/_metadata/gnutls.dep create mode 100644 data/_ffmpeg/_metadata/in.1443.00 create mode 120000 data/_ffmpeg/_metadata/lame.dep create mode 120000 data/_ffmpeg/_metadata/libmp3lame0.dep create mode 120000 data/_ffmpeg/_metadata/libopus.dep create mode 120000 data/_ffmpeg/_metadata/libopus0.dep create mode 120000 data/_ffmpeg/_metadata/libtheora.dep create mode 120000 data/_ffmpeg/_metadata/libtheora0.dep create mode 120000 data/_ffmpeg/_metadata/libvorbis.dep create mode 120000 data/_ffmpeg/_metadata/libvorbis0.dep create mode 120000 data/_ffmpeg/_metadata/libvpx.dep create mode 120000 data/_ffmpeg/_metadata/libvpx6.dep create mode 120000 data/_ffmpeg/_metadata/libxvidcore4.dep create mode 120000 data/_ffmpeg/_metadata/maintainer create mode 100644 data/_ffmpeg/_metadata/priority create mode 100644 data/_ffmpeg/_metadata/role create mode 100644 data/_ffmpeg/_metadata/section create mode 100644 data/_ffmpeg/_metadata/tags create mode 100644 data/_ffmpeg/_metadata/version create mode 120000 data/_ffmpeg/_metadata/x264.dep create mode 120000 data/_ffmpeg/_metadata/x265.dep create mode 120000 data/_ffmpeg/_metadata/xz.dep create mode 100644 data/_ffmpeg/ffmpeg-4.1.3.tar.xz create mode 100644 data/_ffmpeg/make.sh create mode 100644 data/_lame/_metadata/description create mode 100644 data/_lame/_metadata/in.1443.00 create mode 120000 data/_lame/_metadata/license create mode 120000 data/_lame/_metadata/maintainer create mode 100644 data/_lame/_metadata/name create mode 120000 data/_lame/_metadata/ncurses.dep create mode 100644 data/_lame/_metadata/priority create mode 100644 data/_lame/_metadata/role create mode 100644 data/_lame/_metadata/section create mode 100644 data/_lame/_metadata/tags create mode 100644 data/_lame/_metadata/version create mode 100644 data/_lame/lame-3.100.tar.gz create mode 100644 data/_lame/lame_init_old.diff create mode 100644 data/_lame/make.sh create mode 100644 data/_lame/timestamp.diff create mode 100644 data/_libogg/_metadata/description create mode 100644 data/_libogg/_metadata/in.1443.00 create mode 100644 data/_libogg/_metadata/license create mode 120000 data/_libogg/_metadata/maintainer create mode 100644 data/_libogg/_metadata/priority create mode 100644 data/_libogg/_metadata/role create mode 100644 data/_libogg/_metadata/section create mode 100644 data/_libogg/_metadata/tags create mode 100644 data/_libogg/_metadata/version create mode 100644 data/_libogg/libogg-1.3.3.tar.gz create mode 100644 data/_libogg/make.sh create mode 100644 data/_libopus/_metadata/description create mode 100644 data/_libopus/_metadata/in.1443.00 create mode 100644 data/_libopus/_metadata/license create mode 120000 data/_libopus/_metadata/maintainer create mode 100644 data/_libopus/_metadata/priority create mode 100644 data/_libopus/_metadata/role create mode 100644 data/_libopus/_metadata/section create mode 100644 data/_libopus/_metadata/tags create mode 100644 data/_libopus/_metadata/version create mode 100644 data/_libopus/make.sh create mode 100644 data/_libopus/opus-1.3.tar.gz create mode 100644 data/_libtheora/_metadata/description create mode 100644 data/_libtheora/_metadata/in.1443.00 create mode 120000 data/_libtheora/_metadata/libogg0.dep create mode 120000 data/_libtheora/_metadata/libvorbis0.dep create mode 100644 data/_libtheora/_metadata/license create mode 120000 data/_libtheora/_metadata/maintainer create mode 100644 data/_libtheora/_metadata/priority create mode 100644 data/_libtheora/_metadata/role create mode 100644 data/_libtheora/_metadata/section create mode 100644 data/_libtheora/_metadata/tags create mode 100644 data/_libtheora/_metadata/version create mode 100644 data/_libtheora/info.diff create mode 100644 data/_libtheora/libtheora-1.1.1.tar.bz2 create mode 100644 data/_libtheora/make.sh create mode 100644 data/_libvorbis/_metadata/description create mode 100644 data/_libvorbis/_metadata/in.1443.00 create mode 120000 data/_libvorbis/_metadata/libogg0.dep create mode 100644 data/_libvorbis/_metadata/license create mode 120000 data/_libvorbis/_metadata/maintainer create mode 100644 data/_libvorbis/_metadata/priority create mode 100644 data/_libvorbis/_metadata/role create mode 100644 data/_libvorbis/_metadata/section create mode 100644 data/_libvorbis/_metadata/tags create mode 100644 data/_libvorbis/_metadata/version create mode 100644 data/_libvorbis/make.sh create mode 100644 data/_libvorbis/v1.3.6.tar.gz create mode 100644 data/_libvpx/_metadata/description create mode 100644 data/_libvpx/_metadata/in.1443.00 create mode 100644 data/_libvpx/_metadata/license create mode 120000 data/_libvpx/_metadata/maintainer create mode 100644 data/_libvpx/_metadata/priority create mode 100644 data/_libvpx/_metadata/role create mode 100644 data/_libvpx/_metadata/section create mode 100644 data/_libvpx/_metadata/tags create mode 100644 data/_libvpx/_metadata/version create mode 100644 data/_libvpx/install_name.diff create mode 100644 data/_libvpx/libvpx-1.8.0.tar.gz create mode 100644 data/_libvpx/make.sh create mode 100644 data/_libvpx/toolchain.diff create mode 100644 data/_libvpx/vp9symbols.diff create mode 100644 data/_x264/_metadata/description create mode 100644 data/_x264/_metadata/in.1443.00 create mode 120000 data/_x264/_metadata/maintainer create mode 100644 data/_x264/_metadata/name create mode 100644 data/_x264/_metadata/priority create mode 100644 data/_x264/_metadata/role create mode 100644 data/_x264/_metadata/section create mode 100644 data/_x264/_metadata/tags create mode 100644 data/_x264/_metadata/version create mode 100755 data/_x264/gas-preprocessor.pl create mode 100644 data/_x264/make.sh create mode 100644 data/_x264/makefile-error.diff create mode 100644 data/_x264/x264-2945.tar.lz create mode 100644 data/_x265/_metadata/description create mode 100644 data/_x265/_metadata/in.1443.00 create mode 100644 data/_x265/_metadata/license create mode 120000 data/_x265/_metadata/maintainer create mode 100644 data/_x265/_metadata/name create mode 100644 data/_x265/_metadata/priority create mode 100644 data/_x265/_metadata/role create mode 100644 data/_x265/_metadata/section create mode 100644 data/_x265/_metadata/tags create mode 100644 data/_x265/_metadata/version create mode 100644 data/_x265/make.sh create mode 100644 data/_x265/x265_3.0.tar.gz create mode 120000 data/ffmpeg/_metadata/_ffmpeg.dep delete mode 120000 data/ffmpeg/_metadata/lame.dep create mode 120000 data/ffmpeg/_metadata/libavcodec58.dep create mode 120000 data/ffmpeg/_metadata/libavdevice58.dep create mode 120000 data/ffmpeg/_metadata/libavfilter7.dep create mode 120000 data/ffmpeg/_metadata/libavformat58.dep create mode 120000 data/ffmpeg/_metadata/libavtil56.dep create mode 120000 data/ffmpeg/_metadata/libavutil56.dep create mode 120000 data/ffmpeg/_metadata/libmp3lame0.dep create mode 120000 data/ffmpeg/_metadata/libogg0.dep delete mode 120000 data/ffmpeg/_metadata/libopus.dep create mode 120000 data/ffmpeg/_metadata/libopus0.dep create mode 120000 data/ffmpeg/_metadata/libpostproc55.dep create mode 120000 data/ffmpeg/_metadata/libswresample3.dep create mode 120000 data/ffmpeg/_metadata/libswscale5.dep delete mode 120000 data/ffmpeg/_metadata/libtheora.dep create mode 120000 data/ffmpeg/_metadata/libtheora0.dep delete mode 120000 data/ffmpeg/_metadata/libvorbis.dep create mode 120000 data/ffmpeg/_metadata/libvorbis0.dep delete mode 120000 data/ffmpeg/_metadata/libvpx.dep create mode 120000 data/ffmpeg/_metadata/libvpx6.dep create mode 120000 data/ffmpeg/_metadata/libx264-157.dep create mode 120000 data/ffmpeg/_metadata/libx265-169.dep delete mode 120000 data/ffmpeg/_metadata/x264.dep delete mode 120000 data/ffmpeg/_metadata/x265.dep delete mode 100644 data/ffmpeg/ffmpeg-4.1.3.tar.xz create mode 120000 data/lame/_metadata/libmp3lame0.dep create mode 120000 data/lame/_metadata/libmp3lame0.ver.iphoneos-arm mode change 100644 => 120000 data/lame/_metadata/version delete mode 100644 data/lame/lame-3.100.tar.gz delete mode 100644 data/lame/lame_init_old.diff delete mode 100644 data/lame/timestamp.diff create mode 100644 data/libogg-dev/_metadata/conflicts create mode 100644 data/libogg-dev/_metadata/description create mode 100644 data/libogg-dev/_metadata/in.1443.00 create mode 120000 data/libogg-dev/_metadata/libogg0.dep create mode 120000 data/libogg-dev/_metadata/libogg0.ver.iphoneos-arm create mode 120000 data/libogg-dev/_metadata/license create mode 120000 data/libogg-dev/_metadata/maintainer create mode 100644 data/libogg-dev/_metadata/priority create mode 100644 data/libogg-dev/_metadata/role create mode 100644 data/libogg-dev/_metadata/section create mode 100644 data/libogg-dev/_metadata/tags create mode 120000 data/libogg-dev/_metadata/version create mode 100644 data/libogg-dev/make.sh delete mode 100644 data/libogg/_metadata/conflicts delete mode 100644 data/libogg/_metadata/description delete mode 100644 data/libogg/_metadata/in.1443.00 delete mode 100644 data/libogg/_metadata/license delete mode 120000 data/libogg/_metadata/maintainer delete mode 100644 data/libogg/_metadata/priority delete mode 100644 data/libogg/_metadata/provides delete mode 100644 data/libogg/_metadata/replaces delete mode 100644 data/libogg/_metadata/role delete mode 100644 data/libogg/_metadata/section delete mode 100644 data/libogg/_metadata/tags delete mode 100644 data/libogg/_metadata/version delete mode 100644 data/libogg/libogg-1.3.3.tar.gz delete mode 100644 data/libogg/make.sh create mode 120000 data/libogg0/_metadata/_libogg.dep create mode 100644 data/libogg0/_metadata/conflicts create mode 100644 data/libogg0/_metadata/description create mode 100644 data/libogg0/_metadata/in.1443.00 create mode 120000 data/libogg0/_metadata/license create mode 120000 data/libogg0/_metadata/maintainer create mode 100644 data/libogg0/_metadata/priority create mode 100644 data/libogg0/_metadata/provides create mode 100644 data/libogg0/_metadata/replaces create mode 100644 data/libogg0/_metadata/role create mode 100644 data/libogg0/_metadata/section create mode 100644 data/libogg0/_metadata/tags create mode 120000 data/libogg0/_metadata/version create mode 100644 data/libogg0/make.sh delete mode 100644 data/libopus/_metadata/description delete mode 100644 data/libopus/_metadata/in.1443.00 delete mode 100644 data/libopus/_metadata/license delete mode 120000 data/libopus/_metadata/maintainer delete mode 100644 data/libopus/_metadata/priority delete mode 100644 data/libopus/_metadata/role delete mode 100644 data/libopus/_metadata/section delete mode 100644 data/libopus/_metadata/tags delete mode 100644 data/libopus/_metadata/version delete mode 100644 data/libopus/make.sh delete mode 100644 data/libopus/opus-1.3.tar.gz delete mode 100644 data/libtheora/_metadata/description delete mode 100644 data/libtheora/_metadata/in.1443.00 delete mode 120000 data/libtheora/_metadata/libogg.dep delete mode 120000 data/libtheora/_metadata/libvorbis.dep delete mode 100644 data/libtheora/_metadata/license delete mode 120000 data/libtheora/_metadata/maintainer delete mode 100644 data/libtheora/_metadata/priority delete mode 100644 data/libtheora/_metadata/role delete mode 100644 data/libtheora/_metadata/section delete mode 100644 data/libtheora/_metadata/tags delete mode 100644 data/libtheora/_metadata/version delete mode 100644 data/libtheora/info.diff delete mode 100644 data/libtheora/libtheora-1.1.1.tar.bz2 delete mode 100644 data/libtheora/make.sh create mode 100644 data/libvorbis-dev/_metadata/conflicts create mode 100644 data/libvorbis-dev/_metadata/description create mode 100644 data/libvorbis-dev/_metadata/in.1443.00 create mode 120000 data/libvorbis-dev/_metadata/libogg0.dep create mode 120000 data/libvorbis-dev/_metadata/libvorbis0.dep create mode 120000 data/libvorbis-dev/_metadata/libvorbis0.ver.iphoneos-arm create mode 120000 data/libvorbis-dev/_metadata/libvorbisenc2.dep create mode 120000 data/libvorbis-dev/_metadata/libvorbisenc2.ver.iphoneos-arm create mode 120000 data/libvorbis-dev/_metadata/libvorbisfile3.dep create mode 120000 data/libvorbis-dev/_metadata/libvorbisfile3.ver.iphoneos-arm create mode 120000 data/libvorbis-dev/_metadata/license create mode 120000 data/libvorbis-dev/_metadata/maintainer create mode 100644 data/libvorbis-dev/_metadata/priority create mode 100644 data/libvorbis-dev/_metadata/provides create mode 100644 data/libvorbis-dev/_metadata/replaces create mode 100644 data/libvorbis-dev/_metadata/role create mode 100644 data/libvorbis-dev/_metadata/section create mode 100644 data/libvorbis-dev/_metadata/tags create mode 120000 data/libvorbis-dev/_metadata/version create mode 100644 data/libvorbis-dev/make.sh delete mode 100644 data/libvorbis/_metadata/conflicts delete mode 100644 data/libvorbis/_metadata/description delete mode 100644 data/libvorbis/_metadata/in.1443.00 delete mode 120000 data/libvorbis/_metadata/libogg.dep delete mode 100644 data/libvorbis/_metadata/license delete mode 120000 data/libvorbis/_metadata/maintainer delete mode 100644 data/libvorbis/_metadata/priority delete mode 100644 data/libvorbis/_metadata/provides delete mode 100644 data/libvorbis/_metadata/replaces delete mode 100644 data/libvorbis/_metadata/role delete mode 100644 data/libvorbis/_metadata/section delete mode 100644 data/libvorbis/_metadata/tags delete mode 100644 data/libvorbis/_metadata/version delete mode 100644 data/libvorbis/make.sh delete mode 100644 data/libvorbis/v1.3.6.tar.gz create mode 120000 data/libvorbis0/_metadata/_libvorbis.dep create mode 100644 data/libvorbis0/_metadata/conflicts create mode 100644 data/libvorbis0/_metadata/description create mode 100644 data/libvorbis0/_metadata/in.1443.00 create mode 120000 data/libvorbis0/_metadata/libogg0.dep create mode 120000 data/libvorbis0/_metadata/license create mode 120000 data/libvorbis0/_metadata/maintainer create mode 100644 data/libvorbis0/_metadata/priority create mode 100644 data/libvorbis0/_metadata/role create mode 100644 data/libvorbis0/_metadata/section create mode 100644 data/libvorbis0/_metadata/tags create mode 120000 data/libvorbis0/_metadata/version create mode 100644 data/libvorbis0/make.sh create mode 100644 data/libvorbisenc2/_metadata/conflicts create mode 100644 data/libvorbisenc2/_metadata/description create mode 100644 data/libvorbisenc2/_metadata/in.1443.00 create mode 120000 data/libvorbisenc2/_metadata/libvorbis0.dep create mode 120000 data/libvorbisenc2/_metadata/license create mode 120000 data/libvorbisenc2/_metadata/maintainer create mode 100644 data/libvorbisenc2/_metadata/priority create mode 100644 data/libvorbisenc2/_metadata/role create mode 100644 data/libvorbisenc2/_metadata/section create mode 100644 data/libvorbisenc2/_metadata/tags create mode 120000 data/libvorbisenc2/_metadata/version create mode 100644 data/libvorbisenc2/make.sh create mode 100644 data/libvorbisfile3/_metadata/conflicts create mode 100644 data/libvorbisfile3/_metadata/description create mode 100644 data/libvorbisfile3/_metadata/in.1443.00 create mode 120000 data/libvorbisfile3/_metadata/libvorbis0.dep create mode 120000 data/libvorbisfile3/_metadata/license create mode 120000 data/libvorbisfile3/_metadata/maintainer create mode 100644 data/libvorbisfile3/_metadata/priority create mode 100644 data/libvorbisfile3/_metadata/role create mode 100644 data/libvorbisfile3/_metadata/section create mode 100644 data/libvorbisfile3/_metadata/tags create mode 120000 data/libvorbisfile3/_metadata/version create mode 100644 data/libvorbisfile3/make.sh create mode 100644 data/libvpx-dev/_metadata/description create mode 100644 data/libvpx-dev/_metadata/in.1443.00 create mode 120000 data/libvpx-dev/_metadata/libvpx6.dep create mode 120000 data/libvpx-dev/_metadata/license create mode 120000 data/libvpx-dev/_metadata/maintainer create mode 100644 data/libvpx-dev/_metadata/priority create mode 100644 data/libvpx-dev/_metadata/role create mode 100644 data/libvpx-dev/_metadata/section create mode 100644 data/libvpx-dev/_metadata/tags create mode 120000 data/libvpx-dev/_metadata/version create mode 100644 data/libvpx-dev/make.sh delete mode 100644 data/libvpx/_metadata/description delete mode 100644 data/libvpx/_metadata/in.1443.00 delete mode 100644 data/libvpx/_metadata/license delete mode 120000 data/libvpx/_metadata/maintainer delete mode 100644 data/libvpx/_metadata/priority delete mode 100644 data/libvpx/_metadata/role delete mode 100644 data/libvpx/_metadata/section delete mode 100644 data/libvpx/_metadata/tags delete mode 100644 data/libvpx/_metadata/version delete mode 100644 data/libvpx/install_name.diff delete mode 100644 data/libvpx/libvpx-1.8.0.tar.gz delete mode 100644 data/libvpx/make.sh delete mode 100644 data/libvpx/toolchain.diff delete mode 100644 data/libvpx/vp9symbols.diff create mode 120000 data/libx264-157/_metadata/_x264.dep create mode 100644 data/libx264-157/_metadata/description create mode 100644 data/libx264-157/_metadata/in.1443.00 create mode 120000 data/libx264-157/_metadata/maintainer create mode 100644 data/libx264-157/_metadata/priority create mode 100644 data/libx264-157/_metadata/role create mode 100644 data/libx264-157/_metadata/section create mode 100644 data/libx264-157/_metadata/tags create mode 120000 data/libx264-157/_metadata/version create mode 100644 data/libx264-157/make.sh create mode 120000 data/libx264-dev/_metadata/_x264.dep create mode 100644 data/libx264-dev/_metadata/description create mode 100644 data/libx264-dev/_metadata/in.1443.00 create mode 120000 data/libx264-dev/_metadata/libx264-157.dep create mode 120000 data/libx264-dev/_metadata/libx264-157.ver.iphoneos-arm create mode 120000 data/libx264-dev/_metadata/maintainer create mode 100644 data/libx264-dev/_metadata/priority create mode 100644 data/libx264-dev/_metadata/role create mode 100644 data/libx264-dev/_metadata/section create mode 100644 data/libx264-dev/_metadata/tags create mode 120000 data/libx264-dev/_metadata/version create mode 100644 data/libx264-dev/make.sh delete mode 100644 data/x264/20190402-2245-x264.tar.bz2 create mode 120000 data/x264/_metadata/libx264-157.dep create mode 120000 data/x264/_metadata/libx264-157.ver.iphoneos-arm delete mode 100644 data/x264/_metadata/name mode change 100644 => 120000 data/x264/_metadata/version delete mode 100755 data/x264/gas-preprocessor.pl delete mode 100644 data/x265/_metadata/description delete mode 100644 data/x265/_metadata/in.1443.00 delete mode 100644 data/x265/_metadata/license delete mode 120000 data/x265/_metadata/maintainer delete mode 100644 data/x265/_metadata/name delete mode 100644 data/x265/_metadata/priority delete mode 100644 data/x265/_metadata/role delete mode 100644 data/x265/_metadata/section delete mode 100644 data/x265/_metadata/tags delete mode 100644 data/x265/_metadata/version delete mode 100644 data/x265/make.sh delete mode 100644 data/x265/x265_3.0.tar.gz diff --git a/data/_ffmpeg/_metadata/description b/data/_ffmpeg/_metadata/description new file mode 100644 index 000000000..027cde4da --- /dev/null +++ b/data/_ffmpeg/_metadata/description @@ -0,0 +1 @@ +Tools for transcoding, streaming and playing of multimedia files diff --git a/data/_ffmpeg/_metadata/gnutls.dep b/data/_ffmpeg/_metadata/gnutls.dep new file mode 120000 index 000000000..2dbb733a2 --- /dev/null +++ b/data/_ffmpeg/_metadata/gnutls.dep @@ -0,0 +1 @@ +../../gnutls \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/in.1443.00 b/data/_ffmpeg/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_ffmpeg/_metadata/lame.dep b/data/_ffmpeg/_metadata/lame.dep new file mode 120000 index 000000000..ddc2ccf8c --- /dev/null +++ b/data/_ffmpeg/_metadata/lame.dep @@ -0,0 +1 @@ +../../lame \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libmp3lame0.dep b/data/_ffmpeg/_metadata/libmp3lame0.dep new file mode 120000 index 000000000..6699d2958 --- /dev/null +++ b/data/_ffmpeg/_metadata/libmp3lame0.dep @@ -0,0 +1 @@ +../../libmp3lame0 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libopus.dep b/data/_ffmpeg/_metadata/libopus.dep new file mode 120000 index 000000000..25443dffc --- /dev/null +++ b/data/_ffmpeg/_metadata/libopus.dep @@ -0,0 +1 @@ +../../libopus \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libopus0.dep b/data/_ffmpeg/_metadata/libopus0.dep new file mode 120000 index 000000000..3af5f2a4e --- /dev/null +++ b/data/_ffmpeg/_metadata/libopus0.dep @@ -0,0 +1 @@ +../../libopus0 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libtheora.dep b/data/_ffmpeg/_metadata/libtheora.dep new file mode 120000 index 000000000..fd6f21fcc --- /dev/null +++ b/data/_ffmpeg/_metadata/libtheora.dep @@ -0,0 +1 @@ +../../libtheora \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libtheora0.dep b/data/_ffmpeg/_metadata/libtheora0.dep new file mode 120000 index 000000000..02eb1ef4e --- /dev/null +++ b/data/_ffmpeg/_metadata/libtheora0.dep @@ -0,0 +1 @@ +../../libtheora0 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libvorbis.dep b/data/_ffmpeg/_metadata/libvorbis.dep new file mode 120000 index 000000000..2196d93e3 --- /dev/null +++ b/data/_ffmpeg/_metadata/libvorbis.dep @@ -0,0 +1 @@ +../../libvorbis \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libvorbis0.dep b/data/_ffmpeg/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/_ffmpeg/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libvpx.dep b/data/_ffmpeg/_metadata/libvpx.dep new file mode 120000 index 000000000..549f94c3c --- /dev/null +++ b/data/_ffmpeg/_metadata/libvpx.dep @@ -0,0 +1 @@ +../../libvpx \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libvpx6.dep b/data/_ffmpeg/_metadata/libvpx6.dep new file mode 120000 index 000000000..2f5ef034d --- /dev/null +++ b/data/_ffmpeg/_metadata/libvpx6.dep @@ -0,0 +1 @@ +../../libvpx6 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/libxvidcore4.dep b/data/_ffmpeg/_metadata/libxvidcore4.dep new file mode 120000 index 000000000..ae684bdef --- /dev/null +++ b/data/_ffmpeg/_metadata/libxvidcore4.dep @@ -0,0 +1 @@ +../../libxvidcore4 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/maintainer b/data/_ffmpeg/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_ffmpeg/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/priority b/data/_ffmpeg/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_ffmpeg/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_ffmpeg/_metadata/role b/data/_ffmpeg/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_ffmpeg/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_ffmpeg/_metadata/section b/data/_ffmpeg/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_ffmpeg/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_ffmpeg/_metadata/tags b/data/_ffmpeg/_metadata/tags new file mode 100644 index 000000000..ad5d50831 --- /dev/null +++ b/data/_ffmpeg/_metadata/tags @@ -0,0 +1 @@ +purpose::console diff --git a/data/_ffmpeg/_metadata/version b/data/_ffmpeg/_metadata/version new file mode 100644 index 000000000..de197cc33 --- /dev/null +++ b/data/_ffmpeg/_metadata/version @@ -0,0 +1 @@ +4.1.3 diff --git a/data/_ffmpeg/_metadata/x264.dep b/data/_ffmpeg/_metadata/x264.dep new file mode 120000 index 000000000..e87b337ed --- /dev/null +++ b/data/_ffmpeg/_metadata/x264.dep @@ -0,0 +1 @@ +../../x264 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/x265.dep b/data/_ffmpeg/_metadata/x265.dep new file mode 120000 index 000000000..de37d9151 --- /dev/null +++ b/data/_ffmpeg/_metadata/x265.dep @@ -0,0 +1 @@ +../../x265 \ No newline at end of file diff --git a/data/_ffmpeg/_metadata/xz.dep b/data/_ffmpeg/_metadata/xz.dep new file mode 120000 index 000000000..d5eb7ae54 --- /dev/null +++ b/data/_ffmpeg/_metadata/xz.dep @@ -0,0 +1 @@ +../../xz \ No newline at end of file diff --git a/data/_ffmpeg/ffmpeg-4.1.3.tar.xz b/data/_ffmpeg/ffmpeg-4.1.3.tar.xz new file mode 100644 index 000000000..91336f1a0 Binary files /dev/null and b/data/_ffmpeg/ffmpeg-4.1.3.tar.xz differ diff --git a/data/_ffmpeg/make.sh b/data/_ffmpeg/make.sh new file mode 100644 index 000000000..a61fdbefd --- /dev/null +++ b/data/_ffmpeg/make.sh @@ -0,0 +1,22 @@ +pkg:setup +ARCH=$(echo ${PKG_TARG} | sed -e s/'-.*'//) + +# Arguments taken from: +# https://github.com/Homebrew/homebrew-core/blob/master/Formula/ffmpeg.rb + +# Xz and gnutls included since they are default dependencies. + +# WARNING: --enable-gpl and --enable-nonfree can make ffmpeg not legally redistributable. +# --enable-gpl includes code with the gpl license. + + +./configure --arch=${ARCH} --pkg-config="$(realpath "${PKG_BASE}/util/pkg-config.sh")" \ + --prefix="$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix")" --enable-cross-compile \ + --cross-prefix="${PKG_TARG}-" --target-os=darwin \ + --disable-static --enable-shared --disable-debug --disable-stripping \ + --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gnutls \ + --enable-gpl --enable-libmp3lame --enable-libopus --enable-libtheora \ + --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \ + --enable-libxvid --enable-lzma # --enable-nonfree +make -j16 +pkg:install diff --git a/data/_lame/_metadata/description b/data/_lame/_metadata/description new file mode 100644 index 000000000..df8c84c02 --- /dev/null +++ b/data/_lame/_metadata/description @@ -0,0 +1 @@ +open source (lgpl) mp3 encoder diff --git a/data/_lame/_metadata/in.1443.00 b/data/_lame/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_lame/_metadata/license b/data/_lame/_metadata/license new file mode 120000 index 000000000..a278a1931 --- /dev/null +++ b/data/_lame/_metadata/license @@ -0,0 +1 @@ +../../../licenses/lgpl-2 \ No newline at end of file diff --git a/data/_lame/_metadata/maintainer b/data/_lame/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/_lame/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/_lame/_metadata/name b/data/_lame/_metadata/name new file mode 100644 index 000000000..2166b11cc --- /dev/null +++ b/data/_lame/_metadata/name @@ -0,0 +1 @@ +LAME diff --git a/data/_lame/_metadata/ncurses.dep b/data/_lame/_metadata/ncurses.dep new file mode 120000 index 000000000..a395fad08 --- /dev/null +++ b/data/_lame/_metadata/ncurses.dep @@ -0,0 +1 @@ +../../ncurses \ No newline at end of file diff --git a/data/_lame/_metadata/priority b/data/_lame/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_lame/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_lame/_metadata/role b/data/_lame/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_lame/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_lame/_metadata/section b/data/_lame/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_lame/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_lame/_metadata/tags b/data/_lame/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_lame/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_lame/_metadata/version b/data/_lame/_metadata/version new file mode 100644 index 000000000..748d07b56 --- /dev/null +++ b/data/_lame/_metadata/version @@ -0,0 +1 @@ +3.100 diff --git a/data/_lame/lame-3.100.tar.gz b/data/_lame/lame-3.100.tar.gz new file mode 100644 index 000000000..32336a6d3 Binary files /dev/null and b/data/_lame/lame-3.100.tar.gz differ diff --git a/data/_lame/lame_init_old.diff b/data/_lame/lame_init_old.diff new file mode 100644 index 000000000..155340bab --- /dev/null +++ b/data/_lame/lame_init_old.diff @@ -0,0 +1,9 @@ +diff -ur lame-3.100/include/libmp3lame.sym lame-3.100+iPhone/include/libmp3lame.sym +--- lame-3.100/include/libmp3lame.sym 2017-09-06 09:33:35.000000000 -1000 ++++ lame-3.100+iPhone/include/libmp3lame.sym 2018-07-27 22:59:41.000000000 -1000 +@@ -1,5 +1,4 @@ + lame_init +-lame_init_old + lame_set_num_samples + lame_get_num_samples + lame_set_in_samplerate diff --git a/data/_lame/make.sh b/data/_lame/make.sh new file mode 100644 index 000000000..452a4bfd5 --- /dev/null +++ b/data/_lame/make.sh @@ -0,0 +1,4 @@ +pkg:setup +pkg:configure +make +pkg:install diff --git a/data/_lame/timestamp.diff b/data/_lame/timestamp.diff new file mode 100644 index 000000000..c828ad740 --- /dev/null +++ b/data/_lame/timestamp.diff @@ -0,0 +1,60 @@ +diff -ur lame-3.100/ACM/main.cpp lame-3.100+iPhone/ACM/main.cpp +--- lame-3.100/ACM/main.cpp 2006-12-25 11:37:34.000000000 -1000 ++++ lame-3.100+iPhone/ACM/main.cpp 2018-07-27 22:55:45.000000000 -1000 +@@ -156,7 +156,7 @@ + if (debug != NULL) + { + // debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD, version %s %s %s", ACM_VERSION, __DATE__, __TIME__); +- debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD, %s %s", __DATE__, __TIME__); ++ debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD"); + } + return 1L; + } +diff -ur lame-3.100/frontend/gtkanal.c lame-3.100+iPhone/frontend/gtkanal.c +--- lame-3.100/frontend/gtkanal.c 2017-09-06 09:33:35.000000000 -1000 ++++ lame-3.100+iPhone/frontend/gtkanal.c 2018-07-27 22:56:05.000000000 -1000 +@@ -1128,11 +1128,11 @@ + #if MP3X_ALPHA_VERSION > 0 + static /*@observer@ */ const char *const str = + XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION) +- " (alpha " XSTR(MP3X_ALPHA_VERSION) ", " __DATE__ " " __TIME__ ")"; ++ " (alpha " XSTR(MP3X_ALPHA_VERSION) ")"; + #elif MP3X_BETA_VERSION > 0 + static /*@observer@ */ const char *const str = + XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION) +- " (beta " XSTR(MP3X_BETA_VERSION) ", " __DATE__ ")"; ++ " (beta " XSTR(MP3X_BETA_VERSION) ")"; + #else + static /*@observer@ */ const char *const str = + XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION); +diff -ur lame-3.100/libmp3lame/version.c lame-3.100+iPhone/libmp3lame/version.c +--- lame-3.100/libmp3lame/version.c 2011-11-17 23:51:02.000000000 -1000 ++++ lame-3.100+iPhone/libmp3lame/version.c 2018-07-27 22:55:08.000000000 -1000 +@@ -58,11 +58,11 @@ + #if LAME_ALPHA_VERSION + static /*@observer@ */ const char *const str = + STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) " " +- "(alpha " STR(LAME_PATCH_VERSION) ", " __DATE__ " " __TIME__ ")"; ++ "(alpha " STR(LAME_PATCH_VERSION)")"; + #elif LAME_BETA_VERSION + static /*@observer@ */ const char *const str = + STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) " " +- "(beta " STR(LAME_PATCH_VERSION) ", " __DATE__ ")"; ++ "(beta " STR(LAME_PATCH_VERSION) ")"; + #elif LAME_RELEASE_VERSION && (LAME_PATCH_VERSION > 0) + static /*@observer@ */ const char *const str = + STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) "." STR(LAME_PATCH_VERSION); +@@ -165,11 +165,11 @@ + #if PSY_ALPHA_VERSION > 0 + static /*@observer@ */ const char *const str = + STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION) +- " (alpha " STR(PSY_ALPHA_VERSION) ", " __DATE__ " " __TIME__ ")"; ++ " (alpha " STR(PSY_ALPHA_VERSION) ")"; + #elif PSY_BETA_VERSION > 0 + static /*@observer@ */ const char *const str = + STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION) +- " (beta " STR(PSY_BETA_VERSION) ", " __DATE__ ")"; ++ " (beta " STR(PSY_BETA_VERSION) ")"; + #else + static /*@observer@ */ const char *const str = + STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION); diff --git a/data/_libogg/_metadata/description b/data/_libogg/_metadata/description new file mode 100644 index 000000000..c7a8d1c9b --- /dev/null +++ b/data/_libogg/_metadata/description @@ -0,0 +1 @@ +open multimedia container format diff --git a/data/_libogg/_metadata/in.1443.00 b/data/_libogg/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_libogg/_metadata/license b/data/_libogg/_metadata/license new file mode 100644 index 000000000..6111c6c5a --- /dev/null +++ b/data/_libogg/_metadata/license @@ -0,0 +1,28 @@ +Copyright (c) 2002, Xiph.org Foundation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/_libogg/_metadata/maintainer b/data/_libogg/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/_libogg/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/_libogg/_metadata/priority b/data/_libogg/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_libogg/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_libogg/_metadata/role b/data/_libogg/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_libogg/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_libogg/_metadata/section b/data/_libogg/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_libogg/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_libogg/_metadata/tags b/data/_libogg/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_libogg/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_libogg/_metadata/version b/data/_libogg/_metadata/version new file mode 100644 index 000000000..31e5c8434 --- /dev/null +++ b/data/_libogg/_metadata/version @@ -0,0 +1 @@ +1.3.3 diff --git a/data/_libogg/libogg-1.3.3.tar.gz b/data/_libogg/libogg-1.3.3.tar.gz new file mode 100644 index 000000000..b39fdfe49 Binary files /dev/null and b/data/_libogg/libogg-1.3.3.tar.gz differ diff --git a/data/_libogg/make.sh b/data/_libogg/make.sh new file mode 100644 index 000000000..452a4bfd5 --- /dev/null +++ b/data/_libogg/make.sh @@ -0,0 +1,4 @@ +pkg:setup +pkg:configure +make +pkg:install diff --git a/data/_libopus/_metadata/description b/data/_libopus/_metadata/description new file mode 100644 index 000000000..6b7609806 --- /dev/null +++ b/data/_libopus/_metadata/description @@ -0,0 +1 @@ +Audio codec diff --git a/data/_libopus/_metadata/in.1443.00 b/data/_libopus/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_libopus/_metadata/license b/data/_libopus/_metadata/license new file mode 100644 index 000000000..720342c26 --- /dev/null +++ b/data/_libopus/_metadata/license @@ -0,0 +1,30 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following +disclaimer in the documentation and/or other materials provided +with the distribution. + +- Neither the name of Internet Society, IETF or IETF Trust, nor +the names of specific contributors, may be used to endorse or +promote products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF +THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/data/_libopus/_metadata/maintainer b/data/_libopus/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_libopus/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_libopus/_metadata/priority b/data/_libopus/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_libopus/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_libopus/_metadata/role b/data/_libopus/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_libopus/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_libopus/_metadata/section b/data/_libopus/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_libopus/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_libopus/_metadata/tags b/data/_libopus/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_libopus/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_libopus/_metadata/version b/data/_libopus/_metadata/version new file mode 100644 index 000000000..7e32cd569 --- /dev/null +++ b/data/_libopus/_metadata/version @@ -0,0 +1 @@ +1.3 diff --git a/data/_libopus/make.sh b/data/_libopus/make.sh new file mode 100644 index 000000000..e1d3798f9 --- /dev/null +++ b/data/_libopus/make.sh @@ -0,0 +1,4 @@ +pkg:setup +pkg:configure --disable-doc +pkg:make +pkg:install diff --git a/data/_libopus/opus-1.3.tar.gz b/data/_libopus/opus-1.3.tar.gz new file mode 100644 index 000000000..b2d28cd2f Binary files /dev/null and b/data/_libopus/opus-1.3.tar.gz differ diff --git a/data/_libtheora/_metadata/description b/data/_libtheora/_metadata/description new file mode 100644 index 000000000..6eae3e880 --- /dev/null +++ b/data/_libtheora/_metadata/description @@ -0,0 +1 @@ +Open video compression format diff --git a/data/_libtheora/_metadata/in.1443.00 b/data/_libtheora/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_libtheora/_metadata/libogg0.dep b/data/_libtheora/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/_libtheora/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/_libtheora/_metadata/libvorbis0.dep b/data/_libtheora/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/_libtheora/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/_libtheora/_metadata/license b/data/_libtheora/_metadata/license new file mode 100644 index 000000000..c8ccce4ff --- /dev/null +++ b/data/_libtheora/_metadata/license @@ -0,0 +1,28 @@ +Copyright (C) 2002-2009 Xiph.org Foundation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/_libtheora/_metadata/maintainer b/data/_libtheora/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_libtheora/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_libtheora/_metadata/priority b/data/_libtheora/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_libtheora/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_libtheora/_metadata/role b/data/_libtheora/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_libtheora/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_libtheora/_metadata/section b/data/_libtheora/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_libtheora/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_libtheora/_metadata/tags b/data/_libtheora/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_libtheora/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_libtheora/_metadata/version b/data/_libtheora/_metadata/version new file mode 100644 index 000000000..524cb5524 --- /dev/null +++ b/data/_libtheora/_metadata/version @@ -0,0 +1 @@ +1.1.1 diff --git a/data/_libtheora/info.diff b/data/_libtheora/info.diff new file mode 100644 index 000000000..7027a7c60 --- /dev/null +++ b/data/_libtheora/info.diff @@ -0,0 +1,31 @@ +diff -ru libtheora-1.1.1/lib/Makefile.am libtheora-1.1.1+iPhone/lib/Makefile.am +--- libtheora-1.1.1/lib/Makefile.am 2009-09-25 05:20:06.000000000 -1000 ++++ libtheora-1.1.1+iPhone/lib/Makefile.am 2019-04-03 15:32:30.000000000 -1000 +@@ -79,6 +79,7 @@ + apiwrapper.c \ + fragment.c \ + idct.c \ ++ info.c \ + internal.c \ + state.c \ + quant.c \ +diff -ru libtheora-1.1.1/lib/Makefile.in libtheora-1.1.1+iPhone/lib/Makefile.in +--- libtheora-1.1.1/lib/Makefile.in 2009-10-01 08:04:07.000000000 -1000 ++++ libtheora-1.1.1+iPhone/lib/Makefile.in 2019-04-03 15:44:55.000000000 -1000 +@@ -207,6 +207,7 @@ + @THEORA_DISABLE_ENCODE_FALSE@ apiwrapper.c \ + @THEORA_DISABLE_ENCODE_FALSE@ fragment.c \ + @THEORA_DISABLE_ENCODE_FALSE@ idct.c \ ++@THEORA_DISABLE_ENCODE_FALSE@ info.c \ + @THEORA_DISABLE_ENCODE_FALSE@ internal.c \ + @THEORA_DISABLE_ENCODE_FALSE@ state.c \ + @THEORA_DISABLE_ENCODE_FALSE@ quant.c \ +@@ -369,7 +370,7 @@ + @CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_9) + @THEORA_DISABLE_ENCODE_TRUE@am__objects_11 = $(am__objects_7) + @THEORA_DISABLE_ENCODE_FALSE@am__objects_11 = apiwrapper.lo fragment.lo \ +-@THEORA_DISABLE_ENCODE_FALSE@ idct.lo internal.lo state.lo \ ++@THEORA_DISABLE_ENCODE_FALSE@ idct.lo info.lo internal.lo state.lo \ + @THEORA_DISABLE_ENCODE_FALSE@ quant.lo $(am__objects_10) \ + @THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_7) + am_libtheoraenc_la_OBJECTS = $(am__objects_11) diff --git a/data/_libtheora/libtheora-1.1.1.tar.bz2 b/data/_libtheora/libtheora-1.1.1.tar.bz2 new file mode 100644 index 000000000..010e2a4ec Binary files /dev/null and b/data/_libtheora/libtheora-1.1.1.tar.bz2 differ diff --git a/data/_libtheora/make.sh b/data/_libtheora/make.sh new file mode 100644 index 000000000..c103eecaa --- /dev/null +++ b/data/_libtheora/make.sh @@ -0,0 +1,4 @@ +pkg:setup +cp -f ${PKG_BASE}/config.sub . +pkg:configure --disable-oggtest --disable-vorbistest --disable-examples +pkg:install diff --git a/data/_libvorbis/_metadata/description b/data/_libvorbis/_metadata/description new file mode 100644 index 000000000..eb5bdee7c --- /dev/null +++ b/data/_libvorbis/_metadata/description @@ -0,0 +1 @@ +open audio compression format diff --git a/data/_libvorbis/_metadata/in.1443.00 b/data/_libvorbis/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_libvorbis/_metadata/libogg0.dep b/data/_libvorbis/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/_libvorbis/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/_libvorbis/_metadata/license b/data/_libvorbis/_metadata/license new file mode 100644 index 000000000..7cf076b68 --- /dev/null +++ b/data/_libvorbis/_metadata/license @@ -0,0 +1,28 @@ +Copyright (c) 2002-2004 Xiph.org Foundation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/_libvorbis/_metadata/maintainer b/data/_libvorbis/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/_libvorbis/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/_libvorbis/_metadata/priority b/data/_libvorbis/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_libvorbis/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_libvorbis/_metadata/role b/data/_libvorbis/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_libvorbis/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_libvorbis/_metadata/section b/data/_libvorbis/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_libvorbis/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_libvorbis/_metadata/tags b/data/_libvorbis/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_libvorbis/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_libvorbis/_metadata/version b/data/_libvorbis/_metadata/version new file mode 100644 index 000000000..95b25aee2 --- /dev/null +++ b/data/_libvorbis/_metadata/version @@ -0,0 +1 @@ +1.3.6 diff --git a/data/_libvorbis/make.sh b/data/_libvorbis/make.sh new file mode 100644 index 000000000..e2797c1a4 --- /dev/null +++ b/data/_libvorbis/make.sh @@ -0,0 +1,5 @@ +pkg:setup +./autogen.sh +pkg:configure +pkg:make +pkg:install diff --git a/data/_libvorbis/v1.3.6.tar.gz b/data/_libvorbis/v1.3.6.tar.gz new file mode 100644 index 000000000..2a2a63000 Binary files /dev/null and b/data/_libvorbis/v1.3.6.tar.gz differ diff --git a/data/_libvpx/_metadata/description b/data/_libvpx/_metadata/description new file mode 100644 index 000000000..6bf7e93de --- /dev/null +++ b/data/_libvpx/_metadata/description @@ -0,0 +1 @@ +VP8/VP9 video codec diff --git a/data/_libvpx/_metadata/in.1443.00 b/data/_libvpx/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_libvpx/_metadata/license b/data/_libvpx/_metadata/license new file mode 100644 index 000000000..1ce44343c --- /dev/null +++ b/data/_libvpx/_metadata/license @@ -0,0 +1,31 @@ +Copyright (c) 2010, The WebM Project authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google, nor the WebM Project, nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/data/_libvpx/_metadata/maintainer b/data/_libvpx/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_libvpx/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_libvpx/_metadata/priority b/data/_libvpx/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_libvpx/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_libvpx/_metadata/role b/data/_libvpx/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_libvpx/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_libvpx/_metadata/section b/data/_libvpx/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_libvpx/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_libvpx/_metadata/tags b/data/_libvpx/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_libvpx/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_libvpx/_metadata/version b/data/_libvpx/_metadata/version new file mode 100644 index 000000000..27f9cd322 --- /dev/null +++ b/data/_libvpx/_metadata/version @@ -0,0 +1 @@ +1.8.0 diff --git a/data/_libvpx/install_name.diff b/data/_libvpx/install_name.diff new file mode 100644 index 000000000..fa81908d3 --- /dev/null +++ b/data/_libvpx/install_name.diff @@ -0,0 +1,11 @@ +--- libvpx-1.8.0/build/make/Makefile 2019-02-04 17:02:33.000000000 +0000 ++++ libvpx-1.8.0+iPhone/build/make/Makefile 2019-04-04 03:30:14.808604563 +0000 +@@ -314,7 +314,7 @@ + # for creating them. + $(1): + $(if $(quiet),@echo " [LD] $$@") +- $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) \ ++ $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) -install_name $(PREFIX)/lib/$$@ \ + -exported_symbols_list $$(EXPORTS_FILE) \ + -Wl,-headerpad_max_install_names,-compatibility_version,1.0,-current_version,$$(VERSION_MAJOR) \ + -o $$@ \ diff --git a/data/_libvpx/libvpx-1.8.0.tar.gz b/data/_libvpx/libvpx-1.8.0.tar.gz new file mode 100644 index 000000000..8dc457e83 Binary files /dev/null and b/data/_libvpx/libvpx-1.8.0.tar.gz differ diff --git a/data/_libvpx/make.sh b/data/_libvpx/make.sh new file mode 100644 index 000000000..e844a6965 --- /dev/null +++ b/data/_libvpx/make.sh @@ -0,0 +1,14 @@ +pkg:setup +CROSS="${PKG_TARG}-" ./configure --target="${PKG_TARG}-gcc" --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix") --disable-static --enable-shared --enable-examples \ + --enable-pic \ + --enable-shared \ + --disable-install-bins \ + --disable-install-srcs \ + --size-limit=16384x16384 \ + --enable-postproc \ + --enable-multi-res-encoding \ + --enable-temporal-denoising \ + --enable-vp9-temporal-denoising \ + --enable-vp9-postproc +pkg:make V=1 +pkg:install diff --git a/data/_libvpx/toolchain.diff b/data/_libvpx/toolchain.diff new file mode 100644 index 000000000..5c25ba44d --- /dev/null +++ b/data/_libvpx/toolchain.diff @@ -0,0 +1,158 @@ +diff -ur libvpx-1.8.0/build/make/Makefile libvpx-1.8.0+iPhone/build/make/Makefile +--- libvpx-1.8.0/build/make/Makefile 2019-02-04 07:02:33.000000000 -1000 ++++ libvpx-1.8.0+iPhone/build/make/Makefile 2019-04-03 14:16:22.000000000 -1000 +@@ -70,9 +70,15 @@ + ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/ + DIST_DIR?=dist + HOSTCC?=gcc ++ifeq ($(words $(subst -, ,$(TOOLCHAIN))),4) ++TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) ++TGT_OS:=$(word 3, $(subst -, ,$(TOOLCHAIN))) ++TGT_CC:=$(word 4, $(subst -, ,$(TOOLCHAIN))) ++else + TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) + TGT_OS:=$(word 2, $(subst -, ,$(TOOLCHAIN))) + TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN))) ++endif + quiet:=$(if $(or $(verbose), $(V)),, yes) + qexec=$(if $(quiet),@) + +diff -ur libvpx-1.8.0/build/make/configure.sh libvpx-1.8.0+iPhone/build/make/configure.sh +--- libvpx-1.8.0/build/make/configure.sh 2019-02-04 07:02:33.000000000 -1000 ++++ libvpx-1.8.0+iPhone/build/make/configure.sh 2019-04-03 14:17:28.000000000 -1000 +@@ -771,35 +771,27 @@ + # detect tgt_os + case "$gcctarget" in + *darwin10*) +- tgt_isa=x86_64 + tgt_os=darwin10 + ;; + *darwin11*) +- tgt_isa=x86_64 + tgt_os=darwin11 + ;; + *darwin12*) +- tgt_isa=x86_64 + tgt_os=darwin12 + ;; + *darwin13*) +- tgt_isa=x86_64 + tgt_os=darwin13 + ;; + *darwin14*) +- tgt_isa=x86_64 + tgt_os=darwin14 + ;; + *darwin15*) +- tgt_isa=x86_64 + tgt_os=darwin15 + ;; + *darwin16*) +- tgt_isa=x86_64 + tgt_os=darwin16 + ;; + *darwin17*) +- tgt_isa=x86_64 + tgt_os=darwin17 + ;; + x86_64*mingw32*) +@@ -838,9 +830,16 @@ + # + # Set up toolchain variables + # +- tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') +- tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') +- tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') ++ if [ "$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print NF}')" = "4" ]; then ++ tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') ++ tgt_flavor=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') ++ tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') ++ tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $4}') ++ else ++ tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') ++ tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') ++ tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') ++ fi + + # Mark the specific ISA requested as enabled + soft_enable ${tgt_isa} +@@ -876,12 +875,14 @@ + # Handle darwin variants. Newer SDKs allow targeting older + # platforms, so use the newest one available. + case ${toolchain} in +- arm*-darwin*) +- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" +- iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)" +- if [ -d "${iphoneos_sdk_dir}" ]; then +- add_cflags "-isysroot ${iphoneos_sdk_dir}" +- add_ldflags "-isysroot ${iphoneos_sdk_dir}" ++ arm*-darwin*|aarch64*-darwin*) ++ if [ -z "${CROSS}" ]; then ++ add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" ++ iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)" ++ if [ -d "${iphoneos_sdk_dir}" ]; then ++ add_cflags "-isysroot ${iphoneos_sdk_dir}" ++ add_ldflags "-isysroot ${iphoneos_sdk_dir}" ++ fi + fi + ;; + x86*-darwin*) +@@ -894,6 +895,8 @@ + esac + + case ${toolchain} in ++ aarch64-*-darwin*|arm-*-darwin*) ++ ;; + *-darwin8-*) + add_cflags "-mmacosx-version-min=10.4" + add_ldflags "-mmacosx-version-min=10.4" +@@ -1153,16 +1156,17 @@ + ;; + + darwin*) +- XCRUN_FIND="xcrun --sdk iphoneos --find" +- CXX="$(${XCRUN_FIND} clang++)" +- CC="$(${XCRUN_FIND} clang)" +- AR="$(${XCRUN_FIND} ar)" +- AS="$(${XCRUN_FIND} as)" +- STRIP="$(${XCRUN_FIND} strip)" +- NM="$(${XCRUN_FIND} nm)" +- RANLIB="$(${XCRUN_FIND} ranlib)" ++ if [ -z "${CROSS}" ]; then ++ XCRUN_FIND="xcrun --sdk iphoneos --find }" ++ CXX="${CXX:-$(${XCRUN_FIND}clang++)}" ++ CC="${CC:-$(${XCRUN_FIND}clang)}" ++ AR="${AR:-$(${XCRUN_FIND}ar)}" ++ AS="${AS:-$(${XCRUN_FIND}as)}" ++ STRIP="${STRIP:-$(${XCRUN_FIND}strip)}" ++ NM="${NM:-$(${XCRUN_FIND}nm)}" ++ RANLIB="${RANLIB:-$(${XCRUN_FIND}ranlib)}" + AS_SFX=.S +- LD="${CXX:-$(${XCRUN_FIND} ld)}" ++ LD="${CXX:-$(${XCRUN_FIND}ld)}" + + # ASFLAGS is written here instead of using check_add_asflags + # because we need to overwrite all of ASFLAGS and purge the +@@ -1208,6 +1212,7 @@ + check_add_asflags -fembed-bitcode + check_add_ldflags -fembed-bitcode + fi ++ fi + ;; + + linux*) +diff -ur libvpx-1.8.0/configure libvpx-1.8.0+iPhone/configure +--- libvpx-1.8.0/configure 2019-02-04 07:02:33.000000000 -1000 ++++ libvpx-1.8.0+iPhone/configure 2019-04-03 14:16:22.000000000 -1000 +@@ -100,9 +100,11 @@ + # alphabetically by architecture, generic-gnu last. + all_platforms="${all_platforms} arm64-android-gcc" + all_platforms="${all_platforms} arm64-darwin-gcc" ++all_platforms="${all_platforms} aarch64-apple-darwin17-gcc" + all_platforms="${all_platforms} arm64-linux-gcc" + all_platforms="${all_platforms} arm64-win64-gcc" + all_platforms="${all_platforms} arm64-win64-vs15" ++all_platforms="${all_platforms} arm-apple-darwin11-gcc" + all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8 + all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8 + all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8 diff --git a/data/_libvpx/vp9symbols.diff b/data/_libvpx/vp9symbols.diff new file mode 100644 index 000000000..49c1471d3 --- /dev/null +++ b/data/_libvpx/vp9symbols.diff @@ -0,0 +1,11 @@ +diff -ur libvpx-1.8.0/libs.mk libvpx-1.8.0+iPhone/libs.mk +--- libvpx-1.8.0/libs.mk 2019-02-04 07:02:33.000000000 -1000 ++++ libvpx-1.8.0+iPhone/libs.mk 2019-04-03 14:50:11.000000000 -1000 +@@ -145,7 +145,6 @@ + endif + CODEC_EXPORTS-yes += vpx/exports_com + CODEC_EXPORTS-$(CONFIG_ENCODERS) += vpx/exports_enc +-CODEC_EXPORTS-$(CONFIG_VP9_ENCODER) += vpx/exports_spatial_svc + CODEC_EXPORTS-$(CONFIG_DECODERS) += vpx/exports_dec + + INSTALL-LIBS-yes += include/vpx/vpx_codec.h diff --git a/data/_x264/_metadata/description b/data/_x264/_metadata/description new file mode 100644 index 000000000..e5be2a6d7 --- /dev/null +++ b/data/_x264/_metadata/description @@ -0,0 +1 @@ +H.264/AVC encoder diff --git a/data/_x264/_metadata/in.1443.00 b/data/_x264/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_x264/_metadata/maintainer b/data/_x264/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_x264/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_x264/_metadata/name b/data/_x264/_metadata/name new file mode 100644 index 000000000..0af02d53e --- /dev/null +++ b/data/_x264/_metadata/name @@ -0,0 +1 @@ +x264 diff --git a/data/_x264/_metadata/priority b/data/_x264/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_x264/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_x264/_metadata/role b/data/_x264/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_x264/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_x264/_metadata/section b/data/_x264/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_x264/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_x264/_metadata/tags b/data/_x264/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_x264/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_x264/_metadata/version b/data/_x264/_metadata/version new file mode 100644 index 000000000..a3a6c333c --- /dev/null +++ b/data/_x264/_metadata/version @@ -0,0 +1 @@ +0.157.2945 diff --git a/data/_x264/gas-preprocessor.pl b/data/_x264/gas-preprocessor.pl new file mode 100755 index 000000000..743ce45e7 --- /dev/null +++ b/data/_x264/gas-preprocessor.pl @@ -0,0 +1,1180 @@ +#!/usr/bin/env perl +# by David Conrad +# This code is licensed under GPLv2 or later; go to gnu.org to read it +# (not that it much matters for an asm preprocessor) +# usage: set your assembler to be something like "perl gas-preprocessor.pl gcc" +use strict; + +# Apple's gas is ancient and doesn't support modern preprocessing features like +# .rept and has ugly macro syntax, among other things. Thus, this script +# implements the subset of the gas preprocessor used by x264 and ffmpeg +# that isn't supported by Apple's gas. + +my %canonical_arch = ("aarch64" => "aarch64", "arm64" => "aarch64", + "arm" => "arm", + "powerpc" => "powerpc", "ppc" => "powerpc"); + +my %comments = ("aarch64" => '//', + "arm" => '@', + "ppc" => '#', + "powerpc" => '#'); + +my @gcc_cmd; +my @preprocess_c_cmd; + +my $comm; +my $arch; +my $as_type = "apple-gas"; + +my $fix_unreq = $^O eq "darwin"; +my $force_thumb = 0; + +my $arm_cond_codes = "eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo"; + +my $usage_str = " +$0\n +Gas-preprocessor.pl converts assembler files using modern GNU as syntax for +Apple's ancient gas version or clang's incompatible integrated assembler. The +conversion is regularly tested for FFmpeg, Libav, x264 and vlc. Other projects might +use different features which are not correctly handled. + +Options for this program needs to be separated with ' -- ' from the assembler +command. Following options are currently supported: + + -help - this usage text + -arch - target architecture + -as-type - one value out of {{,apple-}{gas,clang},armasm} + -fix-unreq + -no-fix-unreq + -force-thumb - assemble as thumb regardless of the input source + (note, this is incomplete and only works for sources + it explicitly was tested with) +"; + +sub usage() { + print $usage_str; +} + +while (@ARGV) { + my $opt = shift; + + if ($opt =~ /^-(no-)?fix-unreq$/) { + $fix_unreq = $1 ne "no-"; + } elsif ($opt eq "-force-thumb") { + $force_thumb = 1; + } elsif ($opt eq "-arch") { + $arch = shift; + die "unknown arch: '$arch'\n" if not exists $canonical_arch{$arch}; + } elsif ($opt eq "-as-type") { + $as_type = shift; + die "unknown as type: '$as_type'\n" if $as_type !~ /^((apple-)?(gas|clang|llvm_gcc)|armasm)$/; + } elsif ($opt eq "-help") { + usage(); + exit 0; + } elsif ($opt eq "--" ) { + @gcc_cmd = @ARGV; + } elsif ($opt =~ /^-/) { + die "option '$opt' is not known. See '$0 -help' for usage information\n"; + } else { + push @gcc_cmd, $opt, @ARGV; + } + last if (@gcc_cmd); +} + +if (grep /\.c$/, @gcc_cmd) { + # C file (inline asm?) - compile + @preprocess_c_cmd = (@gcc_cmd, "-S"); +} elsif (grep /\.[sS]$/, @gcc_cmd) { + # asm file, just do C preprocessor + @preprocess_c_cmd = (@gcc_cmd, "-E"); +} elsif (grep /-(v|h|-version|dumpversion)/, @gcc_cmd) { + # pass -v/--version along, used during probing. Matching '-v' might have + # uninteded results but it doesn't matter much if gas-preprocessor or + # the compiler fails. + exec(@gcc_cmd); +} else { + die "Unrecognized input filetype"; +} +if ($as_type eq "armasm") { + + $preprocess_c_cmd[0] = "cpp"; + push(@preprocess_c_cmd, "-undef"); + # Normally a preprocessor for windows would predefine _WIN32, + # but we're using any generic system-agnostic preprocessor "cpp" + # with -undef (to avoid getting predefined variables from the host + # system in cross compilation cases), so manually define it here. + push(@preprocess_c_cmd, "-D_WIN32"); + + @preprocess_c_cmd = grep ! /^-nologo$/, @preprocess_c_cmd; + # Remove -ignore XX parameter pairs from preprocess_c_cmd + my $index = 1; + while ($index < $#preprocess_c_cmd) { + if ($preprocess_c_cmd[$index] eq "-ignore" and $index + 1 < $#preprocess_c_cmd) { + splice(@preprocess_c_cmd, $index, 2); + next; + } + $index++; + } + if (grep /^-MM$/, @preprocess_c_cmd) { + system(@preprocess_c_cmd) == 0 or die "Error running preprocessor"; + exit 0; + } +} + +# if compiling, avoid creating an output file named '-.o' +if ((grep /^-c$/, @gcc_cmd) && !(grep /^-o/, @gcc_cmd)) { + foreach my $i (@gcc_cmd) { + if ($i =~ /\.[csS]$/) { + my $outputfile = $i; + $outputfile =~ s/\.[csS]$/.o/; + push(@gcc_cmd, "-o"); + push(@gcc_cmd, $outputfile); + last; + } + } +} +# replace only the '-o' argument with '-', avoids rewriting the make dependency +# target specified with -MT to '-' +my $index = 1; +while ($index < $#preprocess_c_cmd) { + if ($preprocess_c_cmd[$index] eq "-o") { + $index++; + $preprocess_c_cmd[$index] = "-"; + } + $index++; +} + +my $tempfile; +if ($as_type ne "armasm") { + @gcc_cmd = map { /\.[csS]$/ ? qw(-x assembler -) : $_ } @gcc_cmd; +} else { + @preprocess_c_cmd = grep ! /^-c$/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-m/, @preprocess_c_cmd; + + @preprocess_c_cmd = grep ! /^-G/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-W/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-Z/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-fp/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-EHsc$/, @preprocess_c_cmd; + @preprocess_c_cmd = grep ! /^-O/, @preprocess_c_cmd; + + @gcc_cmd = grep ! /^-G/, @gcc_cmd; + @gcc_cmd = grep ! /^-W/, @gcc_cmd; + @gcc_cmd = grep ! /^-Z/, @gcc_cmd; + @gcc_cmd = grep ! /^-fp/, @gcc_cmd; + @gcc_cmd = grep ! /^-EHsc$/, @gcc_cmd; + @gcc_cmd = grep ! /^-O/, @gcc_cmd; + + my @outfiles = grep /\.(o|obj)$/, @gcc_cmd; + $tempfile = $outfiles[0].".asm"; + + # Remove most parameters from gcc_cmd, which actually is the armasm command, + # which doesn't support any of the common compiler/preprocessor options. + @gcc_cmd = grep ! /^-D/, @gcc_cmd; + @gcc_cmd = grep ! /^-U/, @gcc_cmd; + @gcc_cmd = grep ! /^-m/, @gcc_cmd; + @gcc_cmd = grep ! /^-M/, @gcc_cmd; + @gcc_cmd = grep ! /^-c$/, @gcc_cmd; + @gcc_cmd = grep ! /^-I/, @gcc_cmd; + @gcc_cmd = map { /\.S$/ ? $tempfile : $_ } @gcc_cmd; +} + +# detect architecture from gcc binary name +if (!$arch) { + if ($gcc_cmd[0] =~ /(arm64|aarch64|arm|powerpc|ppc)/) { + $arch = $1; + } else { + # look for -arch flag + foreach my $i (1 .. $#gcc_cmd-1) { + if ($gcc_cmd[$i] eq "-arch" and + $gcc_cmd[$i+1] =~ /(arm64|aarch64|arm|powerpc|ppc)/) { + $arch = $1; + } + } + } +} + +# assume we're not cross-compiling if no -arch or the binary doesn't have the arch name +$arch = qx/arch/ if (!$arch); + +die "Unknown target architecture '$arch'" if not exists $canonical_arch{$arch}; + +$arch = $canonical_arch{$arch}; +$comm = $comments{$arch}; +my $inputcomm = $comm; +$comm = ";" if $as_type =~ /armasm/; + +my %ppc_spr = (ctr => 9, + vrsave => 256); + +open(INPUT, "-|", @preprocess_c_cmd) || die "Error running preprocessor"; + +if ($ENV{GASPP_DEBUG}) { + open(ASMFILE, ">&STDOUT"); +} else { + if ($as_type ne "armasm") { + open(ASMFILE, "|-", @gcc_cmd) or die "Error running assembler"; + } else { + open(ASMFILE, ">", $tempfile); + } +} + +my $current_macro = ''; +my $macro_level = 0; +my $rept_level = 0; +my %macro_lines; +my %macro_args; +my %macro_args_default; +my $macro_count = 0; +my $altmacro = 0; +my $in_irp = 0; + +my $num_repts; +my @rept_lines; + +my @irp_args; +my $irp_param; + +my @ifstack; + +my %symbols; + +my @sections; + +my %literal_labels; # for ldr , = +my $literal_num = 0; +my $literal_expr = ".word"; +$literal_expr = ".quad" if $arch eq "aarch64"; + +my $thumb = 0; + +my %thumb_labels; +my %call_targets; +my %import_symbols; + +my %neon_alias_reg; +my %neon_alias_type; + +my $temp_label_next = 0; +my %last_temp_labels; +my %next_temp_labels; + +my %labels_seen; + +my %aarch64_req_alias; + +if ($force_thumb) { + parse_line(".thumb\n"); +} + +# pass 1: parse .macro +# note that the handling of arguments is probably overly permissive vs. gas +# but it should be the same for valid cases +while () { + # remove lines starting with '#', preprocessing is done, '#' at start of + # the line indicates a comment for all supported archs (aarch64, arm, ppc + # and x86). Also strips line number comments but since they are off anyway + # it is no loss. + s/^\s*#.*$//; + # remove all comments (to avoid interfering with evaluating directives) + s/(? 0) { + $ifstack[-1] = -$ifstack[-1]; + } + return 1; + } elsif ($line =~ /\.else/) { + $ifstack[-1] = !$ifstack[-1]; + return 1; + } elsif (handle_if($line)) { + return 1; + } + } + + # discard lines in false .if blocks + foreach my $i (0 .. $#ifstack) { + if ($ifstack[$i] <= 0) { + return 1; + } + } + } + return 0; +} + +sub parse_line { + my $line = $_[0]; + + return if (parse_if_line($line)); + + if (scalar(@rept_lines) == 0) { + if (/\.macro/) { + $macro_level++; + if ($macro_level > 1 && !$current_macro) { + die "nested macros but we don't have master macro"; + } + } elsif (/\.endm/) { + $macro_level--; + if ($macro_level < 0) { + die "unmatched .endm"; + } elsif ($macro_level == 0) { + $current_macro = ''; + return; + } + } + } + + if ($macro_level == 0) { + if ($line =~ /\.(rept|irp)/) { + $rept_level++; + } elsif ($line =~ /.endr/) { + $rept_level--; + } + } + + if ($macro_level > 1) { + push(@{$macro_lines{$current_macro}}, $line); + } elsif (scalar(@rept_lines) and $rept_level >= 1) { + push(@rept_lines, $line); + } elsif ($macro_level == 0) { + expand_macros($line); + } else { + if ($line =~ /\.macro\s+([\d\w\.]+)\s*,?\s*(.*)/) { + $current_macro = $1; + + # commas in the argument list are optional, so only use whitespace as the separator + my $arglist = $2; + $arglist =~ s/,/ /g; + + my @args = split(/\s+/, $arglist); + foreach my $i (0 .. $#args) { + my @argpair = split(/=/, $args[$i]); + $macro_args{$current_macro}[$i] = $argpair[0]; + $argpair[0] =~ s/:vararg$//; + $macro_args_default{$current_macro}{$argpair[0]} = $argpair[1]; + } + # ensure %macro_lines has the macro name added as a key + $macro_lines{$current_macro} = []; + + } elsif ($current_macro) { + push(@{$macro_lines{$current_macro}}, $line); + } else { + die "macro level without a macro name"; + } + } +} + +sub handle_set { + my $line = $_[0]; + if ($line =~ /\.(?:set|equ)\s+(\S*)\s*,\s*(.*)/) { + $symbols{$1} = eval_expr($2); + return 1; + } + return 0; +} + +sub expand_macros { + my $line = $_[0]; + + # handle .if directives; apple's assembler doesn't support important non-basic ones + # evaluating them is also needed to handle recursive macros + if (handle_if($line)) { + return; + } + + if (/\.purgem\s+([\d\w\.]+)/) { + delete $macro_lines{$1}; + delete $macro_args{$1}; + delete $macro_args_default{$1}; + return; + } + + if ($line =~ /\.altmacro/) { + $altmacro = 1; + return; + } + + if ($line =~ /\.noaltmacro/) { + $altmacro = 0; + return; + } + + $line =~ s/\%([^,]*)/eval_expr($1)/eg if $altmacro; + + # Strip out the .set lines from the armasm output + return if (handle_set($line) and $as_type eq "armasm"); + + if ($line =~ /\.rept\s+(.*)/) { + $num_repts = $1; + @rept_lines = ("\n"); + + # handle the possibility of repeating another directive on the same line + # .endr on the same line is not valid, I don't know if a non-directive is + if ($num_repts =~ s/(\.\w+.*)//) { + push(@rept_lines, "$1\n"); + } + $num_repts = eval_expr($num_repts); + } elsif ($line =~ /\.irp\s+([\d\w\.]+)\s*(.*)/) { + $in_irp = 1; + $num_repts = 1; + @rept_lines = ("\n"); + $irp_param = $1; + + # only use whitespace as the separator + my $irp_arglist = $2; + $irp_arglist =~ s/,/ /g; + $irp_arglist =~ s/^\s+//; + @irp_args = split(/\s+/, $irp_arglist); + } elsif ($line =~ /\.irpc\s+([\d\w\.]+)\s*(.*)/) { + $in_irp = 1; + $num_repts = 1; + @rept_lines = ("\n"); + $irp_param = $1; + + my $irp_arglist = $2; + $irp_arglist =~ s/,/ /g; + $irp_arglist =~ s/^\s+//; + @irp_args = split(//, $irp_arglist); + } elsif ($line =~ /\.endr/) { + my @prev_rept_lines = @rept_lines; + my $prev_in_irp = $in_irp; + my @prev_irp_args = @irp_args; + my $prev_irp_param = $irp_param; + my $prev_num_repts = $num_repts; + @rept_lines = (); + $in_irp = 0; + @irp_args = ''; + + if ($prev_in_irp != 0) { + foreach my $i (@prev_irp_args) { + foreach my $origline (@prev_rept_lines) { + my $line = $origline; + $line =~ s/\\$prev_irp_param/$i/g; + $line =~ s/\\\(\)//g; # remove \() + parse_line($line); + } + } + } else { + for (1 .. $prev_num_repts) { + foreach my $origline (@prev_rept_lines) { + my $line = $origline; + parse_line($line); + } + } + } + } elsif ($line =~ /(\S+:|)\s*([\w\d\.]+)\s*(.*)/ && exists $macro_lines{$2}) { + handle_serialized_line($1); + my $macro = $2; + + # commas are optional here too, but are syntactically important because + # parameters can be blank + my @arglist = split(/,/, $3); + my @args; + my @args_seperator; + + my $comma_sep_required = 0; + foreach (@arglist) { + # allow arithmetic/shift operators in macro arguments + $_ =~ s/\s*(\+|-|\*|\/|<<|>>|<|>)\s*/$1/g; + + my @whitespace_split = split(/\s+/, $_); + if (!@whitespace_split) { + push(@args, ''); + push(@args_seperator, ''); + } else { + foreach (@whitespace_split) { + #print ("arglist = \"$_\"\n"); + if (length($_)) { + push(@args, $_); + my $sep = $comma_sep_required ? "," : " "; + push(@args_seperator, $sep); + #print ("sep = \"$sep\", arg = \"$_\"\n"); + $comma_sep_required = 0; + } + } + } + + $comma_sep_required = 1; + } + + my %replacements; + if ($macro_args_default{$macro}){ + %replacements = %{$macro_args_default{$macro}}; + } + + # construct hashtable of text to replace + foreach my $i (0 .. $#args) { + my $argname = $macro_args{$macro}[$i]; + my @macro_args = @{ $macro_args{$macro} }; + if ($args[$i] =~ m/=/) { + # arg=val references the argument name + # XXX: I'm not sure what the expected behaviour if a lot of + # these are mixed with unnamed args + my @named_arg = split(/=/, $args[$i]); + $replacements{$named_arg[0]} = $named_arg[1]; + } elsif ($i > $#{$macro_args{$macro}}) { + # more args given than the macro has named args + # XXX: is vararg allowed on arguments before the last? + $argname = $macro_args{$macro}[-1]; + if ($argname =~ s/:vararg$//) { + #print "macro = $macro, args[$i] = $args[$i], args_seperator=@args_seperator, argname = $argname, arglist[$i] = $arglist[$i], arglist = @arglist, args=@args, macro_args=@macro_args\n"; + #$replacements{$argname} .= ", $args[$i]"; + $replacements{$argname} .= "$args_seperator[$i] $args[$i]"; + } else { + die "Too many arguments to macro $macro"; + } + } else { + $argname =~ s/:vararg$//; + $replacements{$argname} = $args[$i]; + } + } + + my $count = $macro_count++; + + # apply replacements as regex + foreach (@{$macro_lines{$macro}}) { + my $macro_line = $_; + # do replacements by longest first, this avoids wrong replacement + # when argument names are subsets of each other + foreach (reverse sort {length $a <=> length $b} keys %replacements) { + $macro_line =~ s/\\$_/$replacements{$_}/g; + } + if ($altmacro) { + foreach (reverse sort {length $a <=> length $b} keys %replacements) { + $macro_line =~ s/\b$_\b/$replacements{$_}/g; + } + } + $macro_line =~ s/\\\@/$count/g; + $macro_line =~ s/\\\(\)//g; # remove \() + parse_line($macro_line); + } + } else { + handle_serialized_line($line); + } +} + +sub is_arm_register { + my $name = $_[0]; + if ($name eq "lr" or + $name eq "ip" or + $name =~ /^[rav]\d+$/) { + return 1; + } + return 0; +} + +sub is_aarch64_register { + my $name = $_[0]; + if ($name =~ /^[xw]\d+$/) { + return 1; + } + return 0; +} + +sub handle_local_label { + my $line = $_[0]; + my $num = $_[1]; + my $dir = $_[2]; + my $target = "$num$dir"; + if ($dir eq "b") { + $line =~ s/\b$target\b/$last_temp_labels{$num}/g; + } else { + my $name = "temp_label_$temp_label_next"; + $temp_label_next++; + push(@{$next_temp_labels{$num}}, $name); + $line =~ s/\b$target\b/$name/g; + } + return $line; +} + +sub handle_serialized_line { + my $line = $_[0]; + + # handle .previous (only with regard to .section not .subsection) + if ($line =~ /\.(section|text|const_data)/) { + push(@sections, $line); + } elsif ($line =~ /\.previous/) { + if (!$sections[-2]) { + die ".previous without a previous section"; + } + $line = $sections[-2]; + push(@sections, $line); + } + + $thumb = 1 if $line =~ /\.code\s+16|\.thumb/; + $thumb = 0 if $line =~ /\.code\s+32|\.arm/; + + # handle ldr , = + if ($line =~ /(.*)\s*ldr([\w\s\d]+)\s*,\s*=(.*)/ and $as_type ne "armasm") { + my $label = $literal_labels{$3}; + if (!$label) { + $label = "Literal_$literal_num"; + $literal_num++; + $literal_labels{$3} = $label; + } + $line = "$1 ldr$2, $label\n"; + } elsif ($line =~ /\.ltorg/ and $as_type ne "armasm") { + $line .= ".align 2\n"; + foreach my $literal (keys %literal_labels) { + $line .= "$literal_labels{$literal}:\n $literal_expr $literal\n"; + } + %literal_labels = (); + } + + # handle GNU as pc-relative relocations for adrp/add + if ($line =~ /(.*)\s*adrp([\w\s\d]+)\s*,\s*#?:pg_hi21:([^\s]+)/ and $as_type =~ /^apple-/) { + $line = "$1 adrp$2, ${3}\@PAGE\n"; + } elsif ($line =~ /(.*)\s*add([\w\s\d]+)\s*,([\w\s\d]+)\s*,\s*#?:lo12:([^\s]+)/ and $as_type =~ /^apple-/) { + $line = "$1 add$2, $3, ${4}\@PAGEOFF\n"; + } + + # thumb add with large immediate needs explicit add.w + if ($thumb and $line =~ /add\s+.*#([^@]+)/) { + $line =~ s/add/add.w/ if eval_expr($1) > 255; + } + + # mach-o local symbol names start with L (no dot) + $line =~ s/(? with ic as conditional code + if ($cond =~ /^(|$arm_cond_codes)$/) { + if (exists $thumb_labels{$label}) { + print ASMFILE ".thumb_func $label\n"; + } else { + $call_targets{$label}++; + } + } + } + + # @l -> lo16() @ha -> ha16() + $line =~ s/,\s+([^,]+)\@l\b/, lo16($1)/g; + $line =~ s/,\s+([^,]+)\@ha\b/, ha16($1)/g; + + # move to/from SPR + if ($line =~ /(\s+)(m[ft])([a-z]+)\s+(\w+)/ and exists $ppc_spr{$3}) { + if ($2 eq 'mt') { + $line = "$1${2}spr $ppc_spr{$3}, $4\n"; + } else { + $line = "$1${2}spr $4, $ppc_spr{$3}\n"; + } + } + + if ($line =~ /\.unreq\s+(.*)/) { + if (defined $neon_alias_reg{$1}) { + delete $neon_alias_reg{$1}; + delete $neon_alias_type{$1}; + return; + } elsif (defined $aarch64_req_alias{$1}) { + delete $aarch64_req_alias{$1}; + return; + } + } + # old gas versions store upper and lower case names on .req, + # but they remove only one on .unreq + if ($fix_unreq) { + if ($line =~ /\.unreq\s+(.*)/) { + $line = ".unreq " . lc($1) . "\n"; + $line .= ".unreq " . uc($1) . "\n"; + } + } + + if ($line =~ /(\w+)\s+\.(dn|qn)\s+(\w+)(?:\.(\w+))?(\[\d+\])?/) { + $neon_alias_reg{$1} = "$3$5"; + $neon_alias_type{$1} = $4; + return; + } + if (scalar keys %neon_alias_reg > 0 && $line =~ /^\s+v\w+/) { + # This line seems to possibly have a neon instruction + foreach (keys %neon_alias_reg) { + my $alias = $_; + # Require the register alias to match as an invididual word, not as a substring + # of a larger word-token. + if ($line =~ /\b$alias\b/) { + $line =~ s/\b$alias\b/$neon_alias_reg{$alias}/g; + # Add the type suffix. If multiple aliases match on the same line, + # only do this replacement the first time (a vfoo.bar string won't match v\w+). + $line =~ s/^(\s+)(v\w+)(\s+)/$1$2.$neon_alias_type{$alias}$3/; + } + } + } + + if ($arch eq "aarch64" or $as_type eq "armasm") { + # clang's integrated aarch64 assembler in Xcode 5 does not support .req/.unreq + if ($line =~ /\b(\w+)\s+\.req\s+(\w+)\b/) { + $aarch64_req_alias{$1} = $2; + return; + } + foreach (keys %aarch64_req_alias) { + my $alias = $_; + # recursively resolve aliases + my $resolved = $aarch64_req_alias{$alias}; + while (defined $aarch64_req_alias{$resolved}) { + $resolved = $aarch64_req_alias{$resolved}; + } + $line =~ s/\b$alias\b/$resolved/g; + } + } + if ($arch eq "aarch64") { + # fix missing aarch64 instructions in Xcode 5.1 (beta3) + # mov with vector arguments is not supported, use alias orr instead + if ($line =~ /^(\d+:)?\s*mov\s+(v\d[\.{}\[\]\w]+),\s*(v\d[\.{}\[\]\w]+)\b\s*$/) { + $line = "$1 orr $2, $3, $3\n"; + } + # movi 16, 32 bit shifted variant, shift is optional + if ($line =~ /^(\d+:)?\s*movi\s+(v[0-3]?\d\.(?:2|4|8)[hsHS])\s*,\s*(#\w+)\b\s*$/) { + $line = "$1 movi $2, $3, lsl #0\n"; + } + # Xcode 5 misses the alias uxtl. Replace it with the more general ushll. + # Clang 3.4 misses the alias sxtl too. Replace it with the more general sshll. + # armasm64 also misses these instructions. + if ($line =~ /^(\d+:)?\s*(s|u)xtl(2)?\s+(v[0-3]?\d\.[248][hsdHSD])\s*,\s*(v[0-3]?\d\.(?:2|4|8|16)[bhsBHS])\b\s*$/) { + $line = "$1 $2shll$3 $4, $5, #0\n"; + } + # clang 3.4 and armasm64 do not automatically use shifted immediates in add/sub + if (($as_type eq "clang" or $as_type eq "armasm") and + $line =~ /^(\d+:)?(\s*(?:add|sub)s?) ([^#l]+)#([\d\+\-\*\/ <>]+)\s*$/) { + my $imm = eval $4; + if ($imm > 4095 and not ($imm & 4095)) { + $line = "$1 $2 $3#" . ($imm >> 12) . ", lsl #12\n"; + } + } + if ($ENV{GASPP_FIX_XCODE5}) { + if ($line =~ /^\s*bsl\b/) { + $line =~ s/\b(bsl)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/; + $line =~ s/\b(v[0-3]?\d)\.$3\b/$1/g; + } + if ($line =~ /^\s*saddl2?\b/) { + $line =~ s/\b(saddl2?)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/; + $line =~ s/\b(v[0-3]?\d)\.\w+\b/$1/g; + } + if ($line =~ /^\s*dup\b.*\]$/) { + $line =~ s/\bdup(\s+v[0-3]?\d)\.(\w+)\b/dup.$2$1/g; + $line =~ s/\b(v[0-3]?\d)\.[bhsdBHSD](\[\d\])$/$1$2/g; + } + } + } + + if ($as_type eq "armasm") { + # Also replace variables set by .set + foreach (keys %symbols) { + my $sym = $_; + $line =~ s/\b$sym\b/$symbols{$sym}/g; + } + + # Handle function declarations and keep track of the declared labels + if ($line =~ s/^\s*\.func\s+(\w+)/$1 PROC/) { + $labels_seen{$1} = 1; + } + + if ($line =~ s/^\s*(\d+)://) { + # Convert local labels into unique labels. armasm (at least in + # RVCT) has something similar, but still different enough. + # By converting to unique labels we avoid any possible + # incompatibilities. + + my $num = $1; + foreach (@{$next_temp_labels{$num}}) { + $line = "$_\n" . $line; + } + @next_temp_labels{$num} = (); + my $name = "temp_label_$temp_label_next"; + $temp_label_next++; + # The matching regexp above removes the label from the start of + # the line (which might contain an instruction as well), readd + # it on a separate line above it. + $line = "$name:\n" . $line; + $last_temp_labels{$num} = $name; + } + + if ($line =~ s/^\s*(\w+):/$1/) { + # Skip labels that have already been declared with a PROC, + # labels must not be declared multiple times. + return if (defined $labels_seen{$1}); + $labels_seen{$1} = 1; + } elsif ($line !~ /(\w+) PROC/) { + # If not a label, make sure the line starts with whitespace, + # otherwise ms armasm interprets it incorrectly. + $line =~ s/^[\.\w]/\t$&/; + } + + + # Check branch instructions + if ($line =~ /(?:^|\n)\s*(\w+\s*:\s*)?(bl?x?\.?(..)?(\.w)?)\s+(\w+)/) { + my $instr = $2; + my $cond = $3; + my $width = $4; + my $target = $5; + # Don't interpret e.g. bic as b with ic as conditional code + if ($cond !~ /^(|$arm_cond_codes)$/) { + # Not actually a branch + } elsif ($target =~ /^(\d+)([bf])$/) { + # The target is a local label + $line = handle_local_label($line, $1, $2); + $line =~ s/\b$instr\b/$&.w/ if $width eq "" and $arch eq "arm"; + } elsif (($arch eq "arm" and !is_arm_register($target)) or + ($arch eq "aarch64" and !is_aarch64_register($target))) { + $call_targets{$target}++; + } + } elsif ($line =~ /(?:^|\n)\s*(\w+\s*:\s*)?(cbn?z|adr|tbz)\s+(\w+)\s*,(\s*#\d+\s*,)?\s*(\w+)/) { + my $instr = $2; + my $reg = $3; + my $bit = $4; + my $target = $5; + if ($target =~ /^(\d+)([bf])$/) { + # The target is a local label + $line = handle_local_label($line, $1, $2); + } else { + $call_targets{$target}++; + } + # Convert tbz with a wX register into an xX register, + # due to armasm64 bugs/limitations. + if ($instr eq "tbz" and $reg =~ /w\d+/) { + my $xreg = $reg; + $xreg =~ s/w/x/; + $line =~ s/\b$reg\b/$xreg/; + } + } elsif ($line =~ /^\s*.h?word.*\b\d+[bf]\b/) { + while ($line =~ /\b(\d+)([bf])\b/g) { + $line = handle_local_label($line, $1, $2); + } + } + + # ALIGN in armasm syntax is the actual number of bytes + if ($line =~ /\.(?:p2)?align\s+(\d+)/) { + my $align = 1 << $1; + $line =~ s/\.(?:p2)?align\s(\d+)/ALIGN $align/; + } + # Convert gas style [r0, :128] into armasm [r0@128] alignment specification + $line =~ s/\[([^\[,]+),?\s*:(\d+)\]/[$1\@$2]/g; + + # armasm treats logical values {TRUE} and {FALSE} separately from + # numeric values - logical operators and values can't be intermixed + # with numerical values. Evaluate ! and (a <> b) into numbers, + # let the assembler evaluate the rest of the expressions. This current + # only works for cases when ! and <> are used with actual constant numbers, + # we don't evaluate subexpressions here. + + # Evaluate ! + while ($line =~ /!\s*(\d+)/g) { + my $val = ($1 != 0) ? 0 : 1; + $line =~ s/!(\d+)/$val/; + } + # Evaluate (a > b) + while ($line =~ /\(\s*(\d+)\s*([<>])\s*(\d+)\s*\)/) { + my $val; + if ($2 eq "<") { + $val = ($1 < $3) ? 1 : 0; + } else { + $val = ($1 > $3) ? 1 : 0; + } + $line =~ s/\(\s*(\d+)\s*([<>])\s*(\d+)\s*\)/$val/; + } + + if ($arch eq "arm") { + # Change a movw... #:lower16: into a mov32 pseudoinstruction + $line =~ s/^(\s*)movw(\s+\w+\s*,\s*)\#:lower16:(.*)$/$1mov32$2$3/; + # and remove the following, matching movt completely + $line =~ s/^\s*movt\s+\w+\s*,\s*\#:upper16:.*$//; + + if ($line =~ /^\s*mov32\s+\w+,\s*([a-zA-Z]\w*)/) { + $import_symbols{$1}++; + } + + # Misc bugs/deficiencies: + # armasm seems unable to parse e.g. "vmov s0, s1" without a type + # qualifier, thus add .f32. + $line =~ s/^(\s+(?:vmov|vadd))(\s+s\d+\s*,\s*s\d+)/$1.f32$2/; + } elsif ($arch eq "aarch64") { + # Convert ext into ext8; armasm64 seems to require it named as ext8. + $line =~ s/^(\s+)ext(\s+)/$1ext8$2/; + + # Pick up targets from ldr x0, =sym+offset + if ($line =~ /^\s*ldr\s+(\w+)\s*,\s*=([a-zA-Z]\w*)(.*)$/) { + my $reg = $1; + my $sym = $2; + my $offset = eval_expr($3); + if ($offset < 0) { + # armasm64 is buggy with ldr x0, =sym+offset where the + # offset is a negative value; it does write a negative + # offset into the literal pool as it should, but the + # negative offset only covers the lower 32 bit of the 64 + # bit literal/relocation. + # Thus remove the offset and apply it manually with a sub + # afterwards. + $offset = -$offset; + $line = "\tldr $reg, =$sym\n\tsub $reg, $reg, #$offset\n"; + } + $import_symbols{$sym}++; + } + + # armasm64 (currently) doesn't support offsets on adrp targets, + # even though the COFF format relocations (and the linker) + # supports it. Therefore strip out the offsets from adrp and + # add :lo12: (in case future armasm64 would start handling it) + # and add an extra explicit add instruction for the offset. + if ($line =~ s/(adrp\s+\w+\s*,\s*(\w+))([\d\+\-\*\/\(\) <>]+)?/\1/) { + $import_symbols{$2}++; + } + if ($line =~ s/(add\s+(\w+)\s*,\s*\w+\s*,\s*):lo12:(\w+)([\d\+\-\*\/\(\) <>]+)?/\1\3/) { + my $reg = $2; + my $sym = $3; + my $offset = eval_expr($4); + $line .= "\tadd $reg, $reg, #$offset\n" if $offset > 0; + $import_symbols{$sym}++; + } + + # Convert e.g. "add x0, x0, w0, uxtw" into "add x0, x0, w0, uxtw #0", + # or "ldr x0, [x0, w0, uxtw]" into "ldr x0, [x0, w0, uxtw #0]". + $line =~ s/(uxtw|sxtw)(\s*\]?\s*)$/\1 #0\2/i; + + # Convert "mov x0, v0.d[0]" into "umov x0, v0.d[0]" + $line =~ s/\bmov\s+[xw]\d+\s*,\s*v\d+\.[ds]/u$&/i; + + # Convert "ccmp w0, #0, #0, ne" into "ccmpne w0, #0, #0", + # and "csel w0, w0, w0, ne" into "cselne w0, w0, w0". + $line =~ s/(ccmp|csel)\s+([xw]\w+)\s*,\s*([xw#]\w+)\s*,\s*([xw#]\w+)\s*,\s*($arm_cond_codes)/\1\5 \2, \3, \4/; + + # Convert "cinc w0, w0, ne" into "cincne w0, w0". + $line =~ s/(cinc)\s+([xw]\w+)\s*,\s*([xw]\w+)\s*,\s*($arm_cond_codes)/\1\4 \2, \3/; + + # Convert "cset w0, lo" into "csetlo w0" + $line =~ s/(cset)\s+([xw]\w+)\s*,\s*($arm_cond_codes)/\1\3 \2/; + + # Strip out prfum; armasm64 fails to assemble any + # variant/combination of prfum tested so far, but it can be + # left out without any + $line =~ s/prfum.*\]//; + + # Convert "ldrb w0, [x0, #-1]" into "ldurb w0, [x0, #-1]". + # Don't do this for forms with writeback though. + if ($line =~ /(ld|st)(r[bh]?)\s+(\w+)\s*,\s*\[\s*(\w+)\s*,\s*#([^\]]+)\s*\][^!]/) { + my $instr = $1; + my $suffix = $2; + my $target = $3; + my $base = $4; + my $offset = eval_expr($5); + if ($offset < 0) { + $line =~ s/$instr$suffix/${instr}u$suffix/; + } + } + + if ($ENV{GASPP_ARMASM64_INVERT_SCALE}) { + # Instructions like fcvtzs and scvtf store the scale value + # inverted in the opcode (stored as 64 - scale), but armasm64 + # in early versions stores it as-is. Thus convert from + # "fcvtzs w0, s0, #8" into "fcvtzs w0, s0, #56". + if ($line =~ /(?:fcvtzs|scvtf)\s+(\w+)\s*,\s*(\w+)\s*,\s*#(\d+)/) { + my $scale = $3; + my $inverted_scale = 64 - $3; + $line =~ s/#$scale/#$inverted_scale/; + } + } + } + # armasm is unable to parse &0x - add spacing + $line =~ s/&0x/& 0x/g; + } + + if ($force_thumb) { + # Convert register post indexing to a separate add instruction. + # This converts e.g. "ldr r0, [r1], r2" into "ldr r0, [r1]", + # "add r1, r1, r2". + $line =~ s/((?:ldr|str)[bh]?)\s+(\w+),\s*\[(\w+)\],\s*(\w+)/$1 $2, [$3]\n\tadd $3, $3, $4/g; + + # Convert "mov pc, lr" into "bx lr", since the former only works + # for switching from arm to thumb (and only in armv7), but not + # from thumb to arm. + $line =~ s/mov\s*pc\s*,\s*lr/bx lr/g; + + # Convert stmdb/ldmia/stmfd/ldmfd/ldm with only one register into a plain str/ldr with post-increment/decrement. + # Wide thumb2 encoding requires at least two registers in register list while all other encodings support one register too. + $line =~ s/stm(?:db|fd)\s+sp!\s*,\s*\{([^,-]+)\}/str $1, [sp, #-4]!/g; + $line =~ s/ldm(?:ia|fd)?\s+sp!\s*,\s*\{([^,-]+)\}/ldr $1, [sp], #4/g; + + # Convert muls into mul+cmp + $line =~ s/muls\s+(\w+),\s*(\w+)\,\s*(\w+)/mul $1, $2, $3\n\tcmp $1, #0/g; + + # Convert "and r0, sp, #xx" into "mov r0, sp", "and r0, r0, #xx" + $line =~ s/and\s+(\w+),\s*(sp|r13)\,\s*#(\w+)/mov $1, $2\n\tand $1, $1, #$3/g; + + # Convert "ldr r0, [r0, r1, lsl #6]" where the shift is >3 (which + # can't be handled in thumb) into "add r0, r0, r1, lsl #6", + # "ldr r0, [r0]", for the special case where the same address is + # used as base and target for the ldr. + if ($line =~ /(ldr[bh]?)\s+(\w+),\s*\[\2,\s*(\w+),\s*lsl\s*#(\w+)\]/ and $4 > 3) { + $line =~ s/(ldr[bh]?)\s+(\w+),\s*\[\2,\s*(\w+),\s*lsl\s*#(\w+)\]/add $2, $2, $3, lsl #$4\n\t$1 $2, [$2]/; + } + + $line =~ s/\.arm/.thumb/x; + } + + # comment out unsupported directives + $line =~ s/\.type/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + $line =~ s/\.func/$comm$&/x if $as_type =~ /^(apple-|clang)/; + $line =~ s/\.endfunc/$comm$&/x if $as_type =~ /^(apple-|clang)/; + $line =~ s/\.endfunc/ENDP/x if $as_type =~ /armasm/; + $line =~ s/\.ltorg/$comm$&/x if $as_type =~ /^(apple-|clang)/; + $line =~ s/\.ltorg/LTORG/x if $as_type eq "armasm"; + $line =~ s/\.size/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + $line =~ s/\.fpu/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + $line =~ s/\.arch/$comm$&/x if $as_type =~ /^(apple-|clang|armasm)/; + $line =~ s/\.object_arch/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + $line =~ s/.section\s+.note.GNU-stack.*/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + + $line =~ s/\.syntax/$comm$&/x if $as_type =~ /armasm/; + + $line =~ s/\.hword/.short/x; + + if ($as_type =~ /^apple-/) { + # the syntax for these is a little different + $line =~ s/\.global/.globl/x; + # also catch .section .rodata since the equivalent to .const_data is .section __DATA,__const + $line =~ s/(.*)\.rodata/.const_data/x; + $line =~ s/\.int/.long/x; + $line =~ s/\.float/.single/x; + } + if ($as_type eq "apple-gas") { + $line =~ s/vmrs\s+APSR_nzcv/fmrx r15/x; + } + if ($as_type eq "armasm") { + $line =~ s/\.global/EXPORT/x; + $line =~ s/\.int/dcd/x; + $line =~ s/\.long/dcd/x; + $line =~ s/\.float/dcfs/x; + $line =~ s/\.word/dcd/x; + $line =~ s/\.short/dcw/x; + $line =~ s/\.byte/dcb/x; + $line =~ s/\.quad/dcq/x; + $line =~ s/\.ascii/dcb/x; + $line =~ s/\.asciz(.*)$/dcb\1,0/x; + $line =~ s/\.thumb/THUMB/x; + $line =~ s/\.arm/ARM/x; + # The alignment in AREA is the power of two, just as .align in gas + $line =~ s/\.text/AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN/; + $line =~ s/(\s*)(.*)\.rodata/$1AREA |.rodata|, DATA, READONLY, ALIGN=5/; + $line =~ s/\.data/AREA |.data|, DATA, ALIGN=5/; + } + if ($as_type eq "armasm" and $arch eq "arm") { + $line =~ s/fmxr/vmsr/; + $line =~ s/fmrx/vmrs/; + $line =~ s/fadds/vadd.f32/; + } + if ($as_type eq "armasm" and $arch eq "aarch64") { + # Convert "b.eq" into "beq" + $line =~ s/\bb\.($arm_cond_codes)\b/b\1/; + } + + # catch unknown section names that aren't mach-o style (with a comma) + if ($as_type =~ /apple-/ and $line =~ /.section ([^,]*)$/) { + die ".section $1 unsupported; figure out the mach-o section name and add it"; + } + + print ASMFILE $line; +} + +if ($as_type ne "armasm") { + print ASMFILE ".text\n"; + print ASMFILE ".align 2\n"; + foreach my $literal (keys %literal_labels) { + print ASMFILE "$literal_labels{$literal}:\n $literal_expr $literal\n"; + } + + map print(ASMFILE ".thumb_func $_\n"), + grep exists $thumb_labels{$_}, keys %call_targets; +} else { + map print(ASMFILE "\tIMPORT $_\n"), + grep ! exists $labels_seen{$_}, (keys %call_targets, keys %import_symbols); + + print ASMFILE "\tEND\n"; +} + +close(INPUT) or exit 1; +close(ASMFILE) or exit 1; +if ($as_type eq "armasm" and ! defined $ENV{GASPP_DEBUG}) { + system(@gcc_cmd) == 0 or die "Error running assembler"; +} + +END { + unlink($tempfile) if defined $tempfile; +} +#exit 1 diff --git a/data/_x264/make.sh b/data/_x264/make.sh new file mode 100644 index 000000000..19266819f --- /dev/null +++ b/data/_x264/make.sh @@ -0,0 +1,6 @@ +pkg:setup +cp "${PKG_DATA}"/gas-preprocessor.pl . +# Host requires perl. +CC="${PKG_TARG}-gcc" AS="./gas-preprocessor.pl -arch $(echo ${PKG_TARG} | sed -e 's/-.*//') -- ${PKG_TARG}-gcc" pkg:configure --enable-shared --disable-lsmash --enable-strip --cross-prefix="${PKG_TARG}-" --system-libx264 +pkg:make +pkg:install diff --git a/data/_x264/makefile-error.diff b/data/_x264/makefile-error.diff new file mode 100644 index 000000000..0f2ce2815 --- /dev/null +++ b/data/_x264/makefile-error.diff @@ -0,0 +1,12 @@ +diff -ur x264-snapshot-20190402-2245/Makefile x264-snapshot-20190402-2245+iPhone/Makefile +--- x264-snapshot-20190402-2245/Makefile 2019-04-02 10:45:02.000000000 -1000 ++++ x264-snapshot-20190402-2245+iPhone/Makefile 2019-04-02 21:24:44.000000000 -1000 +@@ -240,7 +240,7 @@ + + $(LIBX264): $(GENERATED) .depend $(OBJS) $(OBJASM) + rm -f $(LIBX264) +- $(AR)$@ $(OBJS) $(OBJASM) ++ $(AR) -r $@ $(OBJS) $(OBJASM) + $(if $(RANLIB), $(RANLIB) $@) + + $(SONAME): $(GENERATED) .depend $(OBJS) $(OBJASM) $(OBJSO) diff --git a/data/_x264/x264-2945.tar.lz b/data/_x264/x264-2945.tar.lz new file mode 100644 index 000000000..7c2aaacf1 Binary files /dev/null and b/data/_x264/x264-2945.tar.lz differ diff --git a/data/_x265/_metadata/description b/data/_x265/_metadata/description new file mode 100644 index 000000000..2f565c14e --- /dev/null +++ b/data/_x265/_metadata/description @@ -0,0 +1 @@ +H.265/HEVC encoder diff --git a/data/_x265/_metadata/in.1443.00 b/data/_x265/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/_x265/_metadata/license b/data/_x265/_metadata/license new file mode 100644 index 000000000..d5457c936 --- /dev/null +++ b/data/_x265/_metadata/license @@ -0,0 +1,343 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +This program is also available under a commercial proprietary license. +For more information, contact us at license @ x265.com. diff --git a/data/_x265/_metadata/maintainer b/data/_x265/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/_x265/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/_x265/_metadata/name b/data/_x265/_metadata/name new file mode 100644 index 000000000..9313b4661 --- /dev/null +++ b/data/_x265/_metadata/name @@ -0,0 +1 @@ +x265 diff --git a/data/_x265/_metadata/priority b/data/_x265/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_x265/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_x265/_metadata/role b/data/_x265/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_x265/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_x265/_metadata/section b/data/_x265/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/_x265/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/_x265/_metadata/tags b/data/_x265/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_x265/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_x265/_metadata/version b/data/_x265/_metadata/version new file mode 100644 index 000000000..9f55b2ccb --- /dev/null +++ b/data/_x265/_metadata/version @@ -0,0 +1 @@ +3.0 diff --git a/data/_x265/make.sh b/data/_x265/make.sh new file mode 100644 index 000000000..f0aa4aae7 --- /dev/null +++ b/data/_x265/make.sh @@ -0,0 +1,47 @@ +pkg:setup + +cat >iphoneos_toolchain.cmake </dev/null + +pushd x265-12bit + cmake ../../source "${_cmake_args[@]}" -DMAIN12=ON "${_high_bit[@]}" + make -j16 + mv libx265.a libx265_main12.a +popd &>/dev/null + +echo cmake ../source "${_cmake_args[@]}" "${_args[@]}" +cmake ../source "${_cmake_args[@]}" "${_args[@]}" +make -j16 +pkg:install +pkg: rm /usr/lib/libx265.a diff --git a/data/_x265/x265_3.0.tar.gz b/data/_x265/x265_3.0.tar.gz new file mode 100644 index 000000000..b90ed9671 Binary files /dev/null and b/data/_x265/x265_3.0.tar.gz differ diff --git a/data/ffmpeg/_metadata/_ffmpeg.dep b/data/ffmpeg/_metadata/_ffmpeg.dep new file mode 120000 index 000000000..fbdeb149b --- /dev/null +++ b/data/ffmpeg/_metadata/_ffmpeg.dep @@ -0,0 +1 @@ +../../_ffmpeg \ No newline at end of file diff --git a/data/ffmpeg/_metadata/lame.dep b/data/ffmpeg/_metadata/lame.dep deleted file mode 120000 index ddc2ccf8c..000000000 --- a/data/ffmpeg/_metadata/lame.dep +++ /dev/null @@ -1 +0,0 @@ -../../lame \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavcodec58.dep b/data/ffmpeg/_metadata/libavcodec58.dep new file mode 120000 index 000000000..28121412e --- /dev/null +++ b/data/ffmpeg/_metadata/libavcodec58.dep @@ -0,0 +1 @@ +../../libavcodec58 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavdevice58.dep b/data/ffmpeg/_metadata/libavdevice58.dep new file mode 120000 index 000000000..d128c271f --- /dev/null +++ b/data/ffmpeg/_metadata/libavdevice58.dep @@ -0,0 +1 @@ +../../libavdevice58 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavfilter7.dep b/data/ffmpeg/_metadata/libavfilter7.dep new file mode 120000 index 000000000..0bfb49e16 --- /dev/null +++ b/data/ffmpeg/_metadata/libavfilter7.dep @@ -0,0 +1 @@ +../../libavfilter7 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavformat58.dep b/data/ffmpeg/_metadata/libavformat58.dep new file mode 120000 index 000000000..cdcf9037e --- /dev/null +++ b/data/ffmpeg/_metadata/libavformat58.dep @@ -0,0 +1 @@ +../../libavformat58 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavtil56.dep b/data/ffmpeg/_metadata/libavtil56.dep new file mode 120000 index 000000000..6c5139121 --- /dev/null +++ b/data/ffmpeg/_metadata/libavtil56.dep @@ -0,0 +1 @@ +../../libavtil56 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libavutil56.dep b/data/ffmpeg/_metadata/libavutil56.dep new file mode 120000 index 000000000..30743e443 --- /dev/null +++ b/data/ffmpeg/_metadata/libavutil56.dep @@ -0,0 +1 @@ +../../libavutil56 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libmp3lame0.dep b/data/ffmpeg/_metadata/libmp3lame0.dep new file mode 120000 index 000000000..6699d2958 --- /dev/null +++ b/data/ffmpeg/_metadata/libmp3lame0.dep @@ -0,0 +1 @@ +../../libmp3lame0 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libogg0.dep b/data/ffmpeg/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/ffmpeg/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libopus.dep b/data/ffmpeg/_metadata/libopus.dep deleted file mode 120000 index 25443dffc..000000000 --- a/data/ffmpeg/_metadata/libopus.dep +++ /dev/null @@ -1 +0,0 @@ -../../libopus \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libopus0.dep b/data/ffmpeg/_metadata/libopus0.dep new file mode 120000 index 000000000..3af5f2a4e --- /dev/null +++ b/data/ffmpeg/_metadata/libopus0.dep @@ -0,0 +1 @@ +../../libopus0 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libpostproc55.dep b/data/ffmpeg/_metadata/libpostproc55.dep new file mode 120000 index 000000000..2c2b1f69d --- /dev/null +++ b/data/ffmpeg/_metadata/libpostproc55.dep @@ -0,0 +1 @@ +../../libpostproc55 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libswresample3.dep b/data/ffmpeg/_metadata/libswresample3.dep new file mode 120000 index 000000000..449f4c2cd --- /dev/null +++ b/data/ffmpeg/_metadata/libswresample3.dep @@ -0,0 +1 @@ +../../libswresample3 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libswscale5.dep b/data/ffmpeg/_metadata/libswscale5.dep new file mode 120000 index 000000000..55eb2de35 --- /dev/null +++ b/data/ffmpeg/_metadata/libswscale5.dep @@ -0,0 +1 @@ +../../libswscale5 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libtheora.dep b/data/ffmpeg/_metadata/libtheora.dep deleted file mode 120000 index fd6f21fcc..000000000 --- a/data/ffmpeg/_metadata/libtheora.dep +++ /dev/null @@ -1 +0,0 @@ -../../libtheora \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libtheora0.dep b/data/ffmpeg/_metadata/libtheora0.dep new file mode 120000 index 000000000..02eb1ef4e --- /dev/null +++ b/data/ffmpeg/_metadata/libtheora0.dep @@ -0,0 +1 @@ +../../libtheora0 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libvorbis.dep b/data/ffmpeg/_metadata/libvorbis.dep deleted file mode 120000 index 2196d93e3..000000000 --- a/data/ffmpeg/_metadata/libvorbis.dep +++ /dev/null @@ -1 +0,0 @@ -../../libvorbis \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libvorbis0.dep b/data/ffmpeg/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/ffmpeg/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libvpx.dep b/data/ffmpeg/_metadata/libvpx.dep deleted file mode 120000 index 549f94c3c..000000000 --- a/data/ffmpeg/_metadata/libvpx.dep +++ /dev/null @@ -1 +0,0 @@ -../../libvpx \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libvpx6.dep b/data/ffmpeg/_metadata/libvpx6.dep new file mode 120000 index 000000000..2f5ef034d --- /dev/null +++ b/data/ffmpeg/_metadata/libvpx6.dep @@ -0,0 +1 @@ +../../libvpx6 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libx264-157.dep b/data/ffmpeg/_metadata/libx264-157.dep new file mode 120000 index 000000000..22e08a533 --- /dev/null +++ b/data/ffmpeg/_metadata/libx264-157.dep @@ -0,0 +1 @@ +../../libx264-157 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/libx265-169.dep b/data/ffmpeg/_metadata/libx265-169.dep new file mode 120000 index 000000000..f4b3b0a5c --- /dev/null +++ b/data/ffmpeg/_metadata/libx265-169.dep @@ -0,0 +1 @@ +../../libx265-169 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/x264.dep b/data/ffmpeg/_metadata/x264.dep deleted file mode 120000 index e87b337ed..000000000 --- a/data/ffmpeg/_metadata/x264.dep +++ /dev/null @@ -1 +0,0 @@ -../../x264 \ No newline at end of file diff --git a/data/ffmpeg/_metadata/x265.dep b/data/ffmpeg/_metadata/x265.dep deleted file mode 120000 index de37d9151..000000000 --- a/data/ffmpeg/_metadata/x265.dep +++ /dev/null @@ -1 +0,0 @@ -../../x265 \ No newline at end of file diff --git a/data/ffmpeg/ffmpeg-4.1.3.tar.xz b/data/ffmpeg/ffmpeg-4.1.3.tar.xz deleted file mode 100644 index 91336f1a0..000000000 Binary files a/data/ffmpeg/ffmpeg-4.1.3.tar.xz and /dev/null differ diff --git a/data/ffmpeg/make.sh b/data/ffmpeg/make.sh index a61fdbefd..c9c892170 100644 --- a/data/ffmpeg/make.sh +++ b/data/ffmpeg/make.sh @@ -1,22 +1,2 @@ -pkg:setup -ARCH=$(echo ${PKG_TARG} | sed -e s/'-.*'//) - -# Arguments taken from: -# https://github.com/Homebrew/homebrew-core/blob/master/Formula/ffmpeg.rb - -# Xz and gnutls included since they are default dependencies. - -# WARNING: --enable-gpl and --enable-nonfree can make ffmpeg not legally redistributable. -# --enable-gpl includes code with the gpl license. - - -./configure --arch=${ARCH} --pkg-config="$(realpath "${PKG_BASE}/util/pkg-config.sh")" \ - --prefix="$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix")" --enable-cross-compile \ - --cross-prefix="${PKG_TARG}-" --target-os=darwin \ - --disable-static --enable-shared --disable-debug --disable-stripping \ - --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gnutls \ - --enable-gpl --enable-libmp3lame --enable-libopus --enable-libtheora \ - --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 \ - --enable-libxvid --enable-lzma # --enable-nonfree -make -j16 -pkg:install +pkg: mkdir -p /usr/bin +cp -a "$(PKG_DEST_ _lame)"/usr/bin/* "${PKG_DEST}"/usr/bin diff --git a/data/lame/_metadata/description b/data/lame/_metadata/description index df8c84c02..eeeb13241 100644 --- a/data/lame/_metadata/description +++ b/data/lame/_metadata/description @@ -1 +1 @@ -open source (lgpl) mp3 encoder +MP3 encoding library (frontend) diff --git a/data/lame/_metadata/libmp3lame0.dep b/data/lame/_metadata/libmp3lame0.dep new file mode 120000 index 000000000..6699d2958 --- /dev/null +++ b/data/lame/_metadata/libmp3lame0.dep @@ -0,0 +1 @@ +../../libmp3lame0 \ No newline at end of file diff --git a/data/lame/_metadata/libmp3lame0.ver.iphoneos-arm b/data/lame/_metadata/libmp3lame0.ver.iphoneos-arm new file mode 120000 index 000000000..5ba0ce5f0 --- /dev/null +++ b/data/lame/_metadata/libmp3lame0.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libmp3lame0/_metadata/version \ No newline at end of file diff --git a/data/lame/_metadata/version b/data/lame/_metadata/version deleted file mode 100644 index 748d07b56..000000000 --- a/data/lame/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -3.100 diff --git a/data/lame/_metadata/version b/data/lame/_metadata/version new file mode 120000 index 000000000..09d02d1c7 --- /dev/null +++ b/data/lame/_metadata/version @@ -0,0 +1 @@ +../../_lame/_metadata/version \ No newline at end of file diff --git a/data/lame/lame-3.100.tar.gz b/data/lame/lame-3.100.tar.gz deleted file mode 100644 index 32336a6d3..000000000 Binary files a/data/lame/lame-3.100.tar.gz and /dev/null differ diff --git a/data/lame/lame_init_old.diff b/data/lame/lame_init_old.diff deleted file mode 100644 index 155340bab..000000000 --- a/data/lame/lame_init_old.diff +++ /dev/null @@ -1,9 +0,0 @@ -diff -ur lame-3.100/include/libmp3lame.sym lame-3.100+iPhone/include/libmp3lame.sym ---- lame-3.100/include/libmp3lame.sym 2017-09-06 09:33:35.000000000 -1000 -+++ lame-3.100+iPhone/include/libmp3lame.sym 2018-07-27 22:59:41.000000000 -1000 -@@ -1,5 +1,4 @@ - lame_init --lame_init_old - lame_set_num_samples - lame_get_num_samples - lame_set_in_samplerate diff --git a/data/lame/make.sh b/data/lame/make.sh index 452a4bfd5..c9c892170 100644 --- a/data/lame/make.sh +++ b/data/lame/make.sh @@ -1,4 +1,2 @@ -pkg:setup -pkg:configure -make -pkg:install +pkg: mkdir -p /usr/bin +cp -a "$(PKG_DEST_ _lame)"/usr/bin/* "${PKG_DEST}"/usr/bin diff --git a/data/lame/timestamp.diff b/data/lame/timestamp.diff deleted file mode 100644 index c828ad740..000000000 --- a/data/lame/timestamp.diff +++ /dev/null @@ -1,60 +0,0 @@ -diff -ur lame-3.100/ACM/main.cpp lame-3.100+iPhone/ACM/main.cpp ---- lame-3.100/ACM/main.cpp 2006-12-25 11:37:34.000000000 -1000 -+++ lame-3.100+iPhone/ACM/main.cpp 2018-07-27 22:55:45.000000000 -1000 -@@ -156,7 +156,7 @@ - if (debug != NULL) - { - // debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD, version %s %s %s", ACM_VERSION, __DATE__, __TIME__); -- debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD, %s %s", __DATE__, __TIME__); -+ debug->OutPut(DEBUG_LEVEL_MSG, "DRV_LOAD"); - } - return 1L; - } -diff -ur lame-3.100/frontend/gtkanal.c lame-3.100+iPhone/frontend/gtkanal.c ---- lame-3.100/frontend/gtkanal.c 2017-09-06 09:33:35.000000000 -1000 -+++ lame-3.100+iPhone/frontend/gtkanal.c 2018-07-27 22:56:05.000000000 -1000 -@@ -1128,11 +1128,11 @@ - #if MP3X_ALPHA_VERSION > 0 - static /*@observer@ */ const char *const str = - XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION) -- " (alpha " XSTR(MP3X_ALPHA_VERSION) ", " __DATE__ " " __TIME__ ")"; -+ " (alpha " XSTR(MP3X_ALPHA_VERSION) ")"; - #elif MP3X_BETA_VERSION > 0 - static /*@observer@ */ const char *const str = - XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION) -- " (beta " XSTR(MP3X_BETA_VERSION) ", " __DATE__ ")"; -+ " (beta " XSTR(MP3X_BETA_VERSION) ")"; - #else - static /*@observer@ */ const char *const str = - XSTR(MP3X_MAJOR_VERSION) "." XSTR(MP3X_MINOR_VERSION); -diff -ur lame-3.100/libmp3lame/version.c lame-3.100+iPhone/libmp3lame/version.c ---- lame-3.100/libmp3lame/version.c 2011-11-17 23:51:02.000000000 -1000 -+++ lame-3.100+iPhone/libmp3lame/version.c 2018-07-27 22:55:08.000000000 -1000 -@@ -58,11 +58,11 @@ - #if LAME_ALPHA_VERSION - static /*@observer@ */ const char *const str = - STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) " " -- "(alpha " STR(LAME_PATCH_VERSION) ", " __DATE__ " " __TIME__ ")"; -+ "(alpha " STR(LAME_PATCH_VERSION)")"; - #elif LAME_BETA_VERSION - static /*@observer@ */ const char *const str = - STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) " " -- "(beta " STR(LAME_PATCH_VERSION) ", " __DATE__ ")"; -+ "(beta " STR(LAME_PATCH_VERSION) ")"; - #elif LAME_RELEASE_VERSION && (LAME_PATCH_VERSION > 0) - static /*@observer@ */ const char *const str = - STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) "." STR(LAME_PATCH_VERSION); -@@ -165,11 +165,11 @@ - #if PSY_ALPHA_VERSION > 0 - static /*@observer@ */ const char *const str = - STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION) -- " (alpha " STR(PSY_ALPHA_VERSION) ", " __DATE__ " " __TIME__ ")"; -+ " (alpha " STR(PSY_ALPHA_VERSION) ")"; - #elif PSY_BETA_VERSION > 0 - static /*@observer@ */ const char *const str = - STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION) -- " (beta " STR(PSY_BETA_VERSION) ", " __DATE__ ")"; -+ " (beta " STR(PSY_BETA_VERSION) ")"; - #else - static /*@observer@ */ const char *const str = - STR(PSY_MAJOR_VERSION) "." STR(PSY_MINOR_VERSION); diff --git a/data/libogg-dev/_metadata/conflicts b/data/libogg-dev/_metadata/conflicts new file mode 100644 index 000000000..506ceaa1e --- /dev/null +++ b/data/libogg-dev/_metadata/conflicts @@ -0,0 +1 @@ +ogg diff --git a/data/libogg-dev/_metadata/description b/data/libogg-dev/_metadata/description new file mode 100644 index 000000000..2ba66ad92 --- /dev/null +++ b/data/libogg-dev/_metadata/description @@ -0,0 +1 @@ +Ogg bitstream library (development) diff --git a/data/libogg-dev/_metadata/in.1443.00 b/data/libogg-dev/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libogg-dev/_metadata/libogg0.dep b/data/libogg-dev/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/libogg-dev/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/libogg-dev/_metadata/libogg0.ver.iphoneos-arm b/data/libogg-dev/_metadata/libogg0.ver.iphoneos-arm new file mode 120000 index 000000000..b2e9951af --- /dev/null +++ b/data/libogg-dev/_metadata/libogg0.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libogg0/_metadata/version \ No newline at end of file diff --git a/data/libogg-dev/_metadata/license b/data/libogg-dev/_metadata/license new file mode 120000 index 000000000..fe021c41f --- /dev/null +++ b/data/libogg-dev/_metadata/license @@ -0,0 +1 @@ +../../_libogg/_metadata/license \ No newline at end of file diff --git a/data/libogg-dev/_metadata/maintainer b/data/libogg-dev/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libogg-dev/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libogg-dev/_metadata/priority b/data/libogg-dev/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libogg-dev/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libogg-dev/_metadata/role b/data/libogg-dev/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libogg-dev/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libogg-dev/_metadata/section b/data/libogg-dev/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libogg-dev/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libogg-dev/_metadata/tags b/data/libogg-dev/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libogg-dev/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libogg-dev/_metadata/version b/data/libogg-dev/_metadata/version new file mode 120000 index 000000000..508fca7e9 --- /dev/null +++ b/data/libogg-dev/_metadata/version @@ -0,0 +1 @@ +../../_libogg/_metadata/version \ No newline at end of file diff --git a/data/libogg-dev/make.sh b/data/libogg-dev/make.sh new file mode 100644 index 000000000..1ee246b11 --- /dev/null +++ b/data/libogg-dev/make.sh @@ -0,0 +1,4 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libogg)"/usr/{include,share} "${PKG_DEST}"/usr/ +cp -a "$(PKG_DEST_ _libogg)"/usr/lib/{lib*.dylib,pkgconfig} "${PKG_DEST}"/usr/lib +rm "${PKG_DEST}"/usr/lib/lib*.*.dylib diff --git a/data/libogg/_metadata/conflicts b/data/libogg/_metadata/conflicts deleted file mode 100644 index 506ceaa1e..000000000 --- a/data/libogg/_metadata/conflicts +++ /dev/null @@ -1 +0,0 @@ -ogg diff --git a/data/libogg/_metadata/description b/data/libogg/_metadata/description deleted file mode 100644 index c7a8d1c9b..000000000 --- a/data/libogg/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -open multimedia container format diff --git a/data/libogg/_metadata/in.1443.00 b/data/libogg/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/libogg/_metadata/license b/data/libogg/_metadata/license deleted file mode 100644 index 6111c6c5a..000000000 --- a/data/libogg/_metadata/license +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2002, Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/libogg/_metadata/maintainer b/data/libogg/_metadata/maintainer deleted file mode 120000 index 573d7ebef..000000000 --- a/data/libogg/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/sbingner \ No newline at end of file diff --git a/data/libogg/_metadata/priority b/data/libogg/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/libogg/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/libogg/_metadata/provides b/data/libogg/_metadata/provides deleted file mode 100644 index 506ceaa1e..000000000 --- a/data/libogg/_metadata/provides +++ /dev/null @@ -1 +0,0 @@ -ogg diff --git a/data/libogg/_metadata/replaces b/data/libogg/_metadata/replaces deleted file mode 100644 index 506ceaa1e..000000000 --- a/data/libogg/_metadata/replaces +++ /dev/null @@ -1 +0,0 @@ -ogg diff --git a/data/libogg/_metadata/role b/data/libogg/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/libogg/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/libogg/_metadata/section b/data/libogg/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/libogg/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/libogg/_metadata/tags b/data/libogg/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/libogg/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/libogg/_metadata/version b/data/libogg/_metadata/version deleted file mode 100644 index 31e5c8434..000000000 --- a/data/libogg/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -1.3.3 diff --git a/data/libogg/libogg-1.3.3.tar.gz b/data/libogg/libogg-1.3.3.tar.gz deleted file mode 100644 index b39fdfe49..000000000 Binary files a/data/libogg/libogg-1.3.3.tar.gz and /dev/null differ diff --git a/data/libogg/make.sh b/data/libogg/make.sh deleted file mode 100644 index 452a4bfd5..000000000 --- a/data/libogg/make.sh +++ /dev/null @@ -1,4 +0,0 @@ -pkg:setup -pkg:configure -make -pkg:install diff --git a/data/libogg0/_metadata/_libogg.dep b/data/libogg0/_metadata/_libogg.dep new file mode 120000 index 000000000..2e0e576a9 --- /dev/null +++ b/data/libogg0/_metadata/_libogg.dep @@ -0,0 +1 @@ +../../_libogg \ No newline at end of file diff --git a/data/libogg0/_metadata/conflicts b/data/libogg0/_metadata/conflicts new file mode 100644 index 000000000..506ceaa1e --- /dev/null +++ b/data/libogg0/_metadata/conflicts @@ -0,0 +1 @@ +ogg diff --git a/data/libogg0/_metadata/description b/data/libogg0/_metadata/description new file mode 100644 index 000000000..2089fc160 --- /dev/null +++ b/data/libogg0/_metadata/description @@ -0,0 +1 @@ +Ogg bitstream library diff --git a/data/libogg0/_metadata/in.1443.00 b/data/libogg0/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libogg0/_metadata/license b/data/libogg0/_metadata/license new file mode 120000 index 000000000..fe021c41f --- /dev/null +++ b/data/libogg0/_metadata/license @@ -0,0 +1 @@ +../../_libogg/_metadata/license \ No newline at end of file diff --git a/data/libogg0/_metadata/maintainer b/data/libogg0/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libogg0/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libogg0/_metadata/priority b/data/libogg0/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libogg0/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libogg0/_metadata/provides b/data/libogg0/_metadata/provides new file mode 100644 index 000000000..506ceaa1e --- /dev/null +++ b/data/libogg0/_metadata/provides @@ -0,0 +1 @@ +ogg diff --git a/data/libogg0/_metadata/replaces b/data/libogg0/_metadata/replaces new file mode 100644 index 000000000..506ceaa1e --- /dev/null +++ b/data/libogg0/_metadata/replaces @@ -0,0 +1 @@ +ogg diff --git a/data/libogg0/_metadata/role b/data/libogg0/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libogg0/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libogg0/_metadata/section b/data/libogg0/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libogg0/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libogg0/_metadata/tags b/data/libogg0/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libogg0/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libogg0/_metadata/version b/data/libogg0/_metadata/version new file mode 120000 index 000000000..508fca7e9 --- /dev/null +++ b/data/libogg0/_metadata/version @@ -0,0 +1 @@ +../../_libogg/_metadata/version \ No newline at end of file diff --git a/data/libogg0/make.sh b/data/libogg0/make.sh new file mode 100644 index 000000000..10a1fb920 --- /dev/null +++ b/data/libogg0/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libogg)"/usr/lib/lib*.*.dylib "${PKG_DEST}"/usr/lib diff --git a/data/libopus/_metadata/description b/data/libopus/_metadata/description deleted file mode 100644 index 6b7609806..000000000 --- a/data/libopus/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -Audio codec diff --git a/data/libopus/_metadata/in.1443.00 b/data/libopus/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/libopus/_metadata/license b/data/libopus/_metadata/license deleted file mode 100644 index 720342c26..000000000 --- a/data/libopus/_metadata/license +++ /dev/null @@ -1,30 +0,0 @@ -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following -disclaimer in the documentation and/or other materials provided -with the distribution. - -- Neither the name of Internet Society, IETF or IETF Trust, nor -the names of specific contributors, may be used to endorse or -promote products derived from this software without specific prior -written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF -THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. diff --git a/data/libopus/_metadata/maintainer b/data/libopus/_metadata/maintainer deleted file mode 120000 index 0c538aadb..000000000 --- a/data/libopus/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/mac \ No newline at end of file diff --git a/data/libopus/_metadata/priority b/data/libopus/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/libopus/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/libopus/_metadata/role b/data/libopus/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/libopus/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/libopus/_metadata/section b/data/libopus/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/libopus/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/libopus/_metadata/tags b/data/libopus/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/libopus/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/libopus/_metadata/version b/data/libopus/_metadata/version deleted file mode 100644 index 7e32cd569..000000000 --- a/data/libopus/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -1.3 diff --git a/data/libopus/make.sh b/data/libopus/make.sh deleted file mode 100644 index e1d3798f9..000000000 --- a/data/libopus/make.sh +++ /dev/null @@ -1,4 +0,0 @@ -pkg:setup -pkg:configure --disable-doc -pkg:make -pkg:install diff --git a/data/libopus/opus-1.3.tar.gz b/data/libopus/opus-1.3.tar.gz deleted file mode 100644 index b2d28cd2f..000000000 Binary files a/data/libopus/opus-1.3.tar.gz and /dev/null differ diff --git a/data/libtheora/_metadata/description b/data/libtheora/_metadata/description deleted file mode 100644 index 6eae3e880..000000000 --- a/data/libtheora/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -Open video compression format diff --git a/data/libtheora/_metadata/in.1443.00 b/data/libtheora/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/libtheora/_metadata/libogg.dep b/data/libtheora/_metadata/libogg.dep deleted file mode 120000 index c88b8bd5c..000000000 --- a/data/libtheora/_metadata/libogg.dep +++ /dev/null @@ -1 +0,0 @@ -../../libogg \ No newline at end of file diff --git a/data/libtheora/_metadata/libvorbis.dep b/data/libtheora/_metadata/libvorbis.dep deleted file mode 120000 index 2196d93e3..000000000 --- a/data/libtheora/_metadata/libvorbis.dep +++ /dev/null @@ -1 +0,0 @@ -../../libvorbis \ No newline at end of file diff --git a/data/libtheora/_metadata/license b/data/libtheora/_metadata/license deleted file mode 100644 index c8ccce4ff..000000000 --- a/data/libtheora/_metadata/license +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (C) 2002-2009 Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/libtheora/_metadata/maintainer b/data/libtheora/_metadata/maintainer deleted file mode 120000 index 0c538aadb..000000000 --- a/data/libtheora/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/mac \ No newline at end of file diff --git a/data/libtheora/_metadata/priority b/data/libtheora/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/libtheora/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/libtheora/_metadata/role b/data/libtheora/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/libtheora/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/libtheora/_metadata/section b/data/libtheora/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/libtheora/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/libtheora/_metadata/tags b/data/libtheora/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/libtheora/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/libtheora/_metadata/version b/data/libtheora/_metadata/version deleted file mode 100644 index 524cb5524..000000000 --- a/data/libtheora/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -1.1.1 diff --git a/data/libtheora/info.diff b/data/libtheora/info.diff deleted file mode 100644 index 7027a7c60..000000000 --- a/data/libtheora/info.diff +++ /dev/null @@ -1,31 +0,0 @@ -diff -ru libtheora-1.1.1/lib/Makefile.am libtheora-1.1.1+iPhone/lib/Makefile.am ---- libtheora-1.1.1/lib/Makefile.am 2009-09-25 05:20:06.000000000 -1000 -+++ libtheora-1.1.1+iPhone/lib/Makefile.am 2019-04-03 15:32:30.000000000 -1000 -@@ -79,6 +79,7 @@ - apiwrapper.c \ - fragment.c \ - idct.c \ -+ info.c \ - internal.c \ - state.c \ - quant.c \ -diff -ru libtheora-1.1.1/lib/Makefile.in libtheora-1.1.1+iPhone/lib/Makefile.in ---- libtheora-1.1.1/lib/Makefile.in 2009-10-01 08:04:07.000000000 -1000 -+++ libtheora-1.1.1+iPhone/lib/Makefile.in 2019-04-03 15:44:55.000000000 -1000 -@@ -207,6 +207,7 @@ - @THEORA_DISABLE_ENCODE_FALSE@ apiwrapper.c \ - @THEORA_DISABLE_ENCODE_FALSE@ fragment.c \ - @THEORA_DISABLE_ENCODE_FALSE@ idct.c \ -+@THEORA_DISABLE_ENCODE_FALSE@ info.c \ - @THEORA_DISABLE_ENCODE_FALSE@ internal.c \ - @THEORA_DISABLE_ENCODE_FALSE@ state.c \ - @THEORA_DISABLE_ENCODE_FALSE@ quant.c \ -@@ -369,7 +370,7 @@ - @CPU_x86_64_TRUE@@THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_9) - @THEORA_DISABLE_ENCODE_TRUE@am__objects_11 = $(am__objects_7) - @THEORA_DISABLE_ENCODE_FALSE@am__objects_11 = apiwrapper.lo fragment.lo \ --@THEORA_DISABLE_ENCODE_FALSE@ idct.lo internal.lo state.lo \ -+@THEORA_DISABLE_ENCODE_FALSE@ idct.lo info.lo internal.lo state.lo \ - @THEORA_DISABLE_ENCODE_FALSE@ quant.lo $(am__objects_10) \ - @THEORA_DISABLE_ENCODE_FALSE@ $(am__objects_7) - am_libtheoraenc_la_OBJECTS = $(am__objects_11) diff --git a/data/libtheora/libtheora-1.1.1.tar.bz2 b/data/libtheora/libtheora-1.1.1.tar.bz2 deleted file mode 100644 index 010e2a4ec..000000000 Binary files a/data/libtheora/libtheora-1.1.1.tar.bz2 and /dev/null differ diff --git a/data/libtheora/make.sh b/data/libtheora/make.sh deleted file mode 100644 index c103eecaa..000000000 --- a/data/libtheora/make.sh +++ /dev/null @@ -1,4 +0,0 @@ -pkg:setup -cp -f ${PKG_BASE}/config.sub . -pkg:configure --disable-oggtest --disable-vorbistest --disable-examples -pkg:install diff --git a/data/libvorbis-dev/_metadata/conflicts b/data/libvorbis-dev/_metadata/conflicts new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbis-dev/_metadata/conflicts @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbis-dev/_metadata/description b/data/libvorbis-dev/_metadata/description new file mode 100644 index 000000000..f615ce043 --- /dev/null +++ b/data/libvorbis-dev/_metadata/description @@ -0,0 +1 @@ +decoder library for Vorbis General Audio Compression Codec diff --git a/data/libvorbis-dev/_metadata/in.1443.00 b/data/libvorbis-dev/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libvorbis-dev/_metadata/libogg0.dep b/data/libvorbis-dev/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/libvorbis-dev/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbis0.dep b/data/libvorbis-dev/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbis0.ver.iphoneos-arm b/data/libvorbis-dev/_metadata/libvorbis0.ver.iphoneos-arm new file mode 120000 index 000000000..ef0c53714 --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbis0.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libvorbis0/_metadata/version \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbisenc2.dep b/data/libvorbis-dev/_metadata/libvorbisenc2.dep new file mode 120000 index 000000000..b0e1f63f6 --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbisenc2.dep @@ -0,0 +1 @@ +../../libvorbisenc2 \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbisenc2.ver.iphoneos-arm b/data/libvorbis-dev/_metadata/libvorbisenc2.ver.iphoneos-arm new file mode 120000 index 000000000..29d0be352 --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbisenc2.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libvorbisenc2/_metadata/version \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbisfile3.dep b/data/libvorbis-dev/_metadata/libvorbisfile3.dep new file mode 120000 index 000000000..98667d05f --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbisfile3.dep @@ -0,0 +1 @@ +../../libvorbisfile3 \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/libvorbisfile3.ver.iphoneos-arm b/data/libvorbis-dev/_metadata/libvorbisfile3.ver.iphoneos-arm new file mode 120000 index 000000000..3b1520dd0 --- /dev/null +++ b/data/libvorbis-dev/_metadata/libvorbisfile3.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libvorbisfile3/_metadata/version \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/license b/data/libvorbis-dev/_metadata/license new file mode 120000 index 000000000..ee3d360dd --- /dev/null +++ b/data/libvorbis-dev/_metadata/license @@ -0,0 +1 @@ +../../_libvorbis/_metadata/license \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/maintainer b/data/libvorbis-dev/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libvorbis-dev/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libvorbis-dev/_metadata/priority b/data/libvorbis-dev/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libvorbis-dev/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libvorbis-dev/_metadata/provides b/data/libvorbis-dev/_metadata/provides new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbis-dev/_metadata/provides @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbis-dev/_metadata/replaces b/data/libvorbis-dev/_metadata/replaces new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbis-dev/_metadata/replaces @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbis-dev/_metadata/role b/data/libvorbis-dev/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libvorbis-dev/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libvorbis-dev/_metadata/section b/data/libvorbis-dev/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libvorbis-dev/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libvorbis-dev/_metadata/tags b/data/libvorbis-dev/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libvorbis-dev/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libvorbis-dev/_metadata/version b/data/libvorbis-dev/_metadata/version new file mode 120000 index 000000000..81be3f6f6 --- /dev/null +++ b/data/libvorbis-dev/_metadata/version @@ -0,0 +1 @@ +../../_libvorbis/_metadata/version \ No newline at end of file diff --git a/data/libvorbis-dev/make.sh b/data/libvorbis-dev/make.sh new file mode 100644 index 000000000..3dd594709 --- /dev/null +++ b/data/libvorbis-dev/make.sh @@ -0,0 +1,4 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libvorbis)"/usr/{include,share} "${PKG_DEST}"/usr/ +cp -a "$(PKG_DEST_ _libvorbis)"/usr/lib/{lib*.dylib,pkgconfig} "${PKG_DEST}"/usr/lib +rm "${PKG_DEST}"/usr/lib/lib*.*.dylib diff --git a/data/libvorbis/_metadata/conflicts b/data/libvorbis/_metadata/conflicts deleted file mode 100644 index fcc8705fd..000000000 --- a/data/libvorbis/_metadata/conflicts +++ /dev/null @@ -1 +0,0 @@ -vorbis diff --git a/data/libvorbis/_metadata/description b/data/libvorbis/_metadata/description deleted file mode 100644 index eb5bdee7c..000000000 --- a/data/libvorbis/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -open audio compression format diff --git a/data/libvorbis/_metadata/in.1443.00 b/data/libvorbis/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/libvorbis/_metadata/libogg.dep b/data/libvorbis/_metadata/libogg.dep deleted file mode 120000 index c88b8bd5c..000000000 --- a/data/libvorbis/_metadata/libogg.dep +++ /dev/null @@ -1 +0,0 @@ -../../libogg \ No newline at end of file diff --git a/data/libvorbis/_metadata/license b/data/libvorbis/_metadata/license deleted file mode 100644 index 7cf076b68..000000000 --- a/data/libvorbis/_metadata/license +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2002-2004 Xiph.org Foundation - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -- Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - -- Neither the name of the Xiph.org Foundation nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/libvorbis/_metadata/maintainer b/data/libvorbis/_metadata/maintainer deleted file mode 120000 index 573d7ebef..000000000 --- a/data/libvorbis/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/sbingner \ No newline at end of file diff --git a/data/libvorbis/_metadata/priority b/data/libvorbis/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/libvorbis/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/libvorbis/_metadata/provides b/data/libvorbis/_metadata/provides deleted file mode 100644 index fcc8705fd..000000000 --- a/data/libvorbis/_metadata/provides +++ /dev/null @@ -1 +0,0 @@ -vorbis diff --git a/data/libvorbis/_metadata/replaces b/data/libvorbis/_metadata/replaces deleted file mode 100644 index fcc8705fd..000000000 --- a/data/libvorbis/_metadata/replaces +++ /dev/null @@ -1 +0,0 @@ -vorbis diff --git a/data/libvorbis/_metadata/role b/data/libvorbis/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/libvorbis/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/libvorbis/_metadata/section b/data/libvorbis/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/libvorbis/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/libvorbis/_metadata/tags b/data/libvorbis/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/libvorbis/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/libvorbis/_metadata/version b/data/libvorbis/_metadata/version deleted file mode 100644 index 95b25aee2..000000000 --- a/data/libvorbis/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -1.3.6 diff --git a/data/libvorbis/make.sh b/data/libvorbis/make.sh deleted file mode 100644 index 66a4b2105..000000000 --- a/data/libvorbis/make.sh +++ /dev/null @@ -1,5 +0,0 @@ -pkg:setup -./autogen.sh -pkg:configure -make -pkg:install diff --git a/data/libvorbis/v1.3.6.tar.gz b/data/libvorbis/v1.3.6.tar.gz deleted file mode 100644 index 2a2a63000..000000000 Binary files a/data/libvorbis/v1.3.6.tar.gz and /dev/null differ diff --git a/data/libvorbis0/_metadata/_libvorbis.dep b/data/libvorbis0/_metadata/_libvorbis.dep new file mode 120000 index 000000000..12c168933 --- /dev/null +++ b/data/libvorbis0/_metadata/_libvorbis.dep @@ -0,0 +1 @@ +../../_libvorbis \ No newline at end of file diff --git a/data/libvorbis0/_metadata/conflicts b/data/libvorbis0/_metadata/conflicts new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbis0/_metadata/conflicts @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbis0/_metadata/description b/data/libvorbis0/_metadata/description new file mode 100644 index 000000000..f615ce043 --- /dev/null +++ b/data/libvorbis0/_metadata/description @@ -0,0 +1 @@ +decoder library for Vorbis General Audio Compression Codec diff --git a/data/libvorbis0/_metadata/in.1443.00 b/data/libvorbis0/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libvorbis0/_metadata/libogg0.dep b/data/libvorbis0/_metadata/libogg0.dep new file mode 120000 index 000000000..d6039533a --- /dev/null +++ b/data/libvorbis0/_metadata/libogg0.dep @@ -0,0 +1 @@ +../../libogg0 \ No newline at end of file diff --git a/data/libvorbis0/_metadata/license b/data/libvorbis0/_metadata/license new file mode 120000 index 000000000..ee3d360dd --- /dev/null +++ b/data/libvorbis0/_metadata/license @@ -0,0 +1 @@ +../../_libvorbis/_metadata/license \ No newline at end of file diff --git a/data/libvorbis0/_metadata/maintainer b/data/libvorbis0/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libvorbis0/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libvorbis0/_metadata/priority b/data/libvorbis0/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libvorbis0/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libvorbis0/_metadata/role b/data/libvorbis0/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libvorbis0/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libvorbis0/_metadata/section b/data/libvorbis0/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libvorbis0/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libvorbis0/_metadata/tags b/data/libvorbis0/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libvorbis0/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libvorbis0/_metadata/version b/data/libvorbis0/_metadata/version new file mode 120000 index 000000000..81be3f6f6 --- /dev/null +++ b/data/libvorbis0/_metadata/version @@ -0,0 +1 @@ +../../_libvorbis/_metadata/version \ No newline at end of file diff --git a/data/libvorbis0/make.sh b/data/libvorbis0/make.sh new file mode 100644 index 000000000..1498a725a --- /dev/null +++ b/data/libvorbis0/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libvorbis)"/usr/lib/libvorbis.*.dylib "${PKG_DEST}/usr/lib" diff --git a/data/libvorbisenc2/_metadata/conflicts b/data/libvorbisenc2/_metadata/conflicts new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbisenc2/_metadata/conflicts @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbisenc2/_metadata/description b/data/libvorbisenc2/_metadata/description new file mode 100644 index 000000000..f615ce043 --- /dev/null +++ b/data/libvorbisenc2/_metadata/description @@ -0,0 +1 @@ +decoder library for Vorbis General Audio Compression Codec diff --git a/data/libvorbisenc2/_metadata/in.1443.00 b/data/libvorbisenc2/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libvorbisenc2/_metadata/libvorbis0.dep b/data/libvorbisenc2/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/libvorbisenc2/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/libvorbisenc2/_metadata/license b/data/libvorbisenc2/_metadata/license new file mode 120000 index 000000000..ee3d360dd --- /dev/null +++ b/data/libvorbisenc2/_metadata/license @@ -0,0 +1 @@ +../../_libvorbis/_metadata/license \ No newline at end of file diff --git a/data/libvorbisenc2/_metadata/maintainer b/data/libvorbisenc2/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libvorbisenc2/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libvorbisenc2/_metadata/priority b/data/libvorbisenc2/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libvorbisenc2/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libvorbisenc2/_metadata/role b/data/libvorbisenc2/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libvorbisenc2/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libvorbisenc2/_metadata/section b/data/libvorbisenc2/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libvorbisenc2/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libvorbisenc2/_metadata/tags b/data/libvorbisenc2/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libvorbisenc2/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libvorbisenc2/_metadata/version b/data/libvorbisenc2/_metadata/version new file mode 120000 index 000000000..81be3f6f6 --- /dev/null +++ b/data/libvorbisenc2/_metadata/version @@ -0,0 +1 @@ +../../_libvorbis/_metadata/version \ No newline at end of file diff --git a/data/libvorbisenc2/make.sh b/data/libvorbisenc2/make.sh new file mode 100644 index 000000000..8e555d0d0 --- /dev/null +++ b/data/libvorbisenc2/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libvorbis)"/usr/lib/libvorbisenc.*.dylib "${PKG_DEST}/usr/lib" diff --git a/data/libvorbisfile3/_metadata/conflicts b/data/libvorbisfile3/_metadata/conflicts new file mode 100644 index 000000000..fcc8705fd --- /dev/null +++ b/data/libvorbisfile3/_metadata/conflicts @@ -0,0 +1 @@ +vorbis diff --git a/data/libvorbisfile3/_metadata/description b/data/libvorbisfile3/_metadata/description new file mode 100644 index 000000000..f615ce043 --- /dev/null +++ b/data/libvorbisfile3/_metadata/description @@ -0,0 +1 @@ +decoder library for Vorbis General Audio Compression Codec diff --git a/data/libvorbisfile3/_metadata/in.1443.00 b/data/libvorbisfile3/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libvorbisfile3/_metadata/libvorbis0.dep b/data/libvorbisfile3/_metadata/libvorbis0.dep new file mode 120000 index 000000000..f85279696 --- /dev/null +++ b/data/libvorbisfile3/_metadata/libvorbis0.dep @@ -0,0 +1 @@ +../../libvorbis0 \ No newline at end of file diff --git a/data/libvorbisfile3/_metadata/license b/data/libvorbisfile3/_metadata/license new file mode 120000 index 000000000..ee3d360dd --- /dev/null +++ b/data/libvorbisfile3/_metadata/license @@ -0,0 +1 @@ +../../_libvorbis/_metadata/license \ No newline at end of file diff --git a/data/libvorbisfile3/_metadata/maintainer b/data/libvorbisfile3/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libvorbisfile3/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/libvorbisfile3/_metadata/priority b/data/libvorbisfile3/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libvorbisfile3/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libvorbisfile3/_metadata/role b/data/libvorbisfile3/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libvorbisfile3/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libvorbisfile3/_metadata/section b/data/libvorbisfile3/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libvorbisfile3/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libvorbisfile3/_metadata/tags b/data/libvorbisfile3/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libvorbisfile3/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libvorbisfile3/_metadata/version b/data/libvorbisfile3/_metadata/version new file mode 120000 index 000000000..81be3f6f6 --- /dev/null +++ b/data/libvorbisfile3/_metadata/version @@ -0,0 +1 @@ +../../_libvorbis/_metadata/version \ No newline at end of file diff --git a/data/libvorbisfile3/make.sh b/data/libvorbisfile3/make.sh new file mode 100644 index 000000000..3531049ff --- /dev/null +++ b/data/libvorbisfile3/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libvorbis)"/usr/lib/libvorbisfile.*.dylib "${PKG_DEST}/usr/lib" diff --git a/data/libvpx-dev/_metadata/description b/data/libvpx-dev/_metadata/description new file mode 100644 index 000000000..80cb0ebba --- /dev/null +++ b/data/libvpx-dev/_metadata/description @@ -0,0 +1 @@ +VP8/VP9 video codec (development) diff --git a/data/libvpx-dev/_metadata/in.1443.00 b/data/libvpx-dev/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libvpx-dev/_metadata/libvpx6.dep b/data/libvpx-dev/_metadata/libvpx6.dep new file mode 120000 index 000000000..2f5ef034d --- /dev/null +++ b/data/libvpx-dev/_metadata/libvpx6.dep @@ -0,0 +1 @@ +../../libvpx6 \ No newline at end of file diff --git a/data/libvpx-dev/_metadata/license b/data/libvpx-dev/_metadata/license new file mode 120000 index 000000000..b44dc6867 --- /dev/null +++ b/data/libvpx-dev/_metadata/license @@ -0,0 +1 @@ +../../_libvpx/_metadata/license \ No newline at end of file diff --git a/data/libvpx-dev/_metadata/maintainer b/data/libvpx-dev/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/libvpx-dev/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/libvpx-dev/_metadata/priority b/data/libvpx-dev/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libvpx-dev/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libvpx-dev/_metadata/role b/data/libvpx-dev/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libvpx-dev/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libvpx-dev/_metadata/section b/data/libvpx-dev/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libvpx-dev/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libvpx-dev/_metadata/tags b/data/libvpx-dev/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libvpx-dev/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libvpx-dev/_metadata/version b/data/libvpx-dev/_metadata/version new file mode 120000 index 000000000..36d467d74 --- /dev/null +++ b/data/libvpx-dev/_metadata/version @@ -0,0 +1 @@ +../../_libvpx/_metadata/version \ No newline at end of file diff --git a/data/libvpx-dev/make.sh b/data/libvpx-dev/make.sh new file mode 100644 index 000000000..c7744b25e --- /dev/null +++ b/data/libvpx-dev/make.sh @@ -0,0 +1,3 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _libvpx)"/usr/lib/{libvpx.dylib,pkgconfig} "${PKG_DEST}"/usr/lib +cp -a "$(PKG_DEST_ _libvpx)"/usr/include "${PKG_DEST}"/usr diff --git a/data/libvpx/_metadata/description b/data/libvpx/_metadata/description deleted file mode 100644 index 6bf7e93de..000000000 --- a/data/libvpx/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -VP8/VP9 video codec diff --git a/data/libvpx/_metadata/in.1443.00 b/data/libvpx/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/libvpx/_metadata/license b/data/libvpx/_metadata/license deleted file mode 100644 index 1ce44343c..000000000 --- a/data/libvpx/_metadata/license +++ /dev/null @@ -1,31 +0,0 @@ -Copyright (c) 2010, The WebM Project authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - - * Neither the name of Google, nor the WebM Project, nor the names - of its contributors may be used to endorse or promote products - derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/data/libvpx/_metadata/maintainer b/data/libvpx/_metadata/maintainer deleted file mode 120000 index 0c538aadb..000000000 --- a/data/libvpx/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/mac \ No newline at end of file diff --git a/data/libvpx/_metadata/priority b/data/libvpx/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/libvpx/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/libvpx/_metadata/role b/data/libvpx/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/libvpx/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/libvpx/_metadata/section b/data/libvpx/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/libvpx/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/libvpx/_metadata/tags b/data/libvpx/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/libvpx/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/libvpx/_metadata/version b/data/libvpx/_metadata/version deleted file mode 100644 index 27f9cd322..000000000 --- a/data/libvpx/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -1.8.0 diff --git a/data/libvpx/install_name.diff b/data/libvpx/install_name.diff deleted file mode 100644 index fa81908d3..000000000 --- a/data/libvpx/install_name.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- libvpx-1.8.0/build/make/Makefile 2019-02-04 17:02:33.000000000 +0000 -+++ libvpx-1.8.0+iPhone/build/make/Makefile 2019-04-04 03:30:14.808604563 +0000 -@@ -314,7 +314,7 @@ - # for creating them. - $(1): - $(if $(quiet),@echo " [LD] $$@") -- $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) \ -+ $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) -install_name $(PREFIX)/lib/$$@ \ - -exported_symbols_list $$(EXPORTS_FILE) \ - -Wl,-headerpad_max_install_names,-compatibility_version,1.0,-current_version,$$(VERSION_MAJOR) \ - -o $$@ \ diff --git a/data/libvpx/libvpx-1.8.0.tar.gz b/data/libvpx/libvpx-1.8.0.tar.gz deleted file mode 100644 index 8dc457e83..000000000 Binary files a/data/libvpx/libvpx-1.8.0.tar.gz and /dev/null differ diff --git a/data/libvpx/make.sh b/data/libvpx/make.sh deleted file mode 100644 index b05758c7b..000000000 --- a/data/libvpx/make.sh +++ /dev/null @@ -1,14 +0,0 @@ -pkg:setup -CROSS="${PKG_TARG}-" ./configure --target="${PKG_TARG}-gcc" --prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix") --disable-static --enable-shared --enable-examples \ - --enable-pic \ - --enable-shared \ - --disable-install-bins \ - --disable-install-srcs \ - --size-limit=16384x16384 \ - --enable-postproc \ - --enable-multi-res-encoding \ - --enable-temporal-denoising \ - --enable-vp9-temporal-denoising \ - --enable-vp9-postproc -pkg:make V=1 -pkg:install diff --git a/data/libvpx/toolchain.diff b/data/libvpx/toolchain.diff deleted file mode 100644 index 5c25ba44d..000000000 --- a/data/libvpx/toolchain.diff +++ /dev/null @@ -1,158 +0,0 @@ -diff -ur libvpx-1.8.0/build/make/Makefile libvpx-1.8.0+iPhone/build/make/Makefile ---- libvpx-1.8.0/build/make/Makefile 2019-02-04 07:02:33.000000000 -1000 -+++ libvpx-1.8.0+iPhone/build/make/Makefile 2019-04-03 14:16:22.000000000 -1000 -@@ -70,9 +70,15 @@ - ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/ - DIST_DIR?=dist - HOSTCC?=gcc -+ifeq ($(words $(subst -, ,$(TOOLCHAIN))),4) -+TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) -+TGT_OS:=$(word 3, $(subst -, ,$(TOOLCHAIN))) -+TGT_CC:=$(word 4, $(subst -, ,$(TOOLCHAIN))) -+else - TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) - TGT_OS:=$(word 2, $(subst -, ,$(TOOLCHAIN))) - TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN))) -+endif - quiet:=$(if $(or $(verbose), $(V)),, yes) - qexec=$(if $(quiet),@) - -diff -ur libvpx-1.8.0/build/make/configure.sh libvpx-1.8.0+iPhone/build/make/configure.sh ---- libvpx-1.8.0/build/make/configure.sh 2019-02-04 07:02:33.000000000 -1000 -+++ libvpx-1.8.0+iPhone/build/make/configure.sh 2019-04-03 14:17:28.000000000 -1000 -@@ -771,35 +771,27 @@ - # detect tgt_os - case "$gcctarget" in - *darwin10*) -- tgt_isa=x86_64 - tgt_os=darwin10 - ;; - *darwin11*) -- tgt_isa=x86_64 - tgt_os=darwin11 - ;; - *darwin12*) -- tgt_isa=x86_64 - tgt_os=darwin12 - ;; - *darwin13*) -- tgt_isa=x86_64 - tgt_os=darwin13 - ;; - *darwin14*) -- tgt_isa=x86_64 - tgt_os=darwin14 - ;; - *darwin15*) -- tgt_isa=x86_64 - tgt_os=darwin15 - ;; - *darwin16*) -- tgt_isa=x86_64 - tgt_os=darwin16 - ;; - *darwin17*) -- tgt_isa=x86_64 - tgt_os=darwin17 - ;; - x86_64*mingw32*) -@@ -838,9 +830,16 @@ - # - # Set up toolchain variables - # -- tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') -- tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') -- tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') -+ if [ "$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print NF}')" = "4" ]; then -+ tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') -+ tgt_flavor=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') -+ tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') -+ tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $4}') -+ else -+ tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}') -+ tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}') -+ tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}') -+ fi - - # Mark the specific ISA requested as enabled - soft_enable ${tgt_isa} -@@ -876,12 +875,14 @@ - # Handle darwin variants. Newer SDKs allow targeting older - # platforms, so use the newest one available. - case ${toolchain} in -- arm*-darwin*) -- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" -- iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)" -- if [ -d "${iphoneos_sdk_dir}" ]; then -- add_cflags "-isysroot ${iphoneos_sdk_dir}" -- add_ldflags "-isysroot ${iphoneos_sdk_dir}" -+ arm*-darwin*|aarch64*-darwin*) -+ if [ -z "${CROSS}" ]; then -+ add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" -+ iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)" -+ if [ -d "${iphoneos_sdk_dir}" ]; then -+ add_cflags "-isysroot ${iphoneos_sdk_dir}" -+ add_ldflags "-isysroot ${iphoneos_sdk_dir}" -+ fi - fi - ;; - x86*-darwin*) -@@ -894,6 +895,8 @@ - esac - - case ${toolchain} in -+ aarch64-*-darwin*|arm-*-darwin*) -+ ;; - *-darwin8-*) - add_cflags "-mmacosx-version-min=10.4" - add_ldflags "-mmacosx-version-min=10.4" -@@ -1153,16 +1156,17 @@ - ;; - - darwin*) -- XCRUN_FIND="xcrun --sdk iphoneos --find" -- CXX="$(${XCRUN_FIND} clang++)" -- CC="$(${XCRUN_FIND} clang)" -- AR="$(${XCRUN_FIND} ar)" -- AS="$(${XCRUN_FIND} as)" -- STRIP="$(${XCRUN_FIND} strip)" -- NM="$(${XCRUN_FIND} nm)" -- RANLIB="$(${XCRUN_FIND} ranlib)" -+ if [ -z "${CROSS}" ]; then -+ XCRUN_FIND="xcrun --sdk iphoneos --find }" -+ CXX="${CXX:-$(${XCRUN_FIND}clang++)}" -+ CC="${CC:-$(${XCRUN_FIND}clang)}" -+ AR="${AR:-$(${XCRUN_FIND}ar)}" -+ AS="${AS:-$(${XCRUN_FIND}as)}" -+ STRIP="${STRIP:-$(${XCRUN_FIND}strip)}" -+ NM="${NM:-$(${XCRUN_FIND}nm)}" -+ RANLIB="${RANLIB:-$(${XCRUN_FIND}ranlib)}" - AS_SFX=.S -- LD="${CXX:-$(${XCRUN_FIND} ld)}" -+ LD="${CXX:-$(${XCRUN_FIND}ld)}" - - # ASFLAGS is written here instead of using check_add_asflags - # because we need to overwrite all of ASFLAGS and purge the -@@ -1208,6 +1212,7 @@ - check_add_asflags -fembed-bitcode - check_add_ldflags -fembed-bitcode - fi -+ fi - ;; - - linux*) -diff -ur libvpx-1.8.0/configure libvpx-1.8.0+iPhone/configure ---- libvpx-1.8.0/configure 2019-02-04 07:02:33.000000000 -1000 -+++ libvpx-1.8.0+iPhone/configure 2019-04-03 14:16:22.000000000 -1000 -@@ -100,9 +100,11 @@ - # alphabetically by architecture, generic-gnu last. - all_platforms="${all_platforms} arm64-android-gcc" - all_platforms="${all_platforms} arm64-darwin-gcc" -+all_platforms="${all_platforms} aarch64-apple-darwin17-gcc" - all_platforms="${all_platforms} arm64-linux-gcc" - all_platforms="${all_platforms} arm64-win64-gcc" - all_platforms="${all_platforms} arm64-win64-vs15" -+all_platforms="${all_platforms} arm-apple-darwin11-gcc" - all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8 - all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8 - all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8 diff --git a/data/libvpx/vp9symbols.diff b/data/libvpx/vp9symbols.diff deleted file mode 100644 index 49c1471d3..000000000 --- a/data/libvpx/vp9symbols.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur libvpx-1.8.0/libs.mk libvpx-1.8.0+iPhone/libs.mk ---- libvpx-1.8.0/libs.mk 2019-02-04 07:02:33.000000000 -1000 -+++ libvpx-1.8.0+iPhone/libs.mk 2019-04-03 14:50:11.000000000 -1000 -@@ -145,7 +145,6 @@ - endif - CODEC_EXPORTS-yes += vpx/exports_com - CODEC_EXPORTS-$(CONFIG_ENCODERS) += vpx/exports_enc --CODEC_EXPORTS-$(CONFIG_VP9_ENCODER) += vpx/exports_spatial_svc - CODEC_EXPORTS-$(CONFIG_DECODERS) += vpx/exports_dec - - INSTALL-LIBS-yes += include/vpx/vpx_codec.h diff --git a/data/libx264-157/_metadata/_x264.dep b/data/libx264-157/_metadata/_x264.dep new file mode 120000 index 000000000..e23af4152 --- /dev/null +++ b/data/libx264-157/_metadata/_x264.dep @@ -0,0 +1 @@ +../../_x264 \ No newline at end of file diff --git a/data/libx264-157/_metadata/description b/data/libx264-157/_metadata/description new file mode 100644 index 000000000..234868ef2 --- /dev/null +++ b/data/libx264-157/_metadata/description @@ -0,0 +1 @@ +x264/AVC video coding library diff --git a/data/libx264-157/_metadata/in.1443.00 b/data/libx264-157/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libx264-157/_metadata/maintainer b/data/libx264-157/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/libx264-157/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/libx264-157/_metadata/priority b/data/libx264-157/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libx264-157/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libx264-157/_metadata/role b/data/libx264-157/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libx264-157/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libx264-157/_metadata/section b/data/libx264-157/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libx264-157/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libx264-157/_metadata/tags b/data/libx264-157/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libx264-157/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libx264-157/_metadata/version b/data/libx264-157/_metadata/version new file mode 120000 index 000000000..e6a3a889d --- /dev/null +++ b/data/libx264-157/_metadata/version @@ -0,0 +1 @@ +../../_x264/_metadata/version \ No newline at end of file diff --git a/data/libx264-157/make.sh b/data/libx264-157/make.sh new file mode 100644 index 000000000..eaccd2495 --- /dev/null +++ b/data/libx264-157/make.sh @@ -0,0 +1,2 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _x264)"/usr/lib/lib*.*.dylib "${PKG_DEST}/usr/lib" diff --git a/data/libx264-dev/_metadata/_x264.dep b/data/libx264-dev/_metadata/_x264.dep new file mode 120000 index 000000000..e23af4152 --- /dev/null +++ b/data/libx264-dev/_metadata/_x264.dep @@ -0,0 +1 @@ +../../_x264 \ No newline at end of file diff --git a/data/libx264-dev/_metadata/description b/data/libx264-dev/_metadata/description new file mode 100644 index 000000000..02cbec812 --- /dev/null +++ b/data/libx264-dev/_metadata/description @@ -0,0 +1 @@ +x264/AVC video coding library (development) diff --git a/data/libx264-dev/_metadata/in.1443.00 b/data/libx264-dev/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libx264-dev/_metadata/libx264-157.dep b/data/libx264-dev/_metadata/libx264-157.dep new file mode 120000 index 000000000..22e08a533 --- /dev/null +++ b/data/libx264-dev/_metadata/libx264-157.dep @@ -0,0 +1 @@ +../../libx264-157 \ No newline at end of file diff --git a/data/libx264-dev/_metadata/libx264-157.ver.iphoneos-arm b/data/libx264-dev/_metadata/libx264-157.ver.iphoneos-arm new file mode 120000 index 000000000..a264216fa --- /dev/null +++ b/data/libx264-dev/_metadata/libx264-157.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libx264-157/_metadata/version \ No newline at end of file diff --git a/data/libx264-dev/_metadata/maintainer b/data/libx264-dev/_metadata/maintainer new file mode 120000 index 000000000..0c538aadb --- /dev/null +++ b/data/libx264-dev/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/mac \ No newline at end of file diff --git a/data/libx264-dev/_metadata/priority b/data/libx264-dev/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libx264-dev/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libx264-dev/_metadata/role b/data/libx264-dev/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/libx264-dev/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/libx264-dev/_metadata/section b/data/libx264-dev/_metadata/section new file mode 100644 index 000000000..593877746 --- /dev/null +++ b/data/libx264-dev/_metadata/section @@ -0,0 +1 @@ +Multimedia diff --git a/data/libx264-dev/_metadata/tags b/data/libx264-dev/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/libx264-dev/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/libx264-dev/_metadata/version b/data/libx264-dev/_metadata/version new file mode 120000 index 000000000..e6a3a889d --- /dev/null +++ b/data/libx264-dev/_metadata/version @@ -0,0 +1 @@ +../../_x264/_metadata/version \ No newline at end of file diff --git a/data/libx264-dev/make.sh b/data/libx264-dev/make.sh new file mode 100644 index 000000000..fbd1353a8 --- /dev/null +++ b/data/libx264-dev/make.sh @@ -0,0 +1,4 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _x264)"/usr/include "${PKG_DEST}"/usr/ +cp -a "$(PKG_DEST_ _x264)"/usr/lib/{lib*.dylib,pkgconfig} "${PKG_DEST}"/usr/lib +rm "${PKG_DEST}"/usr/lib/lib*.*.dylib diff --git a/data/x264/20190402-2245-x264.tar.bz2 b/data/x264/20190402-2245-x264.tar.bz2 deleted file mode 100644 index 3a3d709a1..000000000 Binary files a/data/x264/20190402-2245-x264.tar.bz2 and /dev/null differ diff --git a/data/x264/_metadata/description b/data/x264/_metadata/description index e5be2a6d7..02cbec812 100644 --- a/data/x264/_metadata/description +++ b/data/x264/_metadata/description @@ -1 +1 @@ -H.264/AVC encoder +x264/AVC video coding library (development) diff --git a/data/x264/_metadata/libx264-157.dep b/data/x264/_metadata/libx264-157.dep new file mode 120000 index 000000000..22e08a533 --- /dev/null +++ b/data/x264/_metadata/libx264-157.dep @@ -0,0 +1 @@ +../../libx264-157 \ No newline at end of file diff --git a/data/x264/_metadata/libx264-157.ver.iphoneos-arm b/data/x264/_metadata/libx264-157.ver.iphoneos-arm new file mode 120000 index 000000000..a264216fa --- /dev/null +++ b/data/x264/_metadata/libx264-157.ver.iphoneos-arm @@ -0,0 +1 @@ +../../libx264-157/_metadata/version \ No newline at end of file diff --git a/data/x264/_metadata/name b/data/x264/_metadata/name deleted file mode 100644 index 0af02d53e..000000000 --- a/data/x264/_metadata/name +++ /dev/null @@ -1 +0,0 @@ -x264 diff --git a/data/x264/_metadata/version b/data/x264/_metadata/version deleted file mode 100644 index e5e32af4f..000000000 --- a/data/x264/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -20190402-2245 diff --git a/data/x264/_metadata/version b/data/x264/_metadata/version new file mode 120000 index 000000000..e6a3a889d --- /dev/null +++ b/data/x264/_metadata/version @@ -0,0 +1 @@ +../../_x264/_metadata/version \ No newline at end of file diff --git a/data/x264/gas-preprocessor.pl b/data/x264/gas-preprocessor.pl deleted file mode 100755 index 743ce45e7..000000000 --- a/data/x264/gas-preprocessor.pl +++ /dev/null @@ -1,1180 +0,0 @@ -#!/usr/bin/env perl -# by David Conrad -# This code is licensed under GPLv2 or later; go to gnu.org to read it -# (not that it much matters for an asm preprocessor) -# usage: set your assembler to be something like "perl gas-preprocessor.pl gcc" -use strict; - -# Apple's gas is ancient and doesn't support modern preprocessing features like -# .rept and has ugly macro syntax, among other things. Thus, this script -# implements the subset of the gas preprocessor used by x264 and ffmpeg -# that isn't supported by Apple's gas. - -my %canonical_arch = ("aarch64" => "aarch64", "arm64" => "aarch64", - "arm" => "arm", - "powerpc" => "powerpc", "ppc" => "powerpc"); - -my %comments = ("aarch64" => '//', - "arm" => '@', - "ppc" => '#', - "powerpc" => '#'); - -my @gcc_cmd; -my @preprocess_c_cmd; - -my $comm; -my $arch; -my $as_type = "apple-gas"; - -my $fix_unreq = $^O eq "darwin"; -my $force_thumb = 0; - -my $arm_cond_codes = "eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo"; - -my $usage_str = " -$0\n -Gas-preprocessor.pl converts assembler files using modern GNU as syntax for -Apple's ancient gas version or clang's incompatible integrated assembler. The -conversion is regularly tested for FFmpeg, Libav, x264 and vlc. Other projects might -use different features which are not correctly handled. - -Options for this program needs to be separated with ' -- ' from the assembler -command. Following options are currently supported: - - -help - this usage text - -arch - target architecture - -as-type - one value out of {{,apple-}{gas,clang},armasm} - -fix-unreq - -no-fix-unreq - -force-thumb - assemble as thumb regardless of the input source - (note, this is incomplete and only works for sources - it explicitly was tested with) -"; - -sub usage() { - print $usage_str; -} - -while (@ARGV) { - my $opt = shift; - - if ($opt =~ /^-(no-)?fix-unreq$/) { - $fix_unreq = $1 ne "no-"; - } elsif ($opt eq "-force-thumb") { - $force_thumb = 1; - } elsif ($opt eq "-arch") { - $arch = shift; - die "unknown arch: '$arch'\n" if not exists $canonical_arch{$arch}; - } elsif ($opt eq "-as-type") { - $as_type = shift; - die "unknown as type: '$as_type'\n" if $as_type !~ /^((apple-)?(gas|clang|llvm_gcc)|armasm)$/; - } elsif ($opt eq "-help") { - usage(); - exit 0; - } elsif ($opt eq "--" ) { - @gcc_cmd = @ARGV; - } elsif ($opt =~ /^-/) { - die "option '$opt' is not known. See '$0 -help' for usage information\n"; - } else { - push @gcc_cmd, $opt, @ARGV; - } - last if (@gcc_cmd); -} - -if (grep /\.c$/, @gcc_cmd) { - # C file (inline asm?) - compile - @preprocess_c_cmd = (@gcc_cmd, "-S"); -} elsif (grep /\.[sS]$/, @gcc_cmd) { - # asm file, just do C preprocessor - @preprocess_c_cmd = (@gcc_cmd, "-E"); -} elsif (grep /-(v|h|-version|dumpversion)/, @gcc_cmd) { - # pass -v/--version along, used during probing. Matching '-v' might have - # uninteded results but it doesn't matter much if gas-preprocessor or - # the compiler fails. - exec(@gcc_cmd); -} else { - die "Unrecognized input filetype"; -} -if ($as_type eq "armasm") { - - $preprocess_c_cmd[0] = "cpp"; - push(@preprocess_c_cmd, "-undef"); - # Normally a preprocessor for windows would predefine _WIN32, - # but we're using any generic system-agnostic preprocessor "cpp" - # with -undef (to avoid getting predefined variables from the host - # system in cross compilation cases), so manually define it here. - push(@preprocess_c_cmd, "-D_WIN32"); - - @preprocess_c_cmd = grep ! /^-nologo$/, @preprocess_c_cmd; - # Remove -ignore XX parameter pairs from preprocess_c_cmd - my $index = 1; - while ($index < $#preprocess_c_cmd) { - if ($preprocess_c_cmd[$index] eq "-ignore" and $index + 1 < $#preprocess_c_cmd) { - splice(@preprocess_c_cmd, $index, 2); - next; - } - $index++; - } - if (grep /^-MM$/, @preprocess_c_cmd) { - system(@preprocess_c_cmd) == 0 or die "Error running preprocessor"; - exit 0; - } -} - -# if compiling, avoid creating an output file named '-.o' -if ((grep /^-c$/, @gcc_cmd) && !(grep /^-o/, @gcc_cmd)) { - foreach my $i (@gcc_cmd) { - if ($i =~ /\.[csS]$/) { - my $outputfile = $i; - $outputfile =~ s/\.[csS]$/.o/; - push(@gcc_cmd, "-o"); - push(@gcc_cmd, $outputfile); - last; - } - } -} -# replace only the '-o' argument with '-', avoids rewriting the make dependency -# target specified with -MT to '-' -my $index = 1; -while ($index < $#preprocess_c_cmd) { - if ($preprocess_c_cmd[$index] eq "-o") { - $index++; - $preprocess_c_cmd[$index] = "-"; - } - $index++; -} - -my $tempfile; -if ($as_type ne "armasm") { - @gcc_cmd = map { /\.[csS]$/ ? qw(-x assembler -) : $_ } @gcc_cmd; -} else { - @preprocess_c_cmd = grep ! /^-c$/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-m/, @preprocess_c_cmd; - - @preprocess_c_cmd = grep ! /^-G/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-W/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-Z/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-fp/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-EHsc$/, @preprocess_c_cmd; - @preprocess_c_cmd = grep ! /^-O/, @preprocess_c_cmd; - - @gcc_cmd = grep ! /^-G/, @gcc_cmd; - @gcc_cmd = grep ! /^-W/, @gcc_cmd; - @gcc_cmd = grep ! /^-Z/, @gcc_cmd; - @gcc_cmd = grep ! /^-fp/, @gcc_cmd; - @gcc_cmd = grep ! /^-EHsc$/, @gcc_cmd; - @gcc_cmd = grep ! /^-O/, @gcc_cmd; - - my @outfiles = grep /\.(o|obj)$/, @gcc_cmd; - $tempfile = $outfiles[0].".asm"; - - # Remove most parameters from gcc_cmd, which actually is the armasm command, - # which doesn't support any of the common compiler/preprocessor options. - @gcc_cmd = grep ! /^-D/, @gcc_cmd; - @gcc_cmd = grep ! /^-U/, @gcc_cmd; - @gcc_cmd = grep ! /^-m/, @gcc_cmd; - @gcc_cmd = grep ! /^-M/, @gcc_cmd; - @gcc_cmd = grep ! /^-c$/, @gcc_cmd; - @gcc_cmd = grep ! /^-I/, @gcc_cmd; - @gcc_cmd = map { /\.S$/ ? $tempfile : $_ } @gcc_cmd; -} - -# detect architecture from gcc binary name -if (!$arch) { - if ($gcc_cmd[0] =~ /(arm64|aarch64|arm|powerpc|ppc)/) { - $arch = $1; - } else { - # look for -arch flag - foreach my $i (1 .. $#gcc_cmd-1) { - if ($gcc_cmd[$i] eq "-arch" and - $gcc_cmd[$i+1] =~ /(arm64|aarch64|arm|powerpc|ppc)/) { - $arch = $1; - } - } - } -} - -# assume we're not cross-compiling if no -arch or the binary doesn't have the arch name -$arch = qx/arch/ if (!$arch); - -die "Unknown target architecture '$arch'" if not exists $canonical_arch{$arch}; - -$arch = $canonical_arch{$arch}; -$comm = $comments{$arch}; -my $inputcomm = $comm; -$comm = ";" if $as_type =~ /armasm/; - -my %ppc_spr = (ctr => 9, - vrsave => 256); - -open(INPUT, "-|", @preprocess_c_cmd) || die "Error running preprocessor"; - -if ($ENV{GASPP_DEBUG}) { - open(ASMFILE, ">&STDOUT"); -} else { - if ($as_type ne "armasm") { - open(ASMFILE, "|-", @gcc_cmd) or die "Error running assembler"; - } else { - open(ASMFILE, ">", $tempfile); - } -} - -my $current_macro = ''; -my $macro_level = 0; -my $rept_level = 0; -my %macro_lines; -my %macro_args; -my %macro_args_default; -my $macro_count = 0; -my $altmacro = 0; -my $in_irp = 0; - -my $num_repts; -my @rept_lines; - -my @irp_args; -my $irp_param; - -my @ifstack; - -my %symbols; - -my @sections; - -my %literal_labels; # for ldr , = -my $literal_num = 0; -my $literal_expr = ".word"; -$literal_expr = ".quad" if $arch eq "aarch64"; - -my $thumb = 0; - -my %thumb_labels; -my %call_targets; -my %import_symbols; - -my %neon_alias_reg; -my %neon_alias_type; - -my $temp_label_next = 0; -my %last_temp_labels; -my %next_temp_labels; - -my %labels_seen; - -my %aarch64_req_alias; - -if ($force_thumb) { - parse_line(".thumb\n"); -} - -# pass 1: parse .macro -# note that the handling of arguments is probably overly permissive vs. gas -# but it should be the same for valid cases -while () { - # remove lines starting with '#', preprocessing is done, '#' at start of - # the line indicates a comment for all supported archs (aarch64, arm, ppc - # and x86). Also strips line number comments but since they are off anyway - # it is no loss. - s/^\s*#.*$//; - # remove all comments (to avoid interfering with evaluating directives) - s/(? 0) { - $ifstack[-1] = -$ifstack[-1]; - } - return 1; - } elsif ($line =~ /\.else/) { - $ifstack[-1] = !$ifstack[-1]; - return 1; - } elsif (handle_if($line)) { - return 1; - } - } - - # discard lines in false .if blocks - foreach my $i (0 .. $#ifstack) { - if ($ifstack[$i] <= 0) { - return 1; - } - } - } - return 0; -} - -sub parse_line { - my $line = $_[0]; - - return if (parse_if_line($line)); - - if (scalar(@rept_lines) == 0) { - if (/\.macro/) { - $macro_level++; - if ($macro_level > 1 && !$current_macro) { - die "nested macros but we don't have master macro"; - } - } elsif (/\.endm/) { - $macro_level--; - if ($macro_level < 0) { - die "unmatched .endm"; - } elsif ($macro_level == 0) { - $current_macro = ''; - return; - } - } - } - - if ($macro_level == 0) { - if ($line =~ /\.(rept|irp)/) { - $rept_level++; - } elsif ($line =~ /.endr/) { - $rept_level--; - } - } - - if ($macro_level > 1) { - push(@{$macro_lines{$current_macro}}, $line); - } elsif (scalar(@rept_lines) and $rept_level >= 1) { - push(@rept_lines, $line); - } elsif ($macro_level == 0) { - expand_macros($line); - } else { - if ($line =~ /\.macro\s+([\d\w\.]+)\s*,?\s*(.*)/) { - $current_macro = $1; - - # commas in the argument list are optional, so only use whitespace as the separator - my $arglist = $2; - $arglist =~ s/,/ /g; - - my @args = split(/\s+/, $arglist); - foreach my $i (0 .. $#args) { - my @argpair = split(/=/, $args[$i]); - $macro_args{$current_macro}[$i] = $argpair[0]; - $argpair[0] =~ s/:vararg$//; - $macro_args_default{$current_macro}{$argpair[0]} = $argpair[1]; - } - # ensure %macro_lines has the macro name added as a key - $macro_lines{$current_macro} = []; - - } elsif ($current_macro) { - push(@{$macro_lines{$current_macro}}, $line); - } else { - die "macro level without a macro name"; - } - } -} - -sub handle_set { - my $line = $_[0]; - if ($line =~ /\.(?:set|equ)\s+(\S*)\s*,\s*(.*)/) { - $symbols{$1} = eval_expr($2); - return 1; - } - return 0; -} - -sub expand_macros { - my $line = $_[0]; - - # handle .if directives; apple's assembler doesn't support important non-basic ones - # evaluating them is also needed to handle recursive macros - if (handle_if($line)) { - return; - } - - if (/\.purgem\s+([\d\w\.]+)/) { - delete $macro_lines{$1}; - delete $macro_args{$1}; - delete $macro_args_default{$1}; - return; - } - - if ($line =~ /\.altmacro/) { - $altmacro = 1; - return; - } - - if ($line =~ /\.noaltmacro/) { - $altmacro = 0; - return; - } - - $line =~ s/\%([^,]*)/eval_expr($1)/eg if $altmacro; - - # Strip out the .set lines from the armasm output - return if (handle_set($line) and $as_type eq "armasm"); - - if ($line =~ /\.rept\s+(.*)/) { - $num_repts = $1; - @rept_lines = ("\n"); - - # handle the possibility of repeating another directive on the same line - # .endr on the same line is not valid, I don't know if a non-directive is - if ($num_repts =~ s/(\.\w+.*)//) { - push(@rept_lines, "$1\n"); - } - $num_repts = eval_expr($num_repts); - } elsif ($line =~ /\.irp\s+([\d\w\.]+)\s*(.*)/) { - $in_irp = 1; - $num_repts = 1; - @rept_lines = ("\n"); - $irp_param = $1; - - # only use whitespace as the separator - my $irp_arglist = $2; - $irp_arglist =~ s/,/ /g; - $irp_arglist =~ s/^\s+//; - @irp_args = split(/\s+/, $irp_arglist); - } elsif ($line =~ /\.irpc\s+([\d\w\.]+)\s*(.*)/) { - $in_irp = 1; - $num_repts = 1; - @rept_lines = ("\n"); - $irp_param = $1; - - my $irp_arglist = $2; - $irp_arglist =~ s/,/ /g; - $irp_arglist =~ s/^\s+//; - @irp_args = split(//, $irp_arglist); - } elsif ($line =~ /\.endr/) { - my @prev_rept_lines = @rept_lines; - my $prev_in_irp = $in_irp; - my @prev_irp_args = @irp_args; - my $prev_irp_param = $irp_param; - my $prev_num_repts = $num_repts; - @rept_lines = (); - $in_irp = 0; - @irp_args = ''; - - if ($prev_in_irp != 0) { - foreach my $i (@prev_irp_args) { - foreach my $origline (@prev_rept_lines) { - my $line = $origline; - $line =~ s/\\$prev_irp_param/$i/g; - $line =~ s/\\\(\)//g; # remove \() - parse_line($line); - } - } - } else { - for (1 .. $prev_num_repts) { - foreach my $origline (@prev_rept_lines) { - my $line = $origline; - parse_line($line); - } - } - } - } elsif ($line =~ /(\S+:|)\s*([\w\d\.]+)\s*(.*)/ && exists $macro_lines{$2}) { - handle_serialized_line($1); - my $macro = $2; - - # commas are optional here too, but are syntactically important because - # parameters can be blank - my @arglist = split(/,/, $3); - my @args; - my @args_seperator; - - my $comma_sep_required = 0; - foreach (@arglist) { - # allow arithmetic/shift operators in macro arguments - $_ =~ s/\s*(\+|-|\*|\/|<<|>>|<|>)\s*/$1/g; - - my @whitespace_split = split(/\s+/, $_); - if (!@whitespace_split) { - push(@args, ''); - push(@args_seperator, ''); - } else { - foreach (@whitespace_split) { - #print ("arglist = \"$_\"\n"); - if (length($_)) { - push(@args, $_); - my $sep = $comma_sep_required ? "," : " "; - push(@args_seperator, $sep); - #print ("sep = \"$sep\", arg = \"$_\"\n"); - $comma_sep_required = 0; - } - } - } - - $comma_sep_required = 1; - } - - my %replacements; - if ($macro_args_default{$macro}){ - %replacements = %{$macro_args_default{$macro}}; - } - - # construct hashtable of text to replace - foreach my $i (0 .. $#args) { - my $argname = $macro_args{$macro}[$i]; - my @macro_args = @{ $macro_args{$macro} }; - if ($args[$i] =~ m/=/) { - # arg=val references the argument name - # XXX: I'm not sure what the expected behaviour if a lot of - # these are mixed with unnamed args - my @named_arg = split(/=/, $args[$i]); - $replacements{$named_arg[0]} = $named_arg[1]; - } elsif ($i > $#{$macro_args{$macro}}) { - # more args given than the macro has named args - # XXX: is vararg allowed on arguments before the last? - $argname = $macro_args{$macro}[-1]; - if ($argname =~ s/:vararg$//) { - #print "macro = $macro, args[$i] = $args[$i], args_seperator=@args_seperator, argname = $argname, arglist[$i] = $arglist[$i], arglist = @arglist, args=@args, macro_args=@macro_args\n"; - #$replacements{$argname} .= ", $args[$i]"; - $replacements{$argname} .= "$args_seperator[$i] $args[$i]"; - } else { - die "Too many arguments to macro $macro"; - } - } else { - $argname =~ s/:vararg$//; - $replacements{$argname} = $args[$i]; - } - } - - my $count = $macro_count++; - - # apply replacements as regex - foreach (@{$macro_lines{$macro}}) { - my $macro_line = $_; - # do replacements by longest first, this avoids wrong replacement - # when argument names are subsets of each other - foreach (reverse sort {length $a <=> length $b} keys %replacements) { - $macro_line =~ s/\\$_/$replacements{$_}/g; - } - if ($altmacro) { - foreach (reverse sort {length $a <=> length $b} keys %replacements) { - $macro_line =~ s/\b$_\b/$replacements{$_}/g; - } - } - $macro_line =~ s/\\\@/$count/g; - $macro_line =~ s/\\\(\)//g; # remove \() - parse_line($macro_line); - } - } else { - handle_serialized_line($line); - } -} - -sub is_arm_register { - my $name = $_[0]; - if ($name eq "lr" or - $name eq "ip" or - $name =~ /^[rav]\d+$/) { - return 1; - } - return 0; -} - -sub is_aarch64_register { - my $name = $_[0]; - if ($name =~ /^[xw]\d+$/) { - return 1; - } - return 0; -} - -sub handle_local_label { - my $line = $_[0]; - my $num = $_[1]; - my $dir = $_[2]; - my $target = "$num$dir"; - if ($dir eq "b") { - $line =~ s/\b$target\b/$last_temp_labels{$num}/g; - } else { - my $name = "temp_label_$temp_label_next"; - $temp_label_next++; - push(@{$next_temp_labels{$num}}, $name); - $line =~ s/\b$target\b/$name/g; - } - return $line; -} - -sub handle_serialized_line { - my $line = $_[0]; - - # handle .previous (only with regard to .section not .subsection) - if ($line =~ /\.(section|text|const_data)/) { - push(@sections, $line); - } elsif ($line =~ /\.previous/) { - if (!$sections[-2]) { - die ".previous without a previous section"; - } - $line = $sections[-2]; - push(@sections, $line); - } - - $thumb = 1 if $line =~ /\.code\s+16|\.thumb/; - $thumb = 0 if $line =~ /\.code\s+32|\.arm/; - - # handle ldr , = - if ($line =~ /(.*)\s*ldr([\w\s\d]+)\s*,\s*=(.*)/ and $as_type ne "armasm") { - my $label = $literal_labels{$3}; - if (!$label) { - $label = "Literal_$literal_num"; - $literal_num++; - $literal_labels{$3} = $label; - } - $line = "$1 ldr$2, $label\n"; - } elsif ($line =~ /\.ltorg/ and $as_type ne "armasm") { - $line .= ".align 2\n"; - foreach my $literal (keys %literal_labels) { - $line .= "$literal_labels{$literal}:\n $literal_expr $literal\n"; - } - %literal_labels = (); - } - - # handle GNU as pc-relative relocations for adrp/add - if ($line =~ /(.*)\s*adrp([\w\s\d]+)\s*,\s*#?:pg_hi21:([^\s]+)/ and $as_type =~ /^apple-/) { - $line = "$1 adrp$2, ${3}\@PAGE\n"; - } elsif ($line =~ /(.*)\s*add([\w\s\d]+)\s*,([\w\s\d]+)\s*,\s*#?:lo12:([^\s]+)/ and $as_type =~ /^apple-/) { - $line = "$1 add$2, $3, ${4}\@PAGEOFF\n"; - } - - # thumb add with large immediate needs explicit add.w - if ($thumb and $line =~ /add\s+.*#([^@]+)/) { - $line =~ s/add/add.w/ if eval_expr($1) > 255; - } - - # mach-o local symbol names start with L (no dot) - $line =~ s/(? with ic as conditional code - if ($cond =~ /^(|$arm_cond_codes)$/) { - if (exists $thumb_labels{$label}) { - print ASMFILE ".thumb_func $label\n"; - } else { - $call_targets{$label}++; - } - } - } - - # @l -> lo16() @ha -> ha16() - $line =~ s/,\s+([^,]+)\@l\b/, lo16($1)/g; - $line =~ s/,\s+([^,]+)\@ha\b/, ha16($1)/g; - - # move to/from SPR - if ($line =~ /(\s+)(m[ft])([a-z]+)\s+(\w+)/ and exists $ppc_spr{$3}) { - if ($2 eq 'mt') { - $line = "$1${2}spr $ppc_spr{$3}, $4\n"; - } else { - $line = "$1${2}spr $4, $ppc_spr{$3}\n"; - } - } - - if ($line =~ /\.unreq\s+(.*)/) { - if (defined $neon_alias_reg{$1}) { - delete $neon_alias_reg{$1}; - delete $neon_alias_type{$1}; - return; - } elsif (defined $aarch64_req_alias{$1}) { - delete $aarch64_req_alias{$1}; - return; - } - } - # old gas versions store upper and lower case names on .req, - # but they remove only one on .unreq - if ($fix_unreq) { - if ($line =~ /\.unreq\s+(.*)/) { - $line = ".unreq " . lc($1) . "\n"; - $line .= ".unreq " . uc($1) . "\n"; - } - } - - if ($line =~ /(\w+)\s+\.(dn|qn)\s+(\w+)(?:\.(\w+))?(\[\d+\])?/) { - $neon_alias_reg{$1} = "$3$5"; - $neon_alias_type{$1} = $4; - return; - } - if (scalar keys %neon_alias_reg > 0 && $line =~ /^\s+v\w+/) { - # This line seems to possibly have a neon instruction - foreach (keys %neon_alias_reg) { - my $alias = $_; - # Require the register alias to match as an invididual word, not as a substring - # of a larger word-token. - if ($line =~ /\b$alias\b/) { - $line =~ s/\b$alias\b/$neon_alias_reg{$alias}/g; - # Add the type suffix. If multiple aliases match on the same line, - # only do this replacement the first time (a vfoo.bar string won't match v\w+). - $line =~ s/^(\s+)(v\w+)(\s+)/$1$2.$neon_alias_type{$alias}$3/; - } - } - } - - if ($arch eq "aarch64" or $as_type eq "armasm") { - # clang's integrated aarch64 assembler in Xcode 5 does not support .req/.unreq - if ($line =~ /\b(\w+)\s+\.req\s+(\w+)\b/) { - $aarch64_req_alias{$1} = $2; - return; - } - foreach (keys %aarch64_req_alias) { - my $alias = $_; - # recursively resolve aliases - my $resolved = $aarch64_req_alias{$alias}; - while (defined $aarch64_req_alias{$resolved}) { - $resolved = $aarch64_req_alias{$resolved}; - } - $line =~ s/\b$alias\b/$resolved/g; - } - } - if ($arch eq "aarch64") { - # fix missing aarch64 instructions in Xcode 5.1 (beta3) - # mov with vector arguments is not supported, use alias orr instead - if ($line =~ /^(\d+:)?\s*mov\s+(v\d[\.{}\[\]\w]+),\s*(v\d[\.{}\[\]\w]+)\b\s*$/) { - $line = "$1 orr $2, $3, $3\n"; - } - # movi 16, 32 bit shifted variant, shift is optional - if ($line =~ /^(\d+:)?\s*movi\s+(v[0-3]?\d\.(?:2|4|8)[hsHS])\s*,\s*(#\w+)\b\s*$/) { - $line = "$1 movi $2, $3, lsl #0\n"; - } - # Xcode 5 misses the alias uxtl. Replace it with the more general ushll. - # Clang 3.4 misses the alias sxtl too. Replace it with the more general sshll. - # armasm64 also misses these instructions. - if ($line =~ /^(\d+:)?\s*(s|u)xtl(2)?\s+(v[0-3]?\d\.[248][hsdHSD])\s*,\s*(v[0-3]?\d\.(?:2|4|8|16)[bhsBHS])\b\s*$/) { - $line = "$1 $2shll$3 $4, $5, #0\n"; - } - # clang 3.4 and armasm64 do not automatically use shifted immediates in add/sub - if (($as_type eq "clang" or $as_type eq "armasm") and - $line =~ /^(\d+:)?(\s*(?:add|sub)s?) ([^#l]+)#([\d\+\-\*\/ <>]+)\s*$/) { - my $imm = eval $4; - if ($imm > 4095 and not ($imm & 4095)) { - $line = "$1 $2 $3#" . ($imm >> 12) . ", lsl #12\n"; - } - } - if ($ENV{GASPP_FIX_XCODE5}) { - if ($line =~ /^\s*bsl\b/) { - $line =~ s/\b(bsl)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/; - $line =~ s/\b(v[0-3]?\d)\.$3\b/$1/g; - } - if ($line =~ /^\s*saddl2?\b/) { - $line =~ s/\b(saddl2?)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/; - $line =~ s/\b(v[0-3]?\d)\.\w+\b/$1/g; - } - if ($line =~ /^\s*dup\b.*\]$/) { - $line =~ s/\bdup(\s+v[0-3]?\d)\.(\w+)\b/dup.$2$1/g; - $line =~ s/\b(v[0-3]?\d)\.[bhsdBHSD](\[\d\])$/$1$2/g; - } - } - } - - if ($as_type eq "armasm") { - # Also replace variables set by .set - foreach (keys %symbols) { - my $sym = $_; - $line =~ s/\b$sym\b/$symbols{$sym}/g; - } - - # Handle function declarations and keep track of the declared labels - if ($line =~ s/^\s*\.func\s+(\w+)/$1 PROC/) { - $labels_seen{$1} = 1; - } - - if ($line =~ s/^\s*(\d+)://) { - # Convert local labels into unique labels. armasm (at least in - # RVCT) has something similar, but still different enough. - # By converting to unique labels we avoid any possible - # incompatibilities. - - my $num = $1; - foreach (@{$next_temp_labels{$num}}) { - $line = "$_\n" . $line; - } - @next_temp_labels{$num} = (); - my $name = "temp_label_$temp_label_next"; - $temp_label_next++; - # The matching regexp above removes the label from the start of - # the line (which might contain an instruction as well), readd - # it on a separate line above it. - $line = "$name:\n" . $line; - $last_temp_labels{$num} = $name; - } - - if ($line =~ s/^\s*(\w+):/$1/) { - # Skip labels that have already been declared with a PROC, - # labels must not be declared multiple times. - return if (defined $labels_seen{$1}); - $labels_seen{$1} = 1; - } elsif ($line !~ /(\w+) PROC/) { - # If not a label, make sure the line starts with whitespace, - # otherwise ms armasm interprets it incorrectly. - $line =~ s/^[\.\w]/\t$&/; - } - - - # Check branch instructions - if ($line =~ /(?:^|\n)\s*(\w+\s*:\s*)?(bl?x?\.?(..)?(\.w)?)\s+(\w+)/) { - my $instr = $2; - my $cond = $3; - my $width = $4; - my $target = $5; - # Don't interpret e.g. bic as b with ic as conditional code - if ($cond !~ /^(|$arm_cond_codes)$/) { - # Not actually a branch - } elsif ($target =~ /^(\d+)([bf])$/) { - # The target is a local label - $line = handle_local_label($line, $1, $2); - $line =~ s/\b$instr\b/$&.w/ if $width eq "" and $arch eq "arm"; - } elsif (($arch eq "arm" and !is_arm_register($target)) or - ($arch eq "aarch64" and !is_aarch64_register($target))) { - $call_targets{$target}++; - } - } elsif ($line =~ /(?:^|\n)\s*(\w+\s*:\s*)?(cbn?z|adr|tbz)\s+(\w+)\s*,(\s*#\d+\s*,)?\s*(\w+)/) { - my $instr = $2; - my $reg = $3; - my $bit = $4; - my $target = $5; - if ($target =~ /^(\d+)([bf])$/) { - # The target is a local label - $line = handle_local_label($line, $1, $2); - } else { - $call_targets{$target}++; - } - # Convert tbz with a wX register into an xX register, - # due to armasm64 bugs/limitations. - if ($instr eq "tbz" and $reg =~ /w\d+/) { - my $xreg = $reg; - $xreg =~ s/w/x/; - $line =~ s/\b$reg\b/$xreg/; - } - } elsif ($line =~ /^\s*.h?word.*\b\d+[bf]\b/) { - while ($line =~ /\b(\d+)([bf])\b/g) { - $line = handle_local_label($line, $1, $2); - } - } - - # ALIGN in armasm syntax is the actual number of bytes - if ($line =~ /\.(?:p2)?align\s+(\d+)/) { - my $align = 1 << $1; - $line =~ s/\.(?:p2)?align\s(\d+)/ALIGN $align/; - } - # Convert gas style [r0, :128] into armasm [r0@128] alignment specification - $line =~ s/\[([^\[,]+),?\s*:(\d+)\]/[$1\@$2]/g; - - # armasm treats logical values {TRUE} and {FALSE} separately from - # numeric values - logical operators and values can't be intermixed - # with numerical values. Evaluate ! and (a <> b) into numbers, - # let the assembler evaluate the rest of the expressions. This current - # only works for cases when ! and <> are used with actual constant numbers, - # we don't evaluate subexpressions here. - - # Evaluate ! - while ($line =~ /!\s*(\d+)/g) { - my $val = ($1 != 0) ? 0 : 1; - $line =~ s/!(\d+)/$val/; - } - # Evaluate (a > b) - while ($line =~ /\(\s*(\d+)\s*([<>])\s*(\d+)\s*\)/) { - my $val; - if ($2 eq "<") { - $val = ($1 < $3) ? 1 : 0; - } else { - $val = ($1 > $3) ? 1 : 0; - } - $line =~ s/\(\s*(\d+)\s*([<>])\s*(\d+)\s*\)/$val/; - } - - if ($arch eq "arm") { - # Change a movw... #:lower16: into a mov32 pseudoinstruction - $line =~ s/^(\s*)movw(\s+\w+\s*,\s*)\#:lower16:(.*)$/$1mov32$2$3/; - # and remove the following, matching movt completely - $line =~ s/^\s*movt\s+\w+\s*,\s*\#:upper16:.*$//; - - if ($line =~ /^\s*mov32\s+\w+,\s*([a-zA-Z]\w*)/) { - $import_symbols{$1}++; - } - - # Misc bugs/deficiencies: - # armasm seems unable to parse e.g. "vmov s0, s1" without a type - # qualifier, thus add .f32. - $line =~ s/^(\s+(?:vmov|vadd))(\s+s\d+\s*,\s*s\d+)/$1.f32$2/; - } elsif ($arch eq "aarch64") { - # Convert ext into ext8; armasm64 seems to require it named as ext8. - $line =~ s/^(\s+)ext(\s+)/$1ext8$2/; - - # Pick up targets from ldr x0, =sym+offset - if ($line =~ /^\s*ldr\s+(\w+)\s*,\s*=([a-zA-Z]\w*)(.*)$/) { - my $reg = $1; - my $sym = $2; - my $offset = eval_expr($3); - if ($offset < 0) { - # armasm64 is buggy with ldr x0, =sym+offset where the - # offset is a negative value; it does write a negative - # offset into the literal pool as it should, but the - # negative offset only covers the lower 32 bit of the 64 - # bit literal/relocation. - # Thus remove the offset and apply it manually with a sub - # afterwards. - $offset = -$offset; - $line = "\tldr $reg, =$sym\n\tsub $reg, $reg, #$offset\n"; - } - $import_symbols{$sym}++; - } - - # armasm64 (currently) doesn't support offsets on adrp targets, - # even though the COFF format relocations (and the linker) - # supports it. Therefore strip out the offsets from adrp and - # add :lo12: (in case future armasm64 would start handling it) - # and add an extra explicit add instruction for the offset. - if ($line =~ s/(adrp\s+\w+\s*,\s*(\w+))([\d\+\-\*\/\(\) <>]+)?/\1/) { - $import_symbols{$2}++; - } - if ($line =~ s/(add\s+(\w+)\s*,\s*\w+\s*,\s*):lo12:(\w+)([\d\+\-\*\/\(\) <>]+)?/\1\3/) { - my $reg = $2; - my $sym = $3; - my $offset = eval_expr($4); - $line .= "\tadd $reg, $reg, #$offset\n" if $offset > 0; - $import_symbols{$sym}++; - } - - # Convert e.g. "add x0, x0, w0, uxtw" into "add x0, x0, w0, uxtw #0", - # or "ldr x0, [x0, w0, uxtw]" into "ldr x0, [x0, w0, uxtw #0]". - $line =~ s/(uxtw|sxtw)(\s*\]?\s*)$/\1 #0\2/i; - - # Convert "mov x0, v0.d[0]" into "umov x0, v0.d[0]" - $line =~ s/\bmov\s+[xw]\d+\s*,\s*v\d+\.[ds]/u$&/i; - - # Convert "ccmp w0, #0, #0, ne" into "ccmpne w0, #0, #0", - # and "csel w0, w0, w0, ne" into "cselne w0, w0, w0". - $line =~ s/(ccmp|csel)\s+([xw]\w+)\s*,\s*([xw#]\w+)\s*,\s*([xw#]\w+)\s*,\s*($arm_cond_codes)/\1\5 \2, \3, \4/; - - # Convert "cinc w0, w0, ne" into "cincne w0, w0". - $line =~ s/(cinc)\s+([xw]\w+)\s*,\s*([xw]\w+)\s*,\s*($arm_cond_codes)/\1\4 \2, \3/; - - # Convert "cset w0, lo" into "csetlo w0" - $line =~ s/(cset)\s+([xw]\w+)\s*,\s*($arm_cond_codes)/\1\3 \2/; - - # Strip out prfum; armasm64 fails to assemble any - # variant/combination of prfum tested so far, but it can be - # left out without any - $line =~ s/prfum.*\]//; - - # Convert "ldrb w0, [x0, #-1]" into "ldurb w0, [x0, #-1]". - # Don't do this for forms with writeback though. - if ($line =~ /(ld|st)(r[bh]?)\s+(\w+)\s*,\s*\[\s*(\w+)\s*,\s*#([^\]]+)\s*\][^!]/) { - my $instr = $1; - my $suffix = $2; - my $target = $3; - my $base = $4; - my $offset = eval_expr($5); - if ($offset < 0) { - $line =~ s/$instr$suffix/${instr}u$suffix/; - } - } - - if ($ENV{GASPP_ARMASM64_INVERT_SCALE}) { - # Instructions like fcvtzs and scvtf store the scale value - # inverted in the opcode (stored as 64 - scale), but armasm64 - # in early versions stores it as-is. Thus convert from - # "fcvtzs w0, s0, #8" into "fcvtzs w0, s0, #56". - if ($line =~ /(?:fcvtzs|scvtf)\s+(\w+)\s*,\s*(\w+)\s*,\s*#(\d+)/) { - my $scale = $3; - my $inverted_scale = 64 - $3; - $line =~ s/#$scale/#$inverted_scale/; - } - } - } - # armasm is unable to parse &0x - add spacing - $line =~ s/&0x/& 0x/g; - } - - if ($force_thumb) { - # Convert register post indexing to a separate add instruction. - # This converts e.g. "ldr r0, [r1], r2" into "ldr r0, [r1]", - # "add r1, r1, r2". - $line =~ s/((?:ldr|str)[bh]?)\s+(\w+),\s*\[(\w+)\],\s*(\w+)/$1 $2, [$3]\n\tadd $3, $3, $4/g; - - # Convert "mov pc, lr" into "bx lr", since the former only works - # for switching from arm to thumb (and only in armv7), but not - # from thumb to arm. - $line =~ s/mov\s*pc\s*,\s*lr/bx lr/g; - - # Convert stmdb/ldmia/stmfd/ldmfd/ldm with only one register into a plain str/ldr with post-increment/decrement. - # Wide thumb2 encoding requires at least two registers in register list while all other encodings support one register too. - $line =~ s/stm(?:db|fd)\s+sp!\s*,\s*\{([^,-]+)\}/str $1, [sp, #-4]!/g; - $line =~ s/ldm(?:ia|fd)?\s+sp!\s*,\s*\{([^,-]+)\}/ldr $1, [sp], #4/g; - - # Convert muls into mul+cmp - $line =~ s/muls\s+(\w+),\s*(\w+)\,\s*(\w+)/mul $1, $2, $3\n\tcmp $1, #0/g; - - # Convert "and r0, sp, #xx" into "mov r0, sp", "and r0, r0, #xx" - $line =~ s/and\s+(\w+),\s*(sp|r13)\,\s*#(\w+)/mov $1, $2\n\tand $1, $1, #$3/g; - - # Convert "ldr r0, [r0, r1, lsl #6]" where the shift is >3 (which - # can't be handled in thumb) into "add r0, r0, r1, lsl #6", - # "ldr r0, [r0]", for the special case where the same address is - # used as base and target for the ldr. - if ($line =~ /(ldr[bh]?)\s+(\w+),\s*\[\2,\s*(\w+),\s*lsl\s*#(\w+)\]/ and $4 > 3) { - $line =~ s/(ldr[bh]?)\s+(\w+),\s*\[\2,\s*(\w+),\s*lsl\s*#(\w+)\]/add $2, $2, $3, lsl #$4\n\t$1 $2, [$2]/; - } - - $line =~ s/\.arm/.thumb/x; - } - - # comment out unsupported directives - $line =~ s/\.type/$comm$&/x if $as_type =~ /^(apple-|armasm)/; - $line =~ s/\.func/$comm$&/x if $as_type =~ /^(apple-|clang)/; - $line =~ s/\.endfunc/$comm$&/x if $as_type =~ /^(apple-|clang)/; - $line =~ s/\.endfunc/ENDP/x if $as_type =~ /armasm/; - $line =~ s/\.ltorg/$comm$&/x if $as_type =~ /^(apple-|clang)/; - $line =~ s/\.ltorg/LTORG/x if $as_type eq "armasm"; - $line =~ s/\.size/$comm$&/x if $as_type =~ /^(apple-|armasm)/; - $line =~ s/\.fpu/$comm$&/x if $as_type =~ /^(apple-|armasm)/; - $line =~ s/\.arch/$comm$&/x if $as_type =~ /^(apple-|clang|armasm)/; - $line =~ s/\.object_arch/$comm$&/x if $as_type =~ /^(apple-|armasm)/; - $line =~ s/.section\s+.note.GNU-stack.*/$comm$&/x if $as_type =~ /^(apple-|armasm)/; - - $line =~ s/\.syntax/$comm$&/x if $as_type =~ /armasm/; - - $line =~ s/\.hword/.short/x; - - if ($as_type =~ /^apple-/) { - # the syntax for these is a little different - $line =~ s/\.global/.globl/x; - # also catch .section .rodata since the equivalent to .const_data is .section __DATA,__const - $line =~ s/(.*)\.rodata/.const_data/x; - $line =~ s/\.int/.long/x; - $line =~ s/\.float/.single/x; - } - if ($as_type eq "apple-gas") { - $line =~ s/vmrs\s+APSR_nzcv/fmrx r15/x; - } - if ($as_type eq "armasm") { - $line =~ s/\.global/EXPORT/x; - $line =~ s/\.int/dcd/x; - $line =~ s/\.long/dcd/x; - $line =~ s/\.float/dcfs/x; - $line =~ s/\.word/dcd/x; - $line =~ s/\.short/dcw/x; - $line =~ s/\.byte/dcb/x; - $line =~ s/\.quad/dcq/x; - $line =~ s/\.ascii/dcb/x; - $line =~ s/\.asciz(.*)$/dcb\1,0/x; - $line =~ s/\.thumb/THUMB/x; - $line =~ s/\.arm/ARM/x; - # The alignment in AREA is the power of two, just as .align in gas - $line =~ s/\.text/AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN/; - $line =~ s/(\s*)(.*)\.rodata/$1AREA |.rodata|, DATA, READONLY, ALIGN=5/; - $line =~ s/\.data/AREA |.data|, DATA, ALIGN=5/; - } - if ($as_type eq "armasm" and $arch eq "arm") { - $line =~ s/fmxr/vmsr/; - $line =~ s/fmrx/vmrs/; - $line =~ s/fadds/vadd.f32/; - } - if ($as_type eq "armasm" and $arch eq "aarch64") { - # Convert "b.eq" into "beq" - $line =~ s/\bb\.($arm_cond_codes)\b/b\1/; - } - - # catch unknown section names that aren't mach-o style (with a comma) - if ($as_type =~ /apple-/ and $line =~ /.section ([^,]*)$/) { - die ".section $1 unsupported; figure out the mach-o section name and add it"; - } - - print ASMFILE $line; -} - -if ($as_type ne "armasm") { - print ASMFILE ".text\n"; - print ASMFILE ".align 2\n"; - foreach my $literal (keys %literal_labels) { - print ASMFILE "$literal_labels{$literal}:\n $literal_expr $literal\n"; - } - - map print(ASMFILE ".thumb_func $_\n"), - grep exists $thumb_labels{$_}, keys %call_targets; -} else { - map print(ASMFILE "\tIMPORT $_\n"), - grep ! exists $labels_seen{$_}, (keys %call_targets, keys %import_symbols); - - print ASMFILE "\tEND\n"; -} - -close(INPUT) or exit 1; -close(ASMFILE) or exit 1; -if ($as_type eq "armasm" and ! defined $ENV{GASPP_DEBUG}) { - system(@gcc_cmd) == 0 or die "Error running assembler"; -} - -END { - unlink($tempfile) if defined $tempfile; -} -#exit 1 diff --git a/data/x264/make.sh b/data/x264/make.sh index c8be07a8b..909566a37 100644 --- a/data/x264/make.sh +++ b/data/x264/make.sh @@ -1,6 +1,2 @@ -pkg:setup -cp "${PKG_DATA}"/gas-preprocessor.pl . -# Host requires perl. -CC="${PKG_TARG}-gcc" AS="./gas-preprocessor.pl -arch $(echo ${PKG_TARG} | sed -e 's/-.*//') -- ${PKG_TARG}-gcc" pkg:configure --enable-shared --disable-lsmash --enable-strip --cross-prefix="${PKG_TARG}-" -pkg:make -pkg:install +pkg: mkdir -p /usr/bin +cp -a "$(PKG_DEST_ _x264)"/usr/bin/* "${PKG_DEST}"/usr/bin diff --git a/data/x265/_metadata/description b/data/x265/_metadata/description deleted file mode 100644 index 2f565c14e..000000000 --- a/data/x265/_metadata/description +++ /dev/null @@ -1 +0,0 @@ -H.265/HEVC encoder diff --git a/data/x265/_metadata/in.1443.00 b/data/x265/_metadata/in.1443.00 deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/x265/_metadata/license b/data/x265/_metadata/license deleted file mode 100644 index d5457c936..000000000 --- a/data/x265/_metadata/license +++ /dev/null @@ -1,343 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. - -This program is also available under a commercial proprietary license. -For more information, contact us at license @ x265.com. diff --git a/data/x265/_metadata/maintainer b/data/x265/_metadata/maintainer deleted file mode 120000 index 0c538aadb..000000000 --- a/data/x265/_metadata/maintainer +++ /dev/null @@ -1 +0,0 @@ -../../../people/mac \ No newline at end of file diff --git a/data/x265/_metadata/name b/data/x265/_metadata/name deleted file mode 100644 index 9313b4661..000000000 --- a/data/x265/_metadata/name +++ /dev/null @@ -1 +0,0 @@ -x265 diff --git a/data/x265/_metadata/priority b/data/x265/_metadata/priority deleted file mode 100644 index 134d9bc32..000000000 --- a/data/x265/_metadata/priority +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/data/x265/_metadata/role b/data/x265/_metadata/role deleted file mode 100644 index 8d0320866..000000000 --- a/data/x265/_metadata/role +++ /dev/null @@ -1 +0,0 @@ -developer diff --git a/data/x265/_metadata/section b/data/x265/_metadata/section deleted file mode 100644 index 593877746..000000000 --- a/data/x265/_metadata/section +++ /dev/null @@ -1 +0,0 @@ -Multimedia diff --git a/data/x265/_metadata/tags b/data/x265/_metadata/tags deleted file mode 100644 index a8928cec8..000000000 --- a/data/x265/_metadata/tags +++ /dev/null @@ -1 +0,0 @@ -purpose::library diff --git a/data/x265/_metadata/version b/data/x265/_metadata/version deleted file mode 100644 index 9f55b2ccb..000000000 --- a/data/x265/_metadata/version +++ /dev/null @@ -1 +0,0 @@ -3.0 diff --git a/data/x265/make.sh b/data/x265/make.sh deleted file mode 100644 index f0aa4aae7..000000000 --- a/data/x265/make.sh +++ /dev/null @@ -1,47 +0,0 @@ -pkg:setup - -cat >iphoneos_toolchain.cmake </dev/null - -pushd x265-12bit - cmake ../../source "${_cmake_args[@]}" -DMAIN12=ON "${_high_bit[@]}" - make -j16 - mv libx265.a libx265_main12.a -popd &>/dev/null - -echo cmake ../source "${_cmake_args[@]}" "${_args[@]}" -cmake ../source "${_cmake_args[@]}" "${_args[@]}" -make -j16 -pkg:install -pkg: rm /usr/lib/libx265.a diff --git a/data/x265/x265_3.0.tar.gz b/data/x265/x265_3.0.tar.gz deleted file mode 100644 index b90ed9671..000000000 Binary files a/data/x265/x265_3.0.tar.gz and /dev/null differ -- cgit v1.2.3