aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-03-27 03:19:18 +0800
committernox <nox@FreeBSD.org>2011-03-27 03:19:18 +0800
commit0de9ee4af2a7f4498e75519d5bbab1a94ac3f7d4 (patch)
treef896cb4e2343b1a462f73a834e5c366158c55802 /multimedia
parent581399bda80c5dcca6449cf90876a98b12a25004 (diff)
downloadfreebsd-ports-gnome-0de9ee4af2a7f4498e75519d5bbab1a94ac3f7d4.tar.gz
freebsd-ports-gnome-0de9ee4af2a7f4498e75519d5bbab1a94ac3f7d4.tar.zst
freebsd-ports-gnome-0de9ee4af2a7f4498e75519d5bbab1a94ac3f7d4.zip
http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin
Osd-Teletext displays the teletext directly on VDR's OSD. Both sound and video are played in the background. WWW: http://projects.vdr-developer.org/projects/show/plg-osdteletext
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/vdr-plugin-osdteletext/Makefile36
-rw-r--r--multimedia/vdr-plugin-osdteletext/distinfo2
-rw-r--r--multimedia/vdr-plugin-osdteletext/files/patch-Makefile15
-rw-r--r--multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.330
-rw-r--r--multimedia/vdr-plugin-osdteletext/pkg-descr6
-rw-r--r--multimedia/vdr-plugin-osdteletext/pkg-plist11
7 files changed, 101 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 9ac538fc853b..663264d2ab0f 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -341,6 +341,7 @@
SUBDIR += vdr-plugin-infosatepg
SUBDIR += vdr-plugin-iptv
SUBDIR += vdr-plugin-osdpip
+ SUBDIR += vdr-plugin-osdteletext
SUBDIR += vic
SUBDIR += vlc
SUBDIR += vodcatcher
diff --git a/multimedia/vdr-plugin-osdteletext/Makefile b/multimedia/vdr-plugin-osdteletext/Makefile
new file mode 100644
index 000000000000..f74111db6b84
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: vdr-plugin-osdteletext
+# Date created: Wed Apr 14 18:11:42 CEST 2010
+# Whom: Juergen Lock <nox@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vdr-plugin-osdteletext
+PORTVERSION= 0.9.0
+PORTREVISION= 5
+CATEGORIES= multimedia
+MASTER_SITES= http://projects.vdr-developer.org/attachments/download/416/
+DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nox@FreeBSD.org
+COMMENT= Video Disk Recorder - OSD teletext plugin
+
+PATCH_STRIP= -p1
+HAVE_CONFIGURE= yes
+PORTDOCS= COPYING README
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
+
+.include "${.CURDIR}/../vdr/Makefile.plugins"
+
+post-patch: post-patch-plugin
+
+post-install: post-install-pluginlocales
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.endif
+ ${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d /var/cache/vdr/vtx
+
+.include <bsd.port.mk>
diff --git a/multimedia/vdr-plugin-osdteletext/distinfo b/multimedia/vdr-plugin-osdteletext/distinfo
new file mode 100644
index 000000000000..a9f0571cb36a
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/distinfo
@@ -0,0 +1,2 @@
+SHA256 (vdr/vdr-osdteletext-0.9.0.tgz) = 6ae02a6918e8eababf49a9388a89740d1d56f3f63d2bcc99b4dc7c8108035240
+SIZE (vdr/vdr-osdteletext-0.9.0.tgz) = 60498
diff --git a/multimedia/vdr-plugin-osdteletext/files/patch-Makefile b/multimedia/vdr-plugin-osdteletext/files/patch-Makefile
new file mode 100644
index 000000000000..cf8be7f4f332
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- osdteletext-0.8.3/Makefile.orig
++++ osdteletext-0.8.3/Makefile
+@@ -110,8 +114,11 @@ dist: clean
+
+ clean:
+ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
+- @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
+
+ install:
++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
++ @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
++
++install-readme:
+ @install -d ../../man
+ @install README ../../man/$(PLUGIN).man
diff --git a/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3 b/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3
new file mode 100644
index 000000000000..2ca093201bf4
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3
@@ -0,0 +1,30 @@
+diff -ur orig/osdteletext-0.8.3/Makefile osdteletext-0.8.3/Makefile
+--- orig/osdteletext-0.8.3/Makefile 2009-05-25 20:28:59.000000000 +0200
++++ osdteletext-0.8.3/Makefile 2010-03-16 17:31:20.000000000 +0100
+@@ -94,7 +94,11 @@
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+ $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++ifdef FREEBSD
++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
++else
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
++endif
+
+ dist: clean
+ @-rm -rf $(TMPDIR)/$(ARCHIVE)
+diff -ur orig/osdteletext-0.8.3/txtrecv.c osdteletext-0.8.3/txtrecv.c
+--- orig/osdteletext-0.8.3/txtrecv.c 2009-05-25 20:28:59.000000000 +0200
++++ osdteletext-0.8.3/txtrecv.c 2010-03-16 17:29:53.000000000 +0100
+@@ -22,7 +22,11 @@
+ #include <pthread.h>
+ #include <signal.h>
+ #include <errno.h>
++#ifdef __FreeBSD__
++#include <sys/mount.h>
++#else
+ #include <sys/vfs.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/multimedia/vdr-plugin-osdteletext/pkg-descr b/multimedia/vdr-plugin-osdteletext/pkg-descr
new file mode 100644
index 000000000000..5499f356cda4
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/pkg-descr
@@ -0,0 +1,6 @@
+http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin
+
+Osd-Teletext displays the teletext directly on VDR's OSD.
+Both sound and video are played in the background.
+
+WWW: http://projects.vdr-developer.org/projects/show/plg-osdteletext
diff --git a/multimedia/vdr-plugin-osdteletext/pkg-plist b/multimedia/vdr-plugin-osdteletext/pkg-plist
new file mode 100644
index 000000000000..433ebd923320
--- /dev/null
+++ b/multimedia/vdr-plugin-osdteletext/pkg-plist
@@ -0,0 +1,11 @@
+lib/vdr/libvdr-osdteletext.so.1.7.17
+@exec /usr/bin/install -o %%VDR_USER%% -g %%VDR_GROUP%% -d /var/cache/vdr/vtx
+%%NLS%%share/locale/ca_ES/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/es_ES/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/fi_FI/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/it_IT/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/ru_RU/LC_MESSAGES/vdr-osdteletext.mo
+%%NLS%%share/locale/uk_UA/LC_MESSAGES/vdr-osdteletext.mo