blob: a43282953dcb0ee855697223047fc4c107c2b119 (
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
|
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
PORTNAME= sound-juicer
PORTVERSION= 3.16.1
PORTREVISION= 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:${PORTSDIR}/textproc/itstool
LIB_DEPENDS= libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \
libdiscid.so:${PORTSDIR}/audio/libdiscid \
libtag.so:${PORTSDIR}/audio/taglib \
libcanberra.so:${PORTSDIR}/audio/libcanberra \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libbrasero-media3.so:${PORTSDIR}/sysutils/brasero
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gmake 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>
|