View | Details | Raw Unified | Return to bug 262408
Collapse All | Expand All

(-)b/audio/icecast/Makefile (-1 / +1 lines)
Lines 25-31 LIB_DEPENDS= libcurl.so:ftp/curl \ Link Here
25
		libtheora.so:multimedia/libtheora \
25
		libtheora.so:multimedia/libtheora \
26
		libvorbis.so:audio/libvorbis
26
		libvorbis.so:audio/libvorbis
27
27
28
USES=		cpe gmake gnome localbase ssl
28
USES=		autoreconf cpe gmake gnome localbase libtool pkgconfig ssl
29
USE_GNOME=	libxml2 libxslt
29
USE_GNOME=	libxml2 libxslt
30
30
31
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
(-)b/audio/icecast/files/patch-conf_Makefile.am (-5 / +5 lines)
Lines 1-6 Link Here
1
--- conf/Makefile.in.orig	2016-01-04 21:07:07 UTC
1
--- conf/Makefile.am.orig	2022-03-06 05:37:59 UTC
2
+++ conf/Makefile.in
2
+++ conf/Makefile.am
3
@@ -539,8 +539,7 @@ uninstall-am: uninstall-docDATA
3
@@ -10,8 +10,7 @@ doc_DATA = icecast.xml.dist icecast_minimal.xml.dist i
4
 
4
 
5
 install-data-hook:
5
 install-data-hook:
6
 	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
6
 	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
Lines 8-12 Link Here
8
-	$(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml
8
-	$(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml
9
+	$(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml.sample
9
+	$(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml.sample
10
 
10
 
11
 icecast.xml.dist: $(srcdir)/icecast.xml.in
11
 edit = sed -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
12
 	$(edit) $(srcdir)/icecast.xml.in > icecast.xml.dist
12
 	-e 's,@localstatedir\@,$(localstatedir),g' \
(-)b/audio/icecast/files/patch-configure.in (+26 lines)
Added Link Here
1
--- configure.in.orig	2018-10-31 17:52:49 UTC
2
+++ configure.in
3
@@ -53,9 +53,20 @@ XIPH_NET
4
 
5
 dnl -- configure options --
6
 
7
-XIPH_PATH_XSLT
8
-XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$XSLT_CFLAGS])
9
-XIPH_VAR_PREPEND([XIPH_LIBS],[$XSLT_LIBS])
10
+PKG_CHECK_MODULES([LIBXSLT], [libxslt], [], [
11
+  AC_MSG_ERROR([${LIBXSLT_PKG_ERRORS}. libxslt is required.])
12
+])
13
+
14
+CFLAGS="${CFLAGS} ${LIBXSLT_CFLAGS}"
15
+LIBS="${LIBS} ${LIBXSLT_LIBS}"
16
+
17
+PKG_CHECK_MODULES([LIBXML2], [libxml-2.0], [], [
18
+  AC_MSG_ERROR([${LIBXML2_PKG_ERRORS}. libxml2 is required.])
19
+])
20
+AC_CHECK_FUNCS([xsltSaveResultToString])
21
+
22
+CFLAGS="${CFLAGS} ${LIBXML2_CFLAGS}"
23
+LIBS="${LIBS} ${LIBXML2_LIBS}"
24
 
25
 XIPH_PATH_VORBIS([
26
     XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$VORBIS_CFLAGS])

Return to bug 262408