void-packages/srcpkgs/gnome-mplayer/template

26 lines
953 B
Bash

# Template file for 'gnome-mplayer'
pkgname=gnome-mplayer
version=1.0.9
revision=5
build_style=gnu-configure
configure_args="--disable-schemas-install"
hostmakedepends="pkg-config intltool glib-devel"
# XXX missing libgpod
makedepends="dbus-glib-devel libnotify-devel gtk+3-devel gmtk-devel
libXScrnSaver-devel nautilus-devel alsa-lib-devel pulseaudio-devel
libgda-devel desktop-file-utils hicolor-icon-theme mplayer"
depends="mplayer desktop-file-utils hicolor-icon-theme"
short_desc="Simple MPlayer GUI for GNOME"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/kdekorte/gnome-mplayer"
distfiles="https://github.com/kdekorte/gnome-mplayer/archive/v${version}.tar.gz"
checksum=07e11bc42834dae14ad66f887e6045f2bea94eae7f797b624c9a099f806b5cde
CFLAGS="-fcommon"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
vsed -i '/^localedir =/s/libdir/datadir/' po/Makefile.in.in
}