Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
pureos-store
Commits
52a011a4
Commit
52a011a4
authored
Sep 02, 2013
by
Richard Hughes
Browse files
Add --enable-offline-appstream-data configure switch
parent
360de72b
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
52a011a4
...
...
@@ -90,6 +90,13 @@ AS_IF([test "$enable_man" != no], [
])
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
# ostree doesn't have networking
AC_ARG_ENABLE(offline-appstream-data,
[AS_HELP_STRING([--enable-offline-appstream-data],
[ship offline appstream data [default=yes]])],,
enable_offline_appstream_data=yes)
AM_CONDITIONAL(ENABLE_OFFLINE_APPSTREAM_DATA, test "$enable_offline_appstream_data" != no)
dnl ---------------------------------------------------------------------------
dnl - Makefiles, etc.
dnl ---------------------------------------------------------------------------
...
...
@@ -109,6 +116,7 @@ echo "
prefix: ${prefix}
datadir: ${datadir}
Offline AppStream data: ${enable_offline_appstream_data}
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
...
...
data/Makefile.am
View file @
52a011a4
...
...
@@ -14,6 +14,7 @@ dist_resources_DATA = \
appdatadir
=
$(datadir)
/appdata
appdata_files
=
gnome-software.appdata.xml
if
ENABLE_OFFLINE_APPSTREAM_DATA
appstream.xml.gz
:
wget
-N
http://people.freedesktop.org/~hughsient/temp/appstream.xml.gz
appstream-icons.tar.gz
:
...
...
@@ -24,6 +25,7 @@ dist_appstream_DATA = appstream.xml.gz appstream-icons.tar.gz
EXTRA_DIST
=
\
$(appdata_files)
endif
CLEANFILES
=
\
$(dist_appstream_DATA)
...
...
Write
Preview
Supports
Markdown
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