Commit 4098d053 authored by vincowl's avatar vincowl Committed by GitHub

[libvdpau] Update to 1.3 (#3913)

Co-authored-by: default avatarVincent GIRARD <vincent@heliosphere.fr>
parent 3bb28622
...@@ -3,29 +3,24 @@ require 'package' ...@@ -3,29 +3,24 @@ require 'package'
class Libvdpau < Package class Libvdpau < Package
description 'VDPAU is the Video Decode and Presentation API for UNIX. It provides an interface to video decode acceleration and presentation hardware present in modern GPUs.' description 'VDPAU is the Video Decode and Presentation API for UNIX. It provides an interface to video decode acceleration and presentation hardware present in modern GPUs.'
homepage 'https://www.freedesktop.org/wiki/Software/VDPAU/' homepage 'https://www.freedesktop.org/wiki/Software/VDPAU/'
version '1.1.1' version '1.3'
source_url 'https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/5635163f040f2eea59b66d0181cf664b/libvdpau-1.1.1.tar.bz2' source_url 'https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/1.3/libvdpau-1.3.tar.bz2'
source_sha256 '857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736' source_sha256 'b5a52eeac9417edbc396f26c40591ba5df0cd18285f68d84614ef8f06196e50e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libvdpau-1.1.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libvdpau-1.1.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libvdpau-1.1.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libvdpau-1.1.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '7294f6d6e5658a671f2c200b927ce8af3eec5e29be48617ccd159b7cb4be4e0f',
armv7l: '7294f6d6e5658a671f2c200b927ce8af3eec5e29be48617ccd159b7cb4be4e0f',
i686: '0f1e80786ef70a10d1a75b0f22e038183eaf4e56c5f83f8db1ad42f9fad57a14',
x86_64: '2fd6efe5954f031570115bf0c32e03baf9418162e8f61df544f36231e902e3e1',
}) })
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir"
system 'make' system "ninja -C builddir"
#system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
#system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
#system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
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