-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:artemanufrij/regextester
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,6 @@ | |
<description> | ||
<p>A regular expression is a special text string that describes a search pattern. Regex Tester shows all matches of search pattern in a string.</p> | ||
</description> | ||
<categories> | ||
<category>Development</category> | ||
</categories> | ||
<custom> | ||
<value key="x-appcenter-color-primary">#3a9104</value> | ||
<value key="x-appcenter-color-primary-text">rgb(255,255,255)</value> | ||
|
@@ -21,7 +18,12 @@ | |
<url type="homepage">https://github.com/artemanufrij/regextester</url> | ||
<url type="bugtracker">https://github.com/artemanufrij/regextester/issues</url> | ||
<url type="help">https://github.com/artemanufrij/regextester/issues</url> | ||
<url type="donation">https://www.paypal.me/ArtemAnufrij</url> | ||
<url type="translate">https://github.com/artemanufrij/regextester</url> | ||
<translation type="gettext">com.github.artemanufrij.regextester</translation> | ||
<update_contact>[email protected]</update_contact> | ||
<launchable type="desktop-id">com.github.artemanufrij.regextester.desktop</launchable> | ||
|
||
<screenshots> | ||
<screenshot type="default"> | ||
<image>https://raw.githubusercontent.com/artemanufrij/regextester/master/screenshots/Screenshot.png</image> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ executable( | |
], | ||
install: true | ||
) | ||
|
||
meson.add_install_script('meson/post_install.py') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
import subprocess | ||
|
||
prefix = os.environ.get('MESON_INSTALL_PREFIX', '/usr') | ||
datadir = os.path.join(prefix, 'share') | ||
|
||
# Packaging tools define DESTDIR and this isn't needed for them | ||
if 'DESTDIR' not in os.environ: | ||
|
||
|
||
print('Compiling gsettings schemas...') | ||
schema_dir = os.path.join(datadir, 'glib-2.0/schemas') | ||
subprocess.call(['glib-compile-schemas', schema_dir]) | ||
|
||
print('Updating icon cache...') | ||
icon_cache_dir = os.path.join(datadir, 'icons', 'hicolor') | ||
|
||
subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir]) | ||
|
||
print('Updating desktop database...') | ||
desktop_database_dir = os.path.join(datadir, 'applications') | ||
subprocess.call(['update-desktop-database', '-q', desktop_database_dir]) |