Commit 6e7b8a71 authored by Canek Peláez's avatar Canek Peláez
Browse files

Update po for meson.

parent e03a73f5
Loading
Loading
Loading
Loading
+14 −3
Changes for Makefile.am: 14 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -239,14 +239,25 @@ src/application/resources.c: $(gresource_file) $(resource_files)
		--sourcedir=$(top_srcdir)/data			\
		--generate-source $<

# ====== Desktop files
# ====== Desktop file
MSGFMT_DESKTOP_OPTIONS =						\
	--keyword=GenericName						\
	--keyword=Comment

data_desktopdir = $(datadir)/applications
data_desktop_DATA = data/mlm.desktop
mlm_desktop_in_file = $(top_srcdir)/data/mlm.desktop.in
data/mlm.desktop: $(mlm_desktop_in_file)
	$(AM_V_GEN)$(MSGFMT) $(MSGFMT_DESKTOP_OPTIONS) 			\
		--desktop --template $< 				\
		-d $(top_srcdir)/po -o $@

desktopdir = $(datadir)/applications
desktop_DATA = data/mlm.desktop

# ====== Icons
data_iconsdir = $(datadir)/icons/hicolor/scalable/apps
data_icons_DATA = data/mlm.svg

# ====== Extra files
noinst_DATA =							\
	vapi/config.vapi					\
	vapi/id3tag.vapi					\

data/meson.build

0 → 100644
+12 −0
Changes for data/meson.build: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
msgfmt = find_program('msgfmt')
podir = join_paths(meson.source_root(), 'po')

custom_target(
  'desktop-file',
  input: 'mlm.desktop.in',
  output: 'mlm.desktop',
  install: true,
  install_dir: join_paths(get_option('datadir'), 'applications'),
  command: [msgfmt, '--desktop', '--template', '@INPUT@',
            '-d', podir, '-o', '@OUTPUT@'],
)
+0 −0

File moved.

+1 −1
Changes for data/mlm.ui: 1 added line, 1 removed line.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.12"/>
  <requires lib="gtk+" version="3.18"/>
  <object class="GtkListStore" id="genre_model">
    <columns>
      <!-- column-name name -->
+3 −0
Changes for meson.build: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -113,3 +113,6 @@ executable('src/mlm-gui', mlm_gui_sources + [ gresources ],
           dependencies: mlm_gui_dependencies,
           include_directories: [ id3tagx_includes, mlm_includes ],
           link_with: [ id3tagx, mlm ])

subdir('data')
subdir('po')
Loading