Skip to content

Commit

Permalink
Start porting to meson python build (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbasu authored Oct 16, 2024
1 parent 99a3539 commit cf04356
Show file tree
Hide file tree
Showing 9 changed files with 386 additions and 218 deletions.
Empty file added data/meson.build
Empty file.
29 changes: 29 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
project('battery-monitor',
version: run_command('head', '-1', 'debian/changelog', check: true).stdout().split(' ')[1].strip('(').strip(')'),
default_options: ['warning_level=3',
'prefix=/usr',
]
)


i18n = import('i18n')
gnome = import('gnome')
pymod = import('python')
python = pymod.find_installation('python3')
gettext_package = meson.project_name()

# dependency('gobject')
# dependency('bs4')
# dependency('configobj')

datadir = get_option('datadir')

subdir('data')
subdir('po')
subdir('src')

gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)
1 change: 1 addition & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
en
6 changes: 3 additions & 3 deletions po/POTFILES.in → po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ src/BatteryMonitor/indicator.py
src/BatteryMonitor/__init__.py
src/BatteryMonitor/main.py
src/BatteryMonitor/Notification.py
src/BatteryMonitor/ui/battery-monitor.ui
src/BatteryMonitor/ui/logger.ui
src/BatteryMonitor/ui/shortcuts.ui
[type: gettext/glade]src/BatteryMonitor/ui/battery-monitor.ui
[type: gettext/glade]src/BatteryMonitor/ui/logger.ui
[type: gettext/glade]src/BatteryMonitor/ui/shortcuts.ui
Loading

0 comments on commit cf04356

Please sign in to comment.