Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Vasily Khoruzhick
libfprint
Commits
702932c6
Commit
702932c6
authored
Nov 19, 2018
by
Bastien Nocera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: Add Flatpak manifest for the demo application
parent
29461fa9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
0 deletions
+102
-0
demo/meson.build
demo/meson.build
+13
-0
demo/org.freedesktop.libfprint.Demo.appdata.xml
demo/org.freedesktop.libfprint.Demo.appdata.xml
+28
-0
demo/org.freedesktop.libfprint.Demo.desktop
demo/org.freedesktop.libfprint.Demo.desktop
+10
-0
demo/org.freedesktop.libfprint.Demo.json
demo/org.freedesktop.libfprint.Demo.json
+51
-0
demo/org.freedesktop.libfprint.Demo.png
demo/org.freedesktop.libfprint.Demo.png
+0
-0
No files found.
demo/meson.build
View file @
702932c6
...
...
@@ -4,6 +4,7 @@ gtk_test_resources = gnome.compile_resources('gtk-test-resources', 'gtk-libfprin
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
executable('gtk-libfprint-test',
[ 'gtk-libfprint-test.c', 'loop.c', 'loop.h', gtk_test_resources ],
...
...
@@ -15,3 +16,15 @@ executable('gtk-libfprint-test',
'-DPACKAGE_VERSION="' + meson.project_version() + '"' ],
install: true,
install_dir: bindir)
appdata = 'org.freedesktop.libfprint.Demo.appdata.xml'
install_data(appdata,
install_dir: join_paths(datadir, 'metainfo'))
desktop = 'org.freedesktop.libfprint.Demo.desktop'
install_data(desktop,
install_dir: join_paths(datadir, 'applications'))
icon = 'org.freedesktop.libfprint.Demo.png'
install_data(icon,
install_dir: join_paths(datadir, 'icons'))
demo/org.freedesktop.libfprint.Demo.appdata.xml
0 → 100644
View file @
702932c6
<?xml version="1.0" encoding="UTF-8"?>
<component
type=
"desktop"
>
<id>
org.freedesktop.libfprint.Demo.desktop
</id>
<name>
Fingerprint Reader Demo
</name>
<summary>
Test fingerprint readers
</summary>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
LGPL-2.1+
</project_license>
<description>
<p>
Fingerprint Reader Demo is a test application for the libfprint
fingerprint reader library. Its purpose is to test drivers, new and old,
in a sandbox, to make sure that the drivers and associated functions
work correctly.
</p>
<p>
Fingerprint Reader Demo does not modify the system, or replace integration
in desktop environments.
</p>
</description>
<url
type=
"homepage"
>
https://fprint.freedesktop.org
</url>
<screenshots>
<screenshot
type=
"default"
width=
"1024"
height=
"576"
>
https://git.gnome.org/browse/totem/plain/data/appdata/ss-main.png
</screenshot>
<screenshot
width=
"1024"
height=
"576"
>
https://git.gnome.org/browse/totem/plain/data/appdata/ss-music-playlist.png
</screenshot>
</screenshots>
<updatecontact>
hadess@hadess.net
</updatecontact>
<!-- Incorrect, but appstream-util won't validate without it -->
<translation
type=
"gettext"
>
libfprint
</translation>
</component>
demo/org.freedesktop.libfprint.Demo.desktop
0 → 100644
View file @
702932c6
[Desktop Entry]
Name=Fingerprint Reader Demo
Comment=Test fingerprint readers
Keywords=finger;print;fingerprint;fprint;demo;driver;reader;
Exec=gtk-libfprint-test
Icon=org.freedesktop.libfprint.Demo
Terminal=false
Type=Application
Categories=GTK;GNOME;Development;System;
StartupNotify=true
demo/org.freedesktop.libfprint.Demo.json
0 → 100644
View file @
702932c6
{
"app-id"
:
"org.freedesktop.libfprint.Demo"
,
"runtime"
:
"org.gnome.Platform"
,
"runtime-version"
:
"master"
,
"sdk"
:
"org.gnome.Sdk"
,
"command"
:
"gtk-libfprint-test"
,
"finish-args"
:
[
/*
X
11
+
XShm
access
*/
"--share=ipc"
,
"--socket=x11"
,
/*
Wayland
access
*/
"--socket=wayland"
,
/*
OpenGL
access
*/
"--device=dri"
,
/*
USB
access
*/
"--device=all"
],
"cleanup"
:
[
"/include"
,
"/lib/pkgconfig/"
],
"modules"
:
[
{
"name"
:
"libusb"
,
"config-opts"
:
[
"--disable-static"
,
"--disable-udev"
],
"cleanup"
:
[
"/lib/*.la"
,
"/lib/pkgconfig"
,
"/include"
],
"sources"
:
[
{
"type"
:
"archive"
,
"url"
:
"https://github.com/libusb/libusb/archive/v1.0.22.tar.gz"
,
"sha256"
:
"3500f7b182750cd9ccf9be8b1df998f83df56a39ab264976bdb3307773e16f48"
}
],
"post-install"
:
[
"install -Dm644 COPYING /app/share/licenses/libusb/COPYING"
]
},
{
"name"
:
"libfprint"
,
"buildsystem"
:
"meson"
,
"config-opts"
:
[
"-Dudev_rules=false"
,
"-Dx11-examples=false"
,
"-Dgtk-examples=true"
],
"sources"
:
[
{
"type"
:
"git"
,
"url"
:
"https://gitlab.freedesktop.org/libfprint/libfprint.git"
,
"branch"
:
"wip/hadess/gtk-example"
}
]
}
]
}
demo/org.freedesktop.libfprint.Demo.png
0 → 100644
View file @
702932c6
24.5 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment