diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-02-01 09:16:58 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-02-01 09:16:58 +0800 |
commit | f99ed704c1a2efe29e594749712a423f22bf39b8 (patch) | |
tree | 551a0e8d095bbf485178fa9e1e4bfec731305631 /multimedia/freetuxtv | |
parent | 65cee48f6d2f1043c16a216dff00ec5503eb7289 (diff) | |
download | freebsd-ports-gnome-f99ed704c1a2efe29e594749712a423f22bf39b8.tar.gz freebsd-ports-gnome-f99ed704c1a2efe29e594749712a423f22bf39b8.tar.zst freebsd-ports-gnome-f99ed704c1a2efe29e594749712a423f22bf39b8.zip |
- 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
Diffstat (limited to 'multimedia/freetuxtv')
-rw-r--r-- | multimedia/freetuxtv/Makefile | 11 | ||||
-rw-r--r-- | multimedia/freetuxtv/files/pkg-message.in | 9 |
2 files changed, 18 insertions, 2 deletions
diff --git a/multimedia/freetuxtv/Makefile b/multimedia/freetuxtv/Makefile index fec96bbbca7f..3a40a80956cc 100644 --- a/multimedia/freetuxtv/Makefile +++ b/multimedia/freetuxtv/Makefile @@ -26,12 +26,12 @@ LIB_DEPENDS= libvlc.so:${PORTSDIR}/multimedia/vlc \ 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} diff --git a/multimedia/freetuxtv/files/pkg-message.in b/multimedia/freetuxtv/files/pkg-message.in new file mode 100644 index 000000000000..1cfbcc62756f --- /dev/null +++ b/multimedia/freetuxtv/files/pkg-message.in @@ -0,0 +1,9 @@ +=============================================================================== + +FreetuxTV has been installed. + +These channels you can browse for FreetuxTV + + http://database.freetuxtv.net/ + +=============================================================================== |