# $FreeBSD: tags/RELEASE_12_1_0/multimedia/celluloid/Makefile 508394 2019-08-08 16:48:41Z jbeich $

PORTNAME=	celluloid
PORTVERSION=	0.17
CATEGORIES=	multimedia
MASTER_SITES=	https://github.com/${PORTNAME}-player/${PORTNAME}/releases/download/v${PORTVERSION}/

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Simple GTK+ frontend for mpv

LICENSE=	GPLv3+

LIB_DEPENDS=	libepoxy.so:graphics/libepoxy \
		libmpv.so:multimedia/mpv

USES=		compiler:c11 desktop-file-utils gettext-tools gmake pkgconfig tar:xz
USE_GNOME=	cairo gtk30
GNU_CONFIGURE=	yes
GLIB_SCHEMAS=	io.github.GnomeMpv.gschema.xml \
		io.github.celluloid_player.Celluloid.gschema.xml
INSTALLS_ICONS=	yes
LDFLAGS+=	-Wl,--as-needed # gdkpixbuf2

.include <bsd.port.mk>
