svn commit: r342095 - in head/multimedia/freetuxtv: . files
Rusmir Dusko
nemysis at FreeBSD.org
Sat Feb 1 01:16:59 UTC 2014
Author: nemysis
Date: Sat Feb 1 01:16:58 2014
New Revision: 342095
URL: http://svnweb.freebsd.org/changeset/ports/342095
QAT: https://qat.redports.org/buildarchive/r342095/
Log:
- Remove dependency glib20 pulled in by other deps (gtk20)
- Break lines around 80 characters
- Add pkg-message
- Set PORTSCOUT, Upstream use GTK3 in newer Versions
- Add REINPLACE, fix bad GTK code
Added:
head/multimedia/freetuxtv/files/
head/multimedia/freetuxtv/files/pkg-message.in (contents, props changed)
Modified:
head/multimedia/freetuxtv/Makefile
Modified: head/multimedia/freetuxtv/Makefile
==============================================================================
--- head/multimedia/freetuxtv/Makefile Sat Feb 1 00:57:50 2014 (r342094)
+++ head/multimedia/freetuxtv/Makefile Sat Feb 1 01:16:58 2014 (r342095)
@@ -26,12 +26,12 @@ LIB_DEPENDS= libvlc.so:${PORTSDIR}/multi
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
USES= gmake iconv pathfix pkgconfig
-USE_GNOME= glib20 gtk20 cairo
+USE_GNOME= gtk20 cairo
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-gtk=2.0
-CFLAGS= -Wno-return-type
+CFLAGS+= -Wno-return-type -w
INSTALLS_ICONS= yes
PORTDOCS= AUTHORS ChangeLog README
@@ -42,12 +42,19 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+SUB_FILES= pkg-message
+
+# Wrong versioning upstream, Upstream use GTK3 in newer Versions
+PORTSCOUT= ignore:1
+
post-patch:
@${REINPLACE_CMD} -e 's|$${pkgdatadir}/doc|$${PREFIX}/share/doc/${PORTNAME}|' \
-e 's|install-data-am: install-freetuxtvdocDATA|install-data-am: |' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's/libvlc_media_new_path/libvlc_media_new_location/' \
${WRKSRC}/lib/libvlc-gtk/gtk-libvlc-media-player.c
+ @${REINPLACE_CMD} -e 's|g_strcasecmp|g_ascii_strcasecmp|' \
+ ${WRKSRC}/src/main.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Added: head/multimedia/freetuxtv/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/freetuxtv/files/pkg-message.in Sat Feb 1 01:16:58 2014 (r342095)
@@ -0,0 +1,9 @@
+===============================================================================
+
+FreetuxTV has been installed.
+
+These channels you can browse for FreetuxTV
+
+ http://database.freetuxtv.net/
+
+===============================================================================
More information about the svn-ports-all
mailing list