summaryrefslogtreecommitdiff
path: root/package/xawtv
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-18 22:27:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-18 22:27:12 +0200
commit8c31bd28fcd8763cdee09d2ac0456e645a8ce663 (patch)
tree86a8cdaa94a30dc249541b8490241b8bb1f7788a /package/xawtv
parent5f68d677f255d6742ee4d154e8c92527d817e48e (diff)
add new package xawtv
Diffstat (limited to 'package/xawtv')
-rw-r--r--package/xawtv/Makefile38
-rw-r--r--package/xawtv/patches/patch-Makefile17
-rw-r--r--package/xawtv/patches/patch-Makefile.orig10
-rw-r--r--package/xawtv/patches/patch-Makefile_in11
-rw-r--r--package/xawtv/patches/patch-mk_Compile_mk11
5 files changed, 87 insertions, 0 deletions
diff --git a/package/xawtv/Makefile b/package/xawtv/Makefile
new file mode 100644
index 000000000..238f3bd4b
--- /dev/null
+++ b/package/xawtv/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xawtv
+PKG_VERSION:= 3.102
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3ee0f1d682d7e5734121bc420a74efd5
+PKG_DESCR:= Video & Webcam application
+PKG_BUILDDEP:= libXinerama v4l-utils
+PKG_DEPENDS:= libxinerama libv4l
+PKG_SECTION:= x11/apps
+PKG_SITES:= http://linuxtv.org/downloads/xawtv/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XAWTV,xawtv,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+xawtv-install:
+ $(INSTALL_DIR) $(IDIR_XAWTV)/etc/X11/app-defaults
+ $(INSTALL_DATA) $(WRKINST)/etc/X11/app-defaults/Xawtv \
+ $(IDIR_XAWTV)/etc/X11/app-defaults
+ $(INSTALL_DIR) $(IDIR_XAWTV)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xawtv \
+ $(IDIR_XAWTV)/usr/bin
+ $(INSTALL_DIR) $(IDIR_XAWTV)/usr/lib/xawtv
+ $(CP) $(WRKINST)/usr/lib/xawtv/*.so \
+ $(IDIR_XAWTV)/usr/lib/xawtv
+ $(INSTALL_DIR) $(IDIR_XAWTV)/usr/share/xawtv
+ $(CP) $(WRKINST)/usr/share/xawtv/* \
+ $(IDIR_XAWTV)/usr/share/xawtv
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xawtv/patches/patch-Makefile b/package/xawtv/patches/patch-Makefile
new file mode 100644
index 000000000..814892d9e
--- /dev/null
+++ b/package/xawtv/patches/patch-Makefile
@@ -0,0 +1,17 @@
+--- xawtv-3.102.orig/Makefile 2011-09-05 19:26:02.000000000 +0200
++++ xawtv-3.102/Makefile 2011-09-18 21:53:53.767990433 +0200
+@@ -1,6 +1,6 @@
+
+ # passed to configure
+-prefix = /usr/local
++prefix = /usr
+
+ # arch name -- for build directory
+ arch := $(shell echo "arch-`uname -m`-`uname -s`" | tr "A-Z" "a-z")
+@@ -21,5 +21,5 @@ tag archive rpm dsc debs pbuild release
+
+ $(arch)/Makefile: configure
+ mkdir -p $(arch)
+- (cd $(arch); ../configure \
++ (cd $(arch); ../configure --disable-xft \
+ --prefix=$(prefix) )
diff --git a/package/xawtv/patches/patch-Makefile.orig b/package/xawtv/patches/patch-Makefile.orig
new file mode 100644
index 000000000..ad7a5446d
--- /dev/null
+++ b/package/xawtv/patches/patch-Makefile.orig
@@ -0,0 +1,10 @@
+--- xawtv-3.102.orig/Makefile 2011-09-05 19:26:02.000000000 +0200
++++ xawtv-3.102/Makefile 2011-09-18 20:40:23.159241503 +0200
+@@ -1,6 +1,6 @@
+
+ # passed to configure
+-prefix = /usr/local
++prefix = /usr
+
+ # arch name -- for build directory
+ arch := $(shell echo "arch-`uname -m`-`uname -s`" | tr "A-Z" "a-z")
diff --git a/package/xawtv/patches/patch-Makefile_in b/package/xawtv/patches/patch-Makefile_in
new file mode 100644
index 000000000..cac9d71bc
--- /dev/null
+++ b/package/xawtv/patches/patch-Makefile_in
@@ -0,0 +1,11 @@
+--- xawtv-3.102.orig/Makefile.in 2011-09-05 19:26:02.000000000 +0200
++++ xawtv-3.102/Makefile.in 2011-09-18 20:42:35.107990034 +0200
+@@ -3,7 +3,7 @@ VPATH := $(srcdir)
+
+ # for package builds (buildroot install + no root privs needed)
+ DESTDIR=
+-SUID_ROOT=-m4755 -o root
++SUID_ROOT=-m755
+ STRIP_FLAG=
+
+ # install paths
diff --git a/package/xawtv/patches/patch-mk_Compile_mk b/package/xawtv/patches/patch-mk_Compile_mk
new file mode 100644
index 000000000..0c64d48fc
--- /dev/null
+++ b/package/xawtv/patches/patch-mk_Compile_mk
@@ -0,0 +1,11 @@
+--- xawtv-3.102.orig/mk/Compile.mk 2011-09-05 19:26:02.000000000 +0200
++++ xawtv-3.102/mk/Compile.mk 2011-09-18 20:39:27.867990854 +0200
+@@ -13,7 +13,7 @@
+ ########################################################################
+
+ # verbose yes/no
+-verbose ?= no
++verbose ?= yes
+
+ # dependency files
+ tmpdep = mk/$(subst /,_,$*).tmp