aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pragha/Makefile
blob: 802a51737e9ce2696cee3af6448e8828ae9e71da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   pragha
PORTVERSION=    1.3.3
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   https://github.com/pragha-music-player/${PORTNAME}/releases/download/v${PORTVERSION}/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Lightweight music player

LICENSE=    GPLv3

LIB_DEPENDS=    libtag.so:audio/taglib \
    libpeas-1.0.so:devel/libpeas \
    libnotify.so:devel/libnotify \
    libkeybinder-3.0.so:x11/keybinder-gtk3 \
    libsoup-2.4.so:devel/libsoup \
    libtotem-plparser.so:multimedia/totem-pl-parser

USES=   compiler:c11 desktop-file-utils gettext-tools gmake libtool \
    pkgconfig sqlite tar:bz2
GNU_CONFIGURE=  yes
USE_GNOME=  glib20 gtk30 intltool intlhack
USE_GSTREAMER1= yes faad flac libav mad ogg speex
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

CFLAGS+=    -Wno-typedef-redefinition

CONFIGURE_ARGS=--disable-libglyr \
    --disable-gudev-1.0 \
    --disable-libmtp \
    --disable-rygel-server-2.2 \
    --disable-grilo-0.2 \
    --disable-libclastfm \
    --enable-taglib  \
    --enable-totem-plparser \
    --disable-libxfce4ui

OPTIONS_DEFINE= NLS
NLS_USES=   gettext-runtime
NLS_CONFIGURE_ENABLE=   nls
OPTIONS_SUB=    yes

.include <bsd.port.mk>