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.4
revision=1
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=375b9e4d7c6c842eb0d738e5073cf28198328768df2f3a2fa9895bc194a41d94
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
}
}