void-packages/srcpkgs/io.elementary.music/template

37 lines
1.3 KiB
Bash

# Template file for 'io.elementary.music'
pkgname=io.elementary.music
version=5.0
revision=2
wrksrc="music-${version}"
build_style=meson
configure_args="-Dbuild-plugins=true -Dplugins=audioplayer,cdrom,ipod"
hostmakedepends="vala desktop-file-utils intltool pkg-config AppStream glib-devel"
makedepends="taglib-devel granite-devel vala-devel gtk+3-devel libgee08-devel
clutter-gtk-devel dbus-glib-devel libgda-devel libgpod-devel libxml2-devel
json-glib-devel libnotify-devel libsoup-devel zeitgeist-devel libpeas-devel"
short_desc="Music player and library designed for elementary OS"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/music"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=802f8268f9bb226f2940a69fbaf4068ac70b28a3cf9422fb56fff9a5ac1f7914
libio.elementary.music_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libio.elementary.music-devel_package() {
short_desc+=" - library development files"
depends="libio.elementary.music>=${version} granite-devel
gst-plugins-base1-devel gstreamer1-devel gtk+3-devel libglib-devel
libpeas-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/vala
}
}