Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominika Liberda
aports
Commits
c74434df
Commit
c74434df
authored
5 years ago
by
Leo
Browse files
Options
Downloads
Patches
Plain Diff
community/gnome-maps: upgrade to 3.34.0
parent
4f9670a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/gnome-maps/APKBUILD
+4
-6
4 additions, 6 deletions
community/gnome-maps/APKBUILD
community/gnome-maps/Add-validation-tests-for-desktop-and-appdata.patch
+0
-55
0 additions, 55 deletions
...e-maps/Add-validation-tests-for-desktop-and-appdata.patch
with
4 additions
and
61 deletions
community/gnome-maps/APKBUILD
+
4
−
6
View file @
c74434df
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname
=
gnome-maps
pkgname
=
gnome-maps
pkgver
=
3.3
2.2.1
pkgver
=
3.3
4.0
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"A simple map client"
pkgdesc
=
"A simple map client"
url
=
"https://wiki.gnome.org/Apps/Maps"
url
=
"https://wiki.gnome.org/Apps/Maps"
arch
=
"all !s390x"
# gjs missing
arch
=
"all !s390x"
# gjs missing
license
=
"GPL-2.0-or-later"
license
=
"GPL-2.0-or-later"
depends
=
"gfbgraph"
depends
=
"gfbgraph
gjs geoclue
"
makedepends
=
"meson glib-dev gjs-dev gtk+3.0-dev gobject-introspection-dev geoclue-dev
makedepends
=
"meson glib-dev gjs-dev gtk+3.0-dev gobject-introspection-dev geoclue-dev
libgee-dev folks-dev geocode-glib-dev libchamplain-dev libxml2-dev rest-dev"
libgee-dev folks-dev geocode-glib-dev libchamplain-dev libxml2-dev rest-dev"
checkdepends
=
"appstream-glib desktop-file-utils"
checkdepends
=
"appstream-glib desktop-file-utils"
subpackages
=
"
$pkgname
-lang"
subpackages
=
"
$pkgname
-lang"
source
=
"https://download.gnome.org/sources/gnome-maps/
${
pkgver
%.*.*
}
/gnome-maps-
${
pkgver
}
.tar.xz
source
=
"https://download.gnome.org/sources/gnome-maps/
${
pkgver
%.*
}
/gnome-maps-
$pkgver
.tar.xz"
Add-validation-tests-for-desktop-and-appdata.patch"
build
()
{
build
()
{
meson
\
meson
\
...
@@ -34,5 +33,4 @@ package() {
...
@@ -34,5 +33,4 @@ package() {
DESTDIR
=
"
$pkgdir
"
ninja
-C
output
install
DESTDIR
=
"
$pkgdir
"
ninja
-C
output
install
}
}
sha512sums
=
"484277dbbf244c5f50f8761c26db8ab31a2294152bc0f7fd81d921802f67cb6fa98e7f2871439c896fb06d5fc11e41cc4a960fa5f552e436e8e756efed80a821 gnome-maps-3.32.2.1.tar.xz
sha512sums
=
"c2d03d91670d9ad3e4d7481b7bb4314521a136fcc3292766dc4c7bee712f5b9ef18738780419cfd6ffe24a0fe26d1b74952485a33be2eb968831f0234d46aa17 gnome-maps-3.34.0.tar.xz"
88017be4f6bb46c6ee28fbf475038300fe9ddacf4dc9484225278239b89b3c91b97a8c7d0194a48c503327affe8e10d600d44514a5813ffc56846c446e9434c5 Add-validation-tests-for-desktop-and-appdata.patch"
This diff is collapsed.
Click to expand it.
community/gnome-maps/Add-validation-tests-for-desktop-and-appdata.patch
deleted
100644 → 0
+
0
−
55
View file @
4f9670a8
Upstream: Yes
Reason: Actually run tests
diff --git a/data/meson.build b/data/meson.build
index 349ff25..2be4ee7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -13,7 +13,7 @@
install_data(
desktop = app_id + '.desktop'
-custom_target('desktop-file',
+desktop_file = custom_target('desktop-file',
input: desktop + '.in',
output: desktop,
install: true,
@@ -32,7 +32,7 @@
install_data(
appdata = app_id + '.appdata.xml'
-i18n.merge_file(
+appdata_file = i18n.merge_file(
appdata,
input: appdata + '.in',
output: appdata,
@@ -53,4 +53,28 @@
configure_file(
install_dir: join_paths(datadir, 'dbus-1', 'services')
)
-subdir('icons')
+desktop_file_validate = find_program('desktop-file-validate', required: false)
+if desktop_file_validate.found()
+ test(
+ 'validate-desktop',
+ desktop_file_validate,
+ args: [
+ desktop_file.full_path()
+ ]
+ )
+endif
+
+appstream_util = find_program('appstream-util', required: false)
+if appstream_util.found()
+ test(
+ 'validate-appdata',
+ appstream_util,
+ args: [
+ 'validate-relax',
+ '--nonet',
+ appdata_file.full_path()
+ ]
+ )
+endif
+
+subdir('icons')
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment