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.3
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=b74f1a978e84258ed7e21478e7228e6fd058ede2fdf7a3adfa29eabd65e3a7c7
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
}
}