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

38 lines
1.3 KiB
Bash

# Template file for 'io.elementary.music'
pkgname=io.elementary.music
version=5.1.1
revision=1
wrksrc="music-${version}"
build_style=meson
configure_args="-Dbuild-plugins=true -Dplugins=audioplayer,cdrom,ipod"
hostmakedepends="vala desktop-file-utils gettext 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
libhandy1-devel"
short_desc="Music player and library designed for elementary OS"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/music"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=35e97ec496327b4eb388308168711bf9f8e976a857eb97bca21805f83abf9d15
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 libhandy1-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/vala
}
}