From 6c735a082be545bd9bc463ccf93857f19688c3c9 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 18 Nov 2024 14:39:24 -0800 Subject: [PATCH] meson: add def file Signed-off-by: Rosen Penev --- libmpdclient.def | 476 +++++++++++++++++++++++++++++++++++++++++++++++ meson.build | 4 +- 2 files changed, 477 insertions(+), 3 deletions(-) create mode 100644 libmpdclient.def diff --git a/libmpdclient.def b/libmpdclient.def new file mode 100644 index 0000000..25341a2 --- /dev/null +++ b/libmpdclient.def @@ -0,0 +1,476 @@ +LIBRARY libmpdclient +EXPORTS +mpd_async_events +mpd_async_free +mpd_async_get_error +mpd_async_get_error_message +mpd_async_get_fd +mpd_async_get_system_error +mpd_async_io +mpd_async_new +mpd_async_recv_line +mpd_async_recv_raw +mpd_async_send_command +mpd_async_send_command_v +mpd_async_set_keepalive +mpd_command_list_begin +mpd_command_list_end +mpd_connection_clear_error +mpd_connection_cmp_server_version +mpd_connection_free +mpd_connection_get_async +mpd_connection_get_error +mpd_connection_get_error_message +mpd_connection_get_fd +mpd_connection_get_server_error +mpd_connection_get_server_error_location +mpd_connection_get_server_version +mpd_connection_get_settings +mpd_connection_get_system_error +mpd_connection_new +mpd_connection_new_async +mpd_connection_set_keepalive +mpd_connection_set_timeout +mpd_count_db_songs +mpd_directory_begin +mpd_directory_dup +mpd_directory_feed +mpd_directory_free +mpd_directory_get_last_modified +mpd_directory_get_path +mpd_enqueue_pair +mpd_entity_begin +mpd_entity_feed +mpd_entity_free +mpd_entity_get_directory +mpd_entity_get_playlist +mpd_entity_get_song +mpd_entity_get_type +mpd_feature_name +mpd_feature_name_parse +mpd_idle_name +mpd_idle_name_parse +mpd_idle_parse_pair +mpd_lookup_consume_state +mpd_lookup_queue_save_mode +mpd_lookup_replay_gain_mode +mpd_lookup_single_state +mpd_message_begin +mpd_message_feed +mpd_message_free +mpd_message_get_channel +mpd_message_get_text +mpd_mount_begin +mpd_mount_feed +mpd_mount_free +mpd_mount_get_storage +mpd_mount_get_uri +mpd_neighbor_begin +mpd_neighbor_feed +mpd_neighbor_free +mpd_neighbor_get_display_name +mpd_neighbor_get_uri +mpd_output_begin +mpd_output_feed +mpd_output_first_attribute +mpd_output_free +mpd_output_get_attribute +mpd_output_get_enabled +mpd_output_get_id +mpd_output_get_name +mpd_output_get_plugin +mpd_output_next_attribute +mpd_parse_consume_state +mpd_parse_fingerprint_type +mpd_parse_queue_save_mode +mpd_parse_replay_gain_name +mpd_parse_single_state +mpd_parse_sticker +mpd_parser_feed +mpd_parser_free +mpd_parser_get_at +mpd_parser_get_message +mpd_parser_get_name +mpd_parser_get_server_error +mpd_parser_get_value +mpd_parser_is_discrete +mpd_parser_new +mpd_partition_free +mpd_partition_get_name +mpd_partition_new +mpd_playlist_begin +mpd_playlist_dup +mpd_playlist_feed +mpd_playlist_free +mpd_playlist_get_last_modified +mpd_playlist_get_path +mpd_playlist_search_add_window +mpd_playlist_search_begin +mpd_playlist_search_cancel +mpd_playlist_search_commit +mpd_position_whence_char +mpd_recv_albumart +mpd_recv_binary +mpd_recv_directory +mpd_recv_entity +mpd_recv_idle +mpd_recv_message +mpd_recv_mount +mpd_recv_neighbor +mpd_recv_output +mpd_recv_pair +mpd_recv_pair_named +mpd_recv_pair_tag +mpd_recv_partition +mpd_recv_playlist +mpd_recv_queue_change_brief +mpd_recv_readpicture +mpd_recv_replay_gain_status +mpd_recv_song +mpd_recv_song_id +mpd_recv_stats +mpd_recv_status +mpd_recv_sticker +mpd_recv_update_id +mpd_response_finish +mpd_response_next +mpd_return_pair +mpd_return_sticker +mpd_run_add +mpd_run_add_id +mpd_run_add_id_to +mpd_run_add_id_whence +mpd_run_add_tag_id +mpd_run_add_whence +mpd_run_albumart +mpd_run_all_protocol_features +mpd_run_all_tag_types +mpd_run_binarylimit +mpd_run_change_volume +mpd_run_clear +mpd_run_clear_all_tags_id +mpd_run_clear_protocol_features +mpd_run_clear_tag_id +mpd_run_clear_tag_types +mpd_run_clearerror +mpd_run_consume +mpd_run_consume_state +mpd_run_crossfade +mpd_run_current_song +mpd_run_delete +mpd_run_delete_id +mpd_run_delete_partition +mpd_run_delete_range +mpd_run_disable_output +mpd_run_disable_protocol_features +mpd_run_disable_tag_types +mpd_run_enable_output +mpd_run_enable_protocol_features +mpd_run_enable_tag_types +mpd_run_get_queue_song_id +mpd_run_get_queue_song_pos +mpd_run_get_volume +mpd_run_getfingerprint_chromaprint +mpd_run_idle +mpd_run_idle_mask +mpd_run_load +mpd_run_load_range +mpd_run_load_range_to +mpd_run_mixrampdb +mpd_run_mixrampdelay +mpd_run_mount +mpd_run_move +mpd_run_move_id +mpd_run_move_id_whence +mpd_run_move_output +mpd_run_move_range +mpd_run_move_range_whence +mpd_run_move_whence +mpd_run_newpartition +mpd_run_next +mpd_run_noidle +mpd_run_output_set +mpd_run_password +mpd_run_pause +mpd_run_play +mpd_run_play_id +mpd_run_play_pos +mpd_run_playlist_add +mpd_run_playlist_add_to +mpd_run_playlist_clear +mpd_run_playlist_delete +mpd_run_playlist_delete_range +mpd_run_playlist_move +mpd_run_playlist_move_range +mpd_run_previous +mpd_run_prio +mpd_run_prio_id +mpd_run_prio_range +mpd_run_random +mpd_run_range_id +mpd_run_readpicture +mpd_run_rename +mpd_run_repeat +mpd_run_replay_gain_mode +mpd_run_replay_gain_status +mpd_run_rescan +mpd_run_reset_tag_types +mpd_run_rm +mpd_run_save +mpd_run_save_queue +mpd_run_seek_current +mpd_run_seek_id +mpd_run_seek_id_float +mpd_run_seek_pos +mpd_run_send_message +mpd_run_set_volume +mpd_run_shuffle +mpd_run_shuffle_range +mpd_run_single +mpd_run_single_state +mpd_run_stats +mpd_run_status +mpd_run_sticker_delete +mpd_run_sticker_set +mpd_run_stop +mpd_run_subscribe +mpd_run_swap +mpd_run_swap_id +mpd_run_switch_partition +mpd_run_toggle_output +mpd_run_toggle_pause +mpd_run_unmount +mpd_run_unsubscribe +mpd_run_update +mpd_search_add_added_since_constraint +mpd_search_add_any_tag_constraint +mpd_search_add_base_constraint +mpd_search_add_db_songs +mpd_search_add_db_songs_to_playlist +mpd_search_add_expression +mpd_search_add_group_tag +mpd_search_add_modified_since_constraint +mpd_search_add_position +mpd_search_add_sort_name +mpd_search_add_sort_tag +mpd_search_add_tag_constraint +mpd_search_add_uri_constraint +mpd_search_add_window +mpd_search_cancel +mpd_search_commit +mpd_search_db_songs +mpd_search_db_tags +mpd_search_queue_songs +mpd_searchcount_db_songs +mpd_send_add +mpd_send_add_id +mpd_send_add_id_to +mpd_send_add_id_whence +mpd_send_add_tag_id +mpd_send_add_whence +mpd_send_albumart +mpd_send_all_protocol_features +mpd_send_all_tag_types +mpd_send_allowed_commands +mpd_send_binarylimit +mpd_send_change_volume +mpd_send_channels +mpd_send_clear +mpd_send_clear_all_tags_id +mpd_send_clear_protocol_features +mpd_send_clear_tag_id +mpd_send_clear_tag_types +mpd_send_clearerror +mpd_send_command +mpd_send_consume +mpd_send_consume_state +mpd_send_crossfade +mpd_send_current_song +mpd_send_delete +mpd_send_delete_id +mpd_send_delete_partition +mpd_send_delete_range +mpd_send_disable_output +mpd_send_disable_protocol_features +mpd_send_disable_tag_types +mpd_send_disallowed_commands +mpd_send_enable_output +mpd_send_enable_protocol_features +mpd_send_enable_tag_types +mpd_send_get_queue_song_id +mpd_send_get_queue_song_pos +mpd_send_get_volume +mpd_send_getfingerprint +mpd_send_idle +mpd_send_idle_mask +mpd_send_list_all +mpd_send_list_all_meta +mpd_send_list_files +mpd_send_list_meta +mpd_send_list_mounts +mpd_send_list_neighbors +mpd_send_list_playlist +mpd_send_list_playlist_meta +mpd_send_list_playlist_range +mpd_send_list_playlist_range_meta +mpd_send_list_playlists +mpd_send_list_protocol_features +mpd_send_list_protocol_features_available +mpd_send_list_queue_meta +mpd_send_list_queue_range_meta +mpd_send_list_tag_types +mpd_send_list_url_schemes +mpd_send_listpartitions +mpd_send_load +mpd_send_load_range +mpd_send_load_range_to +mpd_send_mixrampdb +mpd_send_mixrampdelay +mpd_send_mount +mpd_send_move +mpd_send_move_id +mpd_send_move_id_whence +mpd_send_move_output +mpd_send_move_range +mpd_send_move_range_whence +mpd_send_move_whence +mpd_send_newpartition +mpd_send_next +mpd_send_noidle +mpd_send_output_set +mpd_send_outputs +mpd_send_password +mpd_send_pause +mpd_send_play +mpd_send_play_id +mpd_send_play_pos +mpd_send_playlist_add +mpd_send_playlist_add_to +mpd_send_playlist_clear +mpd_send_playlist_delete +mpd_send_playlist_delete_range +mpd_send_playlist_move +mpd_send_playlist_move_range +mpd_send_playlistlength +mpd_send_previous +mpd_send_prio +mpd_send_prio_id +mpd_send_prio_range +mpd_send_queue_changes_brief +mpd_send_queue_changes_brief_range +mpd_send_queue_changes_meta +mpd_send_queue_changes_meta_range +mpd_send_random +mpd_send_range_id +mpd_send_read_comments +mpd_send_read_messages +mpd_send_readpicture +mpd_send_rename +mpd_send_repeat +mpd_send_replay_gain_mode +mpd_send_replay_gain_status +mpd_send_rescan +mpd_send_reset_tag_types +mpd_send_rm +mpd_send_save +mpd_send_save_queue +mpd_send_seek_current +mpd_send_seek_id +mpd_send_seek_id_float +mpd_send_seek_pos +mpd_send_send_message +mpd_send_set_volume +mpd_send_shuffle +mpd_send_shuffle_range +mpd_send_single +mpd_send_single_state +mpd_send_stats +mpd_send_status +mpd_send_sticker_delete +mpd_send_sticker_find +mpd_send_sticker_get +mpd_send_sticker_list +mpd_send_sticker_set +mpd_send_stickernames +mpd_send_stickernamestypes +mpd_send_stickertypes +mpd_send_stop +mpd_send_subscribe +mpd_send_swap +mpd_send_swap_id +mpd_send_switch_partition +mpd_send_toggle_output +mpd_send_toggle_pause +mpd_send_unmount +mpd_send_unsubscribe +mpd_send_update +mpd_settings_free +mpd_settings_get_host +mpd_settings_get_password +mpd_settings_get_port +mpd_settings_get_timeout_ms +mpd_settings_new +mpd_song_begin +mpd_song_dup +mpd_song_feed +mpd_song_free +mpd_song_get_added +mpd_song_get_audio_format +mpd_song_get_duration +mpd_song_get_duration_ms +mpd_song_get_end +mpd_song_get_id +mpd_song_get_last_modified +mpd_song_get_pos +mpd_song_get_prio +mpd_song_get_start +mpd_song_get_tag +mpd_song_get_uri +mpd_song_set_pos +mpd_stats_begin +mpd_stats_feed +mpd_stats_free +mpd_stats_get_db_play_time +mpd_stats_get_db_update_time +mpd_stats_get_number_of_albums +mpd_stats_get_number_of_artists +mpd_stats_get_number_of_songs +mpd_stats_get_play_time +mpd_stats_get_uptime +mpd_status_begin +mpd_status_feed +mpd_status_free +mpd_status_get_audio_format +mpd_status_get_consume +mpd_status_get_consume_state +mpd_status_get_crossfade +mpd_status_get_elapsed_ms +mpd_status_get_elapsed_time +mpd_status_get_error +mpd_status_get_kbit_rate +mpd_status_get_mixrampdb +mpd_status_get_mixrampdelay +mpd_status_get_next_song_id +mpd_status_get_next_song_pos +mpd_status_get_partition +mpd_status_get_queue_length +mpd_status_get_queue_version +mpd_status_get_random +mpd_status_get_repeat +mpd_status_get_single +mpd_status_get_single_state +mpd_status_get_song_id +mpd_status_get_song_pos +mpd_status_get_state +mpd_status_get_total_time +mpd_status_get_update_id +mpd_status_get_volume +mpd_sticker_search_add_sort +mpd_sticker_search_add_value_constraint +mpd_sticker_search_add_window +mpd_sticker_search_begin +mpd_sticker_search_cancel +mpd_sticker_search_commit +mpd_tag_name +mpd_tag_name_iparse +mpd_tag_name_parse diff --git a/meson.build b/meson.build index acebb0e..65413f6 100644 --- a/meson.build +++ b/meson.build @@ -153,14 +153,12 @@ libmpdclient = library('mpdclient', 'src/albumart.c', 'src/readpicture.c', 'src/position.c', - link_depends: [ - 'libmpdclient.ld' - ], include_directories: inc, dependencies: [ platform_deps, ], link_args: common_ldflags, + vs_module_defs: 'libmpdclient.def', version: meson.project_version(), soversion: splitted_version[0], install: true