summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/nxtvepg
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/community/nxtvepg')
-rw-r--r--abs/not_built/extra/community/nxtvepg/PKGBUILD45
-rw-r--r--abs/not_built/extra/community/nxtvepg/nxtvepg-icon-16.pngbin0 -> 193 bytes
-rw-r--r--abs/not_built/extra/community/nxtvepg/nxtvepg-icon-32.pngbin0 -> 267 bytes
-rw-r--r--abs/not_built/extra/community/nxtvepg/nxtvepg-icon-48.pngbin0 -> 333 bytes
-rw-r--r--abs/not_built/extra/community/nxtvepg/nxtvepg.desktop10
-rw-r--r--abs/not_built/extra/community/nxtvepg/tcl_85.patch13
6 files changed, 68 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/nxtvepg/PKGBUILD b/abs/not_built/extra/community/nxtvepg/PKGBUILD
new file mode 100644
index 0000000..5de6bc7
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/PKGBUILD
@@ -0,0 +1,45 @@
+# Contributor: Perry3D <perry3d at gmail dot com>
+# Previous: Gilles CHAUVIN <gcnweb at gmail dot com>
+
+pkgname=nxtvepg
+pkgver=2.8.1
+pkgrel=2
+pkgdesc="A decoder for nexTView EPG an Electronic TV Programme Guide"
+url="http://nxtvepg.sf.net/"
+license="GPL"
+depends=('tcl>=8.5.0' 'tk' 'libxmu')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
+tcl_85.patch \
+$pkgname-icon-16.png $pkgname-icon-32.png $pkgname-icon-48.png \
+$pkgname.desktop)
+arch=('i686' 'x86_64')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+
+ msg "Applying patch for tcl/tk8.5..."
+ patch -p0 < ../tcl_85.patch
+
+ make || return 1
+
+ make prefix=$startdir/pkg/usr/ \
+ bindir=$startdir/pkg/usr/bin \
+ resdir=$startdir/pkg/usr/share/X11 \
+ INST_DB_DIR=$startdir/pkg/var/tmp/nxtvdb \
+ cfgdir=$startdir/pkg/usr/share/nxtvepg \
+ install
+
+ # Icons
+ for size in 16 32 48; do
+ install $startdir/src/$pkgname-icon-$size.png -D -m644 $startdir/pkg/usr/share/pixmaps/$pkgname-icon-$size.png
+ done
+
+ # .desktop file
+ install $startdir/src/$pkgname.desktop -D -m644 $startdir/pkg/usr/share/applications/$pkgname.desktop
+}
+md5sums=('0811b1b95537b3cbab9f8d18d1501411'
+ 'db5e77089204aeb35e84c7f5505664a6'
+ '5f7c220d3355b6f043a2bdd5acec8608'
+ '8988d3f33a90bd99f9a61d8f7e4f46c3'
+ '26d86bd935df1dc9328f07b879f30de2'
+ '5d14ff096ef811ccb7dc330e5d3a76fd')
diff --git a/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-16.png b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-16.png
new file mode 100644
index 0000000..e6d8a85
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-16.png
Binary files differ
diff --git a/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-32.png b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-32.png
new file mode 100644
index 0000000..9071f10
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-32.png
Binary files differ
diff --git a/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-48.png b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-48.png
new file mode 100644
index 0000000..a5f991b
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/nxtvepg-icon-48.png
Binary files differ
diff --git a/abs/not_built/extra/community/nxtvepg/nxtvepg.desktop b/abs/not_built/extra/community/nxtvepg/nxtvepg.desktop
new file mode 100644
index 0000000..6703dfc
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/nxtvepg.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Comment=Electronic TV Programme Guide
+Icon=/usr/share/pixmaps/nxtvepg-icon-48.png
+Exec=nxtvepg
+Name=nexTView EPG
+GenericName=electronic TV Programme Guide
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;
diff --git a/abs/not_built/extra/community/nxtvepg/tcl_85.patch b/abs/not_built/extra/community/nxtvepg/tcl_85.patch
new file mode 100644
index 0000000..9059a6c
--- /dev/null
+++ b/abs/not_built/extra/community/nxtvepg/tcl_85.patch
@@ -0,0 +1,13 @@
+--- Makefile.orig 2008-02-03 20:01:14.000000000 +0100
++++ Makefile 2008-02-03 20:01:23.000000000 +0100
+@@ -58,8 +58,8 @@
+ YACC = /usr/bin/yacc
+
+ # select Tcl/Tk version (8.5 recommended due to modernized widget appearence)
+-TCL_VER := $(shell echo 'puts [package require Tcl]' | tclsh)
+-#TCL_VER = 8.5
++#TCL_VER := $(shell echo 'puts [package require Tcl]' | tclsh)
++TCL_VER = 8.5
+
+ ifeq ($(shell test -d /usr/include/tcl$(TCL_VER) && echo YES),YES)
+ INCS += -I/usr/include/tcl$(TCL_VER)