Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
Update flatpak files to match latest version in flathub
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Hertel <jean.hertel@hotmail.com>
  • Loading branch information
jlHertel committed Sep 8, 2019
1 parent 072eca3 commit 996c338
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 42 deletions.
36 changes: 32 additions & 4 deletions flatpak/br.com.jeanhertel.adriconf.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,50 @@
<summary>Advanced DRI configurator</summary>
<description>
<p>adriconf (Advanced DRI CONFigurator) is a GUI tool used to configure open source graphics drivers. It works by setting options and writing them to the standard drirc file used by the Mesa drivers.</p>
<p xml:lang="pt_BR">adriconf (Advanced DRI CONFigurator) é uma ferramenta visual utilizada para configurar os drivers gráficos open source. Ele funciona definindo e escrevendo opções para o arquivo padrão drirc utilizado pelos drivers Mesa.</p>
<p>A GUI Tool used to configure OpenGL drivers. You can use it to optimize game settings or even workaround issues with them.</p>
<p xml:lang="pt_BR">Uma ferramenta visual utilizada para configurar drivers OpenGL. Você pode utilizá-lo para otimizar as configurações de jogos ou até mesmo corrigir problemas conhecidos.</p>
</description>
<description xml:lang="pt_BR">
<p>adriconf (Advanced DRI CONFigurator) é uma ferramenta visual utilizada para configurar os drivers gráficos open source. Ele funciona definindo e escrevendo opções para o arquivo padrão drirc utilizado pelos drivers Mesa.</p>
<p>Uma ferramenta visual utilizada para configurar drivers OpenGL. Você pode utilizá-lo para otimizar as configurações de jogos ou até mesmo corrigir problemas conhecidos.</p>
</description>
<launchable type="desktop-id">br.com.jeanhertel.adriconf.desktop</launchable>
<screenshots>
<screenshot type="default">
<caption>Performance Window</caption>
<image type="source">https://github.com/jlHertel/adriconf/blob/master/flatpak/br.com.jeanhertel.adriconf.screenshot-0.png?raw=true</image>
</screenshot>
<screenshot type="default">
<screenshot>
<caption>Debugging Window</caption>
<image type="source">https://github.com/jlHertel/adriconf/blob/master/flatpak/br.com.jeanhertel.adriconf.screenshot-1.png?raw=true</image>
</screenshot>
</screenshots>
<releases>
<release version="1.4" date="2019-01-26" urgency="low">
<description>
<p>This release finally brings the Wayland support along with some other fixes.</p>
<ul>
<li>Fix for AppStream validation @har9862</li>
<li>Remove DEBIAN build instructions and any debian packaging related artifact as we now provide a flatpak package @jlHertel</li>
<li>Remove glXQueryRendererIntegerMESA usage @velurimithun</li>
<li>Update the translation files @velurimithun</li>
<li>Allow to build with LibXML++ 3.0 @City-busz</li>
<li>Add XWayland support to adriconf @velurimithun</li>
<li>Don't bind the textdomain, so that we can properly get translations inside flatpak @jlHertel</li>
<li>Add a AUTHORS and CONTRIBUTING file @jlHertel</li>
</ul>
</description>
</release>
<release version="1.3" date="2018-09-15" urgency="low">
<description>
<p>This is mostly a bug-fixing release.</p>
<ul>
<li>Make changes to packaging files @velurimithun</li>
<li>Add pt_BR translation to flatpak data. Fixes #40</li>
<li>Fixes incorrect image urls on flatpak metadata</li>
<li>Fix uncaught exception when no user defined config file exists</li>
</ul>
</description>
</release>
<release version="1.2" date="2018-09-06" urgency="low">
<description>
<p>This release has the following improvements.</p>
Expand Down Expand Up @@ -76,4 +104,4 @@
<url type="homepage">https://github.com/jlHertel/adriconf</url>
<update_contact>jean.hertel@hotmail.com</update_contact>
<developer_name>Jean Hertel</developer_name>
</component>
</component>
2 changes: 1 addition & 1 deletion flatpak/br.com.jeanhertel.adriconf.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Name=adriconf
GenericName=Advanced DRI Configurator
Comment=A GUI tool used to configure open source graphics drivers
Version=1.2
Version=1.4
Exec=adriconf
Type=Application
Terminal=false
Expand Down
103 changes: 66 additions & 37 deletions flatpak/br.com.jeanhertel.adriconf.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@
"command": "adriconf",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--share=ipc",
"--device=dri",
"--filesystem=host"
],
"cleanup": [ "/include", "/bin/gtk4-*", "*.a" ],
"cleanup": [
"/include",
"/lib/pkgconfig",
"*.a",
"*.la"
],
"modules": [
{
"name": "GTest",
"buildsystem": "cmake-ninja",
"cleanup": ["*"],
"sources": [
{
"type": "archive",
Expand Down Expand Up @@ -43,6 +50,9 @@
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/sigc++-2.0"
],
"sources": [
{
"type": "archive",
Expand All @@ -53,6 +63,12 @@
},
{
"name": "cairomm",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/cairomm-1.0"
],
"sources": [
{
"type": "archive",
Expand All @@ -63,6 +79,13 @@
},
{
"name": "glibmm",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/glibmm-2.4",
"/lib/giomm-2.4"
],
"sources": [
{
"type": "archive",
Expand All @@ -73,6 +96,12 @@
},
{
"name": "pangomm",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/pangomm-1.4"
],
"sources": [
{
"type": "archive",
Expand All @@ -83,6 +112,12 @@
},
{
"name": "atkmm",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/atkmm-1.6"
],
"sources": [
{
"type": "archive",
Expand All @@ -91,29 +126,15 @@
}
]
},
{
"name": "graphene-gobject-1.0",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "http://archive.ubuntu.com/ubuntu/pool/main/g/graphene/graphene_1.8.0.orig.tar.gz",
"md5": "d0ee65f4bdd30a5db4fd8d2ac46cd8cc"
}
]
},
{
"name": "gtk+-4.0",
"sources": [
{
"type": "archive",
"url": "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gtk+4.0/3.90.0-0ubuntu2/gtk+4.0_3.90.0.orig.tar.xz",
"sha256": "7bb33b4101a4b3e51dc286000d61d1130575c3e7dee88656f4b43fc2a5a05b97"
}
]
},
{
"name": "gtkmm",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/gtkmm-3.0",
"/lib/gdkmm-3.0"
],
"sources": [
{
"type": "archive",
Expand All @@ -124,6 +145,12 @@
},
{
"name": "libxml++-2.6",
"config-opts": [
"--disable-documentation"
],
"cleanup": [
"/lib/libxml++-2.6"
],
"sources": [
{
"type": "archive",
Expand All @@ -134,6 +161,10 @@
},
{
"name": "libpci",
"cleanup": [
"/sbin",
"/man"
],
"sources": [
{
"type": "archive",
Expand All @@ -157,32 +188,30 @@
{
"name": "adriconf",
"buildsystem": "cmake-ninja",
"config-opts": "-DCMAKE_INSTALL_PREFIX:PATH=/app",
"config-opts": ["-DENABLE_XWAYLAND=1"],
"sources": [
{
"type": "git",
"url": "https://github.com/jlHertel/adriconf",
"tag": "v1.2"
},
{
"type": "file",
"path": "br.com.jeanhertel.adriconf.appdata.xml"
"tag": "v1.4"
},
{
"type": "file",
"path": "br.com.jeanhertel.adriconf.desktop"
"type": "file",
"path": "br.com.jeanhertel.adriconf.appdata.xml"
},
{
"type": "file",
"path": "br.com.jeanhertel.adriconf.png"
"type": "shell",
"//": "FIXME: Upstream this, checking if running in flatpak",
"commands": [
"sed -i 's|/etc/drirc|/var/run/host/etc/drirc|' ConfigurationLoader.cpp"
]
}
],
"build-commands": [
"install -Dm644 br.com.jeanhertel.adriconf.appdata.xml /app/share/appdata/br.com.jeanhertel.adriconf.appdata.xml",
"install -Dm644 br.com.jeanhertel.adriconf.desktop /app/share/desktop/br.com.jeanhertel.adriconf.desktop",
"install -Dm644 br.com.jeanhertel.adriconf.png /app/share/icons/hicolor/256x256/br.com.jeanhertel.adriconf.png"

"install -Dm644 br.com.jeanhertel.adriconf.appdata.xml /app/share/appdata/br.com.jeanhertel.adriconf.appdata.xml",
"install -Dm644 flatpak/br.com.jeanhertel.adriconf.desktop /app/share/applications/br.com.jeanhertel.adriconf.desktop",
"install -Dm644 flatpak/br.com.jeanhertel.adriconf.png /app/share/icons/hicolor/256x256/apps/br.com.jeanhertel.adriconf.png"
]
}
]
}
}

0 comments on commit 996c338

Please sign in to comment.