SHA256
1
0
forked from pool/vkmark

Accepting request 648972 from home:malcolmlewis:TESTING

New package submission: An extensible Vulkan benchmarking suite with targeted, configurable scenes. Please add me as maintainer.

OBS-URL: https://build.opensuse.org/request/show/648972
OBS-URL: https://build.opensuse.org/package/show/benchmark/vkmark?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2018-11-14 13:26:10 +00:00 committed by Git OBS Bridge
commit 47176a0bf2
7 changed files with 132 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">git://github.com/vkmark/vkmark</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">vkmark</param>
<param name="versionformat">2017.08+git.%cd</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b7081e5dff8b0e13ca4f600db463acd9a8616400c2d4509486318bc26a29eed
size 586856

View File

@ -0,0 +1,24 @@
diff -Naur a/meson.build b/meson.build
--- a/meson.build 2018-05-30 07:13:47.000000000 -0500
+++ b/meson.build 2018-11-13 08:23:40.706757813 -0600
@@ -17,7 +17,7 @@
vulkan_dep = cpp.find_library('vulkan')
dl_dep = cpp.find_library('dl')
-glm_dep = dependency('glm')
+
assimp_dep = dependency('assimp')
xcb_dep = dependency('xcb', required : get_option('xcb') == 'true')
diff -Naur a/src/meson.build b/src/meson.build
--- a/src/meson.build 2018-05-30 07:13:47.000000000 -0500
+++ b/src/meson.build 2018-11-13 08:27:23.081524932 -0600
@@ -52,7 +52,7 @@
'vkmark',
files('main.cpp') + vkutil_sources + scene_sources,
link_with: vkmark_core,
- dependencies : [vulkan_dep, glm_dep, dl_dep],
+ dependencies : [vulkan_dep, dl_dep],
link_args: ['-Wl,--dynamic-list=' + join_paths([meson.current_source_dir(), 'dynamic.list'])],
install : true
)

7
vkmark.changes Normal file
View File

@ -0,0 +1,7 @@
-------------------------------------------------------------------
Tue Nov 13 14:12:00 UTC 2018 - malcolmlewis@opensuse.org
- Initial build at version 2017.08 up to commit
1ebd493 (2018-05-30).
- Add vkmark-skip-glm-dep-check.patch: No glm-devel pc file
present in development package, so check fails.

60
vkmark.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package vkmark
#
# Copyright (c) 2018 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: vkmark
Version: 2017.08+20180530.1ebd493
Release: 0
License: LGPL-2.1+
Summary: Vulkan benchmark utility
Url: https://github.com/vkmark/vkmark
Group: System/Benchmark
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE vkmark-skip-glm-dep-check.patch malcolmlewis@opensuse.org -- No pc file present in development package, so check fails.
Patch0: vkmark-skip-glm-dep-check.patch
BuildRequires: assimp-devel
BuildRequires: gcc-c++
BuildRequires: glm-devel
BuildRequires: libdrm-devel
BuildRequires: libgbm-devel
BuildRequires: libxcb-devel
BuildRequires: meson
BuildRequires: vulkan-devel
BuildRequires: xcb-util-wm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
An extensible Vulkan benchmarking suite with targeted, configurable scenes.
%prep
%setup -q
%patch0 -p1
%build
%meson
%meson_build
%install
%meson_install
%files
%defattr(-,root,root,-)
%{_bindir}/vkmark
%{_libdir}/vkmark/
%{_mandir}/man1/vkmark.1%{?ext_man}
%{_datadir}/vkmark/
%changelog