package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
713 B

package("libmpdclient")
set_homepage("https://musicpd.org/libs/libmpdclient/")
set_description("A stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages.")
add_urls("https://musicpd.org/download/libmpdclient/2/libmpdclient-$(version).tar.xz")
add_versions("2.19", "158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189")
add_deps("meson", "ninja")
on_install("linux", function (package)
import("package.tools.meson").install(package)
os.cp("include", package:installdir())
end)
on_test(function (package)
assert(package:has_cfuncs("mpd_connection_new", {includes = "mpd/connection.h"}))
end)