aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sound-juicer/Makefile
blob: 11aa722a5ec9e84b2cea82d4b9be068180962ddc (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$

PORTNAME=   sound-juicer
PORTVERSION=    3.18.1
CATEGORIES= audio gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Clean, mean, and lean CD ripper for GNOME

BUILD_DEPENDS=  itstool:textproc/itstool
LIB_DEPENDS=    libmusicbrainz5.so:audio/libmusicbrainz5 \
        libdiscid.so:audio/libdiscid \
        libtag.so:audio/taglib \
        libcanberra.so:audio/libcanberra \
        libdbus-glib-1.so:devel/dbus-glib \
        libbrasero-media3.so:sysutils/brasero

PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
USE_GNOME=  gnomeprefix intlhack
USE_GSTREAMER1= cdparanoia flac good vorbis
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-ignore-missing-cd
INSTALLS_ICONS= yes
CFLAGS+=    -I${LOCALBASE}/include -Wno-error=format-nonliteral
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ENV=   XDG_CACHE_HOME=${WRKDIR}
INSTALL_TARGET= install-strip

GLIB_SCHEMAS=   org.gnome.sound-juicer.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|^\(SUBDIRS = .*\)tests\(.*\)|\1\2|' \
        ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|" == "|" = "|g' ${WRKSRC}/configure

.include <bsd.port.mk>