Commit d92e9147 authored by satmandu's avatar satmandu Committed by GitHub

webkit2gtk dependency updates (#5053)

* mesonized

* Update libwpe.rb

* Update wpebackend_fdo.rb

* Update gstreamer.rb

* Update gst_plugins_base.rb
parent f6dec7d6
......@@ -3,22 +3,23 @@ require 'package'
class Gst_plugins_base < Package
description 'An essential, exemplary set of elements for GStreamer'
homepage 'https://gstreamer.freedesktop.org/modules/gst-plugins-base.html'
version '1.18.0'
@_ver = '1.18.3'
version @_ver
compatibility 'all'
source_url 'https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.18.0.tar.xz'
source_sha256 '762abdd1a950809a1cea62fff7f86b5f7d6bd5f6841e3e585c700b823cdb7897'
source_url "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-#{@_ver}.tar.xz"
source_sha256 'dbfa20283848f0347a223dd8523dfb62e09e5220b21b1d157a8b0c8b67ba9f52'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gst_plugins_base-1.18.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a53d2597a9779c17677a600ac0cd669a8ce3079ac62ab87627880f2148fab970',
armv7l: 'a53d2597a9779c17677a600ac0cd669a8ce3079ac62ab87627880f2148fab970',
i686: 'b2ac2d8f40199531e304c35659ecbd48107297072114967011feb8b12a48ebba',
x86_64: 'f2ea971bba4cf271d4f36b7eb743065cc53ce00973afebb1076d996ff4e04170',
aarch64: 'a74c3d06cc2b1b573eee605d5a8ef130260321a3df0e062789bbb40f64b0b3ae',
armv7l: 'a74c3d06cc2b1b573eee605d5a8ef130260321a3df0e062789bbb40f64b0b3ae',
i686: '16ab2127284b14a75b5fda4e00640fd10d79e98f8bf2806e62d5b0c47a933853',
x86_64: '8417eb837eb1af2ad6d1bdebd6f79b4466628d80140ec6b38d0880a1f89e723e',
})
depends_on 'gstreamer'
......@@ -39,23 +40,19 @@ class Gst_plugins_base < Package
depends_on 'gdk_pixbuf'
def self.build
# Use lld to enable compatibility with ChromeOS libraries
#ENV['CFLAGS'] = "-fuse-ld=lld"
#ENV['CXXFLAGS'] = "-fuse-ld=lld"
system "meson",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"-Dgst_debug=false",
"-Dexamples=disabled",
"build"
system "ninja -C build"
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dgst_debug=false \
-Dexamples=disabled \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
def self.check
# system "make", "check" # All the GL tests fail, as an X terminal is not running.
# system 'make', 'check' # All the GL tests fail, as an X terminal is not running.
end
end
......@@ -3,22 +3,23 @@ require 'package'
class Gstreamer < Package
description 'GStreamer is a library for constructing graphs of media-handling components.'
homepage 'https://gstreamer.freedesktop.org/'
version '1.18.0'
@_ver = '1.18.3'
version @_ver
compatibility 'all'
source_url 'https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.18.0.tar.xz'
source_sha256 '0ff09245b06c0aeb5d9a156edcab088a7e8213a0bf9c84a1ff0318f9c00c7805'
source_url "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-#{@_ver}.tar.xz"
source_sha256 '0c2e09e18f2df69a99b5cb3bd53c597b3cc2e35cf6c98043bb86a66f3d312100'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.18.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0dca199353177541752ce291d76979019b80af95dfa7c9499fdb992010a19151',
armv7l: '0dca199353177541752ce291d76979019b80af95dfa7c9499fdb992010a19151',
i686: '5de8acc27668a03cbf674589bbb840848212afa265657ef0054f2c037ab08702',
x86_64: '2a9044b75cf3d305675486a951054cf792495f7baeb38eab27fa1aa5f6b50bf7',
aarch64: '0e6aa5ea7062808f39a7188f923da0591517b4e2ca502977bb69416df15a6892',
armv7l: '0e6aa5ea7062808f39a7188f923da0591517b4e2ca502977bb69416df15a6892',
i686: 'fbd696dc11691c1bb86d146894823f5fda72f3603dedcb816e11a70c285d5e53',
x86_64: '4bc3a4b7e46fcc68b5fe8ad8fa30e469a2ce24c36a3fd573ab5d049570d52f06',
})
depends_on 'glib'
......@@ -27,22 +28,17 @@ class Gstreamer < Package
depends_on 'gsl'
depends_on 'elfutils'
depends_on 'libunwind'
depends_on 'python27'
def self.build
# Use lld for ChromOS library compatibility
#ENV['CFLAGS'] = "-fuse-ld=lld"
#ENV['CXXFLAGS'] = "-fuse-ld=lld"
system "meson",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"-Dgst_debug=false",
"build"
system "ninja -C build"
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dgst_debug=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
def self.check
......
......@@ -3,22 +3,23 @@ require 'package'
class Libnotify < Package
description 'A library for sending desktop notifications.'
homepage 'https://git.gnome.org/browse/libnotify'
version '0.7.7'
@_ver = '0.7.9'
version @_ver
compatibility 'all'
source_url 'https://github.com/GNOME/libnotify/archive/0.7.7.tar.gz'
source_sha256 '8ff216938a47df591b454ad062465f6d91d7a83496a1ba8eb755df8952cf48f2'
source_url "https://github.com/GNOME/libnotify/archive/#{@_ver}.tar.gz"
source_sha256 '9bd4f5fa911d27567e7cc2d2d09d69356c16703c4e8d22c0b49a5c45651f3af0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.7-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libnotify-0.7.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cdb253d6ded556e1ddf6c7a98b516861eadfdb73904455e6757349c5a79c815f',
armv7l: 'cdb253d6ded556e1ddf6c7a98b516861eadfdb73904455e6757349c5a79c815f',
i686: '583eed9e963a64f6ba1ca6fd65bf94c4c1b04fb63a763defc8a5c195b51fc253',
x86_64: '1aac27b842844b8d171517261c043a28b1d1ae06b6fdef9c74e03767a21f77bd',
aarch64: '06d8ab2630fbfae249c5bfb1e9dbd51cc57a7e1fe7c9b5297926cff9a9e4592b',
armv7l: '06d8ab2630fbfae249c5bfb1e9dbd51cc57a7e1fe7c9b5297926cff9a9e4592b',
i686: 'a12e7df177e5621731b8de4cdc714e6cc57a734e631445e4a501e7a81b90162b',
x86_64: '23b869cb69ff53a1eee4d2b6cd6f622400f10030404a882471f5ecdb354b38ee',
})
depends_on 'gtk_doc'
......@@ -26,16 +27,17 @@ class Libnotify < Package
depends_on 'gnome_common'
def self.build
system "./autogen.sh"
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--disable-static"
system "make"
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Dman=false \
-Ddocbook_docs=disabled \
-Dtests=false \
-Dgtk_doc=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Libwpe < Package
description 'General-purpose library specifically developed for the WPE-flavored port of WebKit.'
homepage 'https://github.com/WebPlatformForEmbedded/libwpe'
version '1.6.0'
description 'General-purpose library for WPE WebKit'
homepage 'https://wpewebkit.org'
@_ver = '1.8.0'
version @_ver
compatibility 'all'
source_url 'https://github.com/WebPlatformForEmbedded/libwpe/releases/download/1.6.0/libwpe-1.6.0.tar.xz'
source_sha256 '3587c6b8a807f4bb76b268ba74ca82c6b395b90235db41ad8252224456193c90'
source_url "https://github.com/WebPlatformForEmbedded/libwpe/releases/download/#{@_ver}/libwpe-#{@_ver}.tar.xz"
source_sha256 'a6f00a7d091cbd4db57fe7ee3b4c12c6350921d654ed79812800a26c888481d2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.6.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.6.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.6.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.6.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.8.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.8.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.8.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libwpe-1.8.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '83424c5f20ccc168be9bcf8dfdebb38486b6bac3984575f9c021b71c93feee10',
armv7l: '83424c5f20ccc168be9bcf8dfdebb38486b6bac3984575f9c021b71c93feee10',
i686: '597a643c854cc2a6fba391d47adacb4f9d1d77dd1445981c03aedc6818903756',
x86_64: '9c258f03e8f7861cbf990b6585687b7f3a150782854abccf1bc2768e14c26991',
aarch64: '2ac2dfad4b4ada47f50eb01de8e4f48629de8f4d88a7808173c0164f8cfc7978',
armv7l: '2ac2dfad4b4ada47f50eb01de8e4f48629de8f4d88a7808173c0164f8cfc7978',
i686: 'c6ea7fb4281d48faf071f6a701e372863046ebfca86d3c9bb644f405e2192bf7',
x86_64: 'fb76a33b0eaed0ebb0ed586ee019a12d6f5a77e2b3b1e99ccc3ecd9884e43b20',
})
depends_on 'libxkbcommon'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'cmake',
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_LIBDIR=#{ARCH_LIB}",
'-DCMAKE_BUILD_TYPE=Release',
'..'
system 'make'
end
system "meson #{CREW_MESON_LTO_OPTIONS} \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
require 'package'
class Wpebackend_fdo < Package
description 'General-purpose library specifically developed for the WPE-flavored port of WebKit.'
homepage 'https://github.com/Igalia/WPEBackend-fdo'
version '1.6.1'
description 'Freedesktop.org backend for WPE WebKit'
homepage 'https://wpewebkit.org'
@_ver = '1.8.0'
version @_ver
compatibility 'all'
source_url 'https://github.com/Igalia/WPEBackend-fdo/releases/download/1.6.1/wpebackend-fdo-1.6.1.tar.xz'
source_sha256 '740eee3327acfb462b8460519a219e30dc0a870326e88e2ddc4fe2c8de20b1c9'
source_url "https://github.com/Igalia/WPEBackend-fdo/releases/download/#{@_ver}/wpebackend-fdo-#{@_ver}.tar.xz"
source_sha256 '9652a99c75fe1c6eab0585b6395f4e104b2427e4d1f42969f1f77df29920d253'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.6.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.6.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.6.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.6.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.8.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.8.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.8.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wpebackend_fdo-1.8.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b4d88634ce83f63a2ff51952f0810de5b006b7040a963d45d3365b91a5fe6e24',
armv7l: 'b4d88634ce83f63a2ff51952f0810de5b006b7040a963d45d3365b91a5fe6e24',
i686: '4b2fac0a52908ab4024a4c9c2b9bce413a86dcee20f9a7ef1f8fe858e4558f69',
x86_64: '4793cf26d8d027dfb038d8e6ec16280e962c70f7472caebab690b85960d71eba',
aarch64: '2eb8dbb4be7ec82b3b48c5396759f447374b206ef3d498d49899a86b066b60d0',
armv7l: '2eb8dbb4be7ec82b3b48c5396759f447374b206ef3d498d49899a86b066b60d0',
i686: '77e5834339fe892f5f4eca9f642b28a5e7f72e5c1ecaafff8b5acea570543e90',
x86_64: 'a6ebf24575dc975a1615508cd259542ea3379529dae274ae800e64b5166cf5f6',
})
depends_on 'libwpe'
depends_on 'wayland'
depends_on 'libepoxy'
depends_on 'mesa' => ':build'
depends_on 'wayland_protocols' => ':build'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'cmake',
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_LIBDIR=#{ARCH_LIB}",
'-DCMAKE_BUILD_TYPE=Release',
'..'
system 'make'
end
system "meson #{CREW_MESON_LTO_OPTIONS} \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment