Commit 62a2f322 authored by supechicken's avatar supechicken Committed by GitHub

switch upstream to git snapshot

parent 38f60541
......@@ -6,20 +6,18 @@ class Libva_utils < Package
@_ver = '2.10.0'
version @_ver
compatibility 'all'
source_url "https://github.com/intel/libva-utils/releases/download/#{@_ver}/libva-utils-#{@_ver}.tar.bz2"
source_url "https://github.com/intel/libva-utils/archive/#{@_ver}.tar.gz"
source_sha256 '33f06929faa395f55ec816432679219c56d70850bf465c848f0418e8a4f0352b'
depends_on 'libva'
def self.build
system "env CFLAGS='-pipe -fstack-protector-strong -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
CXXFLAGS='-pipe -fstack-protector-strong -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
LDFLAGS='-fstack-protector-strong -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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