change config to gsettings
This commit is contained in:
@@ -7,13 +7,13 @@ set (GETTEXT_PACKAGE "pamac-classic")
|
||||
set (RELEASE_NAME "pamac-classic")
|
||||
set (CMAKE_C_FLAGS "")
|
||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
set (VERSION "6.5.2")
|
||||
set (VERSION "6.6.0")
|
||||
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
|
||||
set (DOLLAR "$")
|
||||
|
||||
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-clean-cache/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-clean-cache/Config.vala)
|
||||
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||
set (VERSION "6.5.2")
|
||||
set (VERSION "6.6.0")
|
||||
add_definitions (${DEPS_CFLAGS})
|
||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||
@@ -26,7 +26,6 @@ include (ValaPrecompile)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} posix)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gtk+-3.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} json-glib-1.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gio-2.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} glib-2.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gobject-2.0)
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
int main () {
|
||||
var pamac_config = new Pamac.Config ("/etc/pamac.conf");
|
||||
var pamac_config = new Pamac.Config ();
|
||||
string rm_only_uninstalled_str = "";
|
||||
if (pamac_config.rm_only_uninstalled) {
|
||||
rm_only_uninstalled_str = "-u";
|
||||
|
@@ -4,14 +4,13 @@ cfg_pamac_clean_cache.set('PKGDATADIR', join_paths(get_option('prefix'),get_opti
|
||||
cfg_pamac_clean_cache.set('GETTEXT_PACKAGE', 'pamac-classic')
|
||||
cfg_pamac_clean_cache.set('RELEASE_NAME', 'pamac-classic')
|
||||
cfg_pamac_clean_cache.set('PREFIX', get_option('prefix'))
|
||||
cfg_pamac_clean_cache.set('VERSION', '6.5.2')
|
||||
cfg_pamac_clean_cache.set('VERSION', '6.6.0')
|
||||
cfg_pamac_clean_cache.set('TESTSRCDIR', meson.source_root())
|
||||
|
||||
cfgfile_4 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_clean_cache)
|
||||
|
||||
pamac_clean_cache_deps = [gtk_3_0_dep]
|
||||
pamac_clean_cache_deps += [json_glib_1_0_dep]
|
||||
pamac_clean_cache_deps += [gio_2_0_dep]
|
||||
pamac_clean_cache_deps += [glib_2_0_dep]
|
||||
pamac_clean_cache_deps += [gobject_2_0_dep]
|
||||
pamac_clean_cache_sources = [cfgfile_4]
|
||||
|
Reference in New Issue
Block a user