void-packages/srcpkgs/xnoise/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

35 lines
1 KiB
Bash

# Template file for 'xnoise'.
pkgname=xnoise
version=0.2.21
revision=2
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libtaginfo-devel sqlite-devel
libnotify-devel libsoup-devel gst-plugins-base1-devel gst-plugins-good1
desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme gst-plugins-good1"
short_desc="Media player for GTK+ with a slick GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.xnoise-media-player.com/"
distfiles="https://bitbucket.org/shuerhaaken/xnoise/downloads/xnoise-${version}.tar.gz"
checksum=6c501091ac5a59aa0596978aa8d4750cc12d6bc9a823fd57542d9ab8e3366681
libxnoise_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/libxnoise.so.*"
}
}
xnoise-devel_package() {
depends="libxnoise>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
}
}