Added patches for as-needed, save CXXFLAGS in configure, new script-set.
authorMatthias Schwarzott <zzam@gentoo.org>
Mon, 19 Jun 2006 08:55:26 +0000 (08:55 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Mon, 19 Jun 2006 08:55:26 +0000 (08:55 +0000)
Package-Manager: portage-2.1.1_pre1-r1

media-video/noad/ChangeLog
media-video/noad/Manifest
media-video/noad/files/0.6.0-r3/confd_vdraddon.noad [new file with mode: 0644]
media-video/noad/files/0.6.0-r3/noad-reccmd [new file with mode: 0644]
media-video/noad/files/0.6.0-r3/reccmds.noad.conf [new file with mode: 0644]
media-video/noad/files/0.6.0-r3/record-50-noad.sh [new file with mode: 0644]
media-video/noad/files/digest-noad-0.6.0-r2
media-video/noad/files/digest-noad-0.6.0-r3 [new file with mode: 0644]
media-video/noad/files/noad-0.6.0-as-needed.diff [new file with mode: 0644]
media-video/noad/files/noad-0.6.0-cflags.diff [new file with mode: 0644]
media-video/noad/noad-0.6.0-r3.ebuild [new file with mode: 0644]

index 1b52363a0912ff89c0a7903737bdb2c0e6119e93..3e55b2e562237ca5650d94b9e1c9bfedaabf0693 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for media-video/noad
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.5 2006/05/19 22:26:16 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.6 2006/06/19 08:55:26 zzam Exp $
+
+*noad-0.6.0-r3 (19 Jun 2006)
+
+  19 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
+  +files/0.6.0-r3/noad-reccmd, +files/noad-0.6.0-as-needed.diff,
+  +files/noad-0.6.0-cflags.diff, +files/0.6.0-r3/record-50-noad.sh,
+  +files/0.6.0-r3/confd_vdraddon.noad, +files/0.6.0-r3/reccmds.noad.conf,
+  +noad-0.6.0-r3.ebuild:
+  Added patches for as-needed, save CXXFLAGS in configure, new script-set.
 
   19 May 2006; Joerg Bornkessel <hd_brummy@gentoo.org> noad-0.6.0-r2.ebuild:
   typo fixed; set stabel on x86
index 42224ec77068c3dce903ee361bf78b38ff5b28ca..50888456a0e46c13f1fddf596af7b88b57eb17b3 100644 (file)
@@ -1,19 +1,73 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 3dc93dec44b9845704562317ae51d4b7 ChangeLog 1077
-MD5 590e1e11b8f7cff565a3edd7c719dc6b files/digest-noad-0.6.0-r2 63
+AUX 0.6.0-r3/confd_vdraddon.noad 976 RMD160 a2653f854553b97094b68c6244a1656b420472c9 SHA1 555cb8565c02676644e281a1520118b3605584b2 SHA256 2bd6ce466e17f36aa8685e04dd01c5b772705e4c6d0fa8a2929f343b91877c95
+MD5 2ac9eef671f90da7660e568adf451ef8 files/0.6.0-r3/confd_vdraddon.noad 976
+RMD160 a2653f854553b97094b68c6244a1656b420472c9 files/0.6.0-r3/confd_vdraddon.noad 976
+SHA256 2bd6ce466e17f36aa8685e04dd01c5b772705e4c6d0fa8a2929f343b91877c95 files/0.6.0-r3/confd_vdraddon.noad 976
+AUX 0.6.0-r3/noad-reccmd 152 RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 SHA1 c2e493a3c5fbfeb385e7986ff68a47909c42b9a9 SHA256 4d25751987bb50677eb3909d23a3c820bbd8aeaef4aac383baff855082dab7c0
+MD5 6ed00f1a29658d3d9525a7fc5edff6f6 files/0.6.0-r3/noad-reccmd 152
+RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 files/0.6.0-r3/noad-reccmd 152
+SHA256 4d25751987bb50677eb3909d23a3c820bbd8aeaef4aac383baff855082dab7c0 files/0.6.0-r3/noad-reccmd 152
+AUX 0.6.0-r3/reccmds.noad.conf 61 RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397f SHA1 d5fe02b78a5abd932fe0d6a5769bc8aa2e3ca54c SHA256 41dbc62f88429710b92f6d7cc45c49a967ae1376fc01b5b485b51f7e077ed20d
+MD5 4524974857d07e15856410a1001a2817 files/0.6.0-r3/reccmds.noad.conf 61
+RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397f files/0.6.0-r3/reccmds.noad.conf 61
+SHA256 41dbc62f88429710b92f6d7cc45c49a967ae1376fc01b5b485b51f7e077ed20d files/0.6.0-r3/reccmds.noad.conf 61
+AUX 0.6.0-r3/record-50-noad.sh 1165 RMD160 c3af8ab198ab9808b9f1dd5a759e6fd8515fb1d3 SHA1 4e05422b9bbfdc186e297fdac99152d639285f39 SHA256 864c326748d609c4fe5229eabd5c7014fd0e5fff84786d21fa7ffa38d8952d08
+MD5 e4def376ef38d53b243cde828d23b3d9 files/0.6.0-r3/record-50-noad.sh 1165
+RMD160 c3af8ab198ab9808b9f1dd5a759e6fd8515fb1d3 files/0.6.0-r3/record-50-noad.sh 1165
+SHA256 864c326748d609c4fe5229eabd5c7014fd0e5fff84786d21fa7ffa38d8952d08 files/0.6.0-r3/record-50-noad.sh 1165
+AUX noad-0.6.0-as-needed.diff 978 RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a SHA1 83885096cfe13c28912fe69afd9d708f9e22caf4 SHA256 a4f8cbdeeba303ab659bafc75f5d622b1ceec6945d3c35e4f0c559d3504e8ed9
+MD5 b2af6d077e29ad03e2d5ce1c8b36ec04 files/noad-0.6.0-as-needed.diff 978
+RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a files/noad-0.6.0-as-needed.diff 978
+SHA256 a4f8cbdeeba303ab659bafc75f5d622b1ceec6945d3c35e4f0c559d3504e8ed9 files/noad-0.6.0-as-needed.diff 978
+AUX noad-0.6.0-cflags.diff 1065 RMD160 a19296d791068e56fdb9d76b054a654b79c16113 SHA1 5c3ad0caa5bee3fc977a6894003e3435475eeddd SHA256 7247f4dd7eade6b39808797c4bb2476bd678f98e8b4ac5aad9c7c99e8def331e
+MD5 6c76642dac026347269199d32005000f files/noad-0.6.0-cflags.diff 1065
+RMD160 a19296d791068e56fdb9d76b054a654b79c16113 files/noad-0.6.0-cflags.diff 1065
+SHA256 7247f4dd7eade6b39808797c4bb2476bd678f98e8b4ac5aad9c7c99e8def331e files/noad-0.6.0-cflags.diff 1065
+AUX noad-0.6.0-directoryfix.diff 1254 RMD160 f7ed26ef2478d7a3a622e288642615b8da46318b SHA1 c129f0c23708fed6e6921c912c426c38ad0c676a SHA256 edbadaaafcb6677b73cc368062e21dd81c81d35709cd55bd87a759068d5804ed
 MD5 59537f1f5164f2b2bbb0c0a5d3174112 files/noad-0.6.0-directoryfix.diff 1254
+RMD160 f7ed26ef2478d7a3a622e288642615b8da46318b files/noad-0.6.0-directoryfix.diff 1254
+SHA256 edbadaaafcb6677b73cc368062e21dd81c81d35709cd55bd87a759068d5804ed files/noad-0.6.0-directoryfix.diff 1254
+AUX reccmds.noad.conf 51 RMD160 1397191e9419547de617b3103b4b6f642d86add9 SHA1 d397512b782696c7d481bf7f1a9b8a38e80dc095 SHA256 56039e2703c6a39bb6a7d452b99ef626b368eaa3824f76ecae081f55da651a8e
 MD5 129ab2c83615337c4242c2ec9a47a3c5 files/reccmds.noad.conf 51
+RMD160 1397191e9419547de617b3103b4b6f642d86add9 files/reccmds.noad.conf 51
+SHA256 56039e2703c6a39bb6a7d452b99ef626b368eaa3824f76ecae081f55da651a8e files/reccmds.noad.conf 51
+AUX record-20-noad.sh 1231 RMD160 17d0de981fabbf432d28aae2fb3dfb1a7fe5c19f SHA1 c48b02473cbaa4aa923b922483fcd680c4ff1c05 SHA256 0e1ef3878eae6bea280a38dc2d922acab540f7135182f883dc095d258789af75
 MD5 5ef1ed25dd3f6d4fc5a1fa3cdf773add files/record-20-noad.sh 1231
+RMD160 17d0de981fabbf432d28aae2fb3dfb1a7fe5c19f files/record-20-noad.sh 1231
+SHA256 0e1ef3878eae6bea280a38dc2d922acab540f7135182f883dc095d258789af75 files/record-20-noad.sh 1231
+AUX vdraddon.noad 782 RMD160 5e92c19e19ccc171792aacfc2ac9ce3b58762129 SHA1 533b75189b7df3e5e1e57d2ef2c47e9382fe1874 SHA256 abbb5b4a020be0ad7874d5facd682a093716bbf2e3b0be224260fd7cdaa55aa3
 MD5 4dd7bddd8e2fc8e13a875799b8491196 files/vdraddon.noad 782
-MD5 a155e781925071837c62a6c0e4926a2d metadata.xml 445
+RMD160 5e92c19e19ccc171792aacfc2ac9ce3b58762129 files/vdraddon.noad 782
+SHA256 abbb5b4a020be0ad7874d5facd682a093716bbf2e3b0be224260fd7cdaa55aa3 files/vdraddon.noad 782
+DIST noad-0.6.0.tar.bz2 151369 RMD160 762c8efeb89d681a77d83d0df70668b62a7057dd SHA1 21ade875f92b5f3a24456fbf6897634966bb0286 SHA256 f473f0137fa9ba8f7a736d9ca019fe5491e1744b17b54a1bdbfc23a9c8001183
+EBUILD noad-0.6.0-r2.ebuild 1994 RMD160 a969a4f02446be85294ac4c9e82454b327371485 SHA1 f8e3562cb8101c63a26433998c07d204a0c82952 SHA256 ae70569a3198f2951fef185818cbc2d92da657603f67bfc1956ad47356998fd5
 MD5 4cd2f4d35f7facb64cf0b919fdd08b6d noad-0.6.0-r2.ebuild 1994
+RMD160 a969a4f02446be85294ac4c9e82454b327371485 noad-0.6.0-r2.ebuild 1994
+SHA256 ae70569a3198f2951fef185818cbc2d92da657603f67bfc1956ad47356998fd5 noad-0.6.0-r2.ebuild 1994
+EBUILD noad-0.6.0-r3.ebuild 1974 RMD160 5c2774235d89a76f70c8d2f299b821b73b5d1ccb SHA1 a79ed1deaad6e3ebd5628922737bb09f44429078 SHA256 52d3dc1dab3cc43e61d2e240f79a7658f120e1d0d511bc893c5e3442f32cd953
+MD5 9639357489b48584510705eca9af48ce noad-0.6.0-r3.ebuild 1974
+RMD160 5c2774235d89a76f70c8d2f299b821b73b5d1ccb noad-0.6.0-r3.ebuild 1974
+SHA256 52d3dc1dab3cc43e61d2e240f79a7658f120e1d0d511bc893c5e3442f32cd953 noad-0.6.0-r3.ebuild 1974
+MISC ChangeLog 1463 RMD160 87ec82454e2098143c52153a2cf29679a617b030 SHA1 65a78a46b7c915bb822f113653bcee9ecd3f6c36 SHA256 9fe9863d392a87c881374e8c49cce0c9177affc84c3cb45a2e00ec84f156f6d5
+MD5 9ec5f85bfc407545194f870f64c23b48 ChangeLog 1463
+RMD160 87ec82454e2098143c52153a2cf29679a617b030 ChangeLog 1463
+SHA256 9fe9863d392a87c881374e8c49cce0c9177affc84c3cb45a2e00ec84f156f6d5 ChangeLog 1463
+MISC metadata.xml 445 RMD160 0ac557ba851af8e6522862a45d04b65965b30c95 SHA1 292431e56c325d7f4906fe7523054c30887f327a SHA256 34c7fdcb7a456284c5eb28ebb9019c4014f8b7daef435430373e5cb1289ae1ea
+MD5 a155e781925071837c62a6c0e4926a2d metadata.xml 445
+RMD160 0ac557ba851af8e6522862a45d04b65965b30c95 metadata.xml 445
+SHA256 34c7fdcb7a456284c5eb28ebb9019c4014f8b7daef435430373e5cb1289ae1ea metadata.xml 445
+MD5 d481d5871b1b6a8779050d5a7baeb51e files/digest-noad-0.6.0-r2 235
+RMD160 e1b3720b311c9cafd641d84299b3af913c8d1984 files/digest-noad-0.6.0-r2 235
+SHA256 57903a89cf74860cf7d8e58b307d50def06a591c47a6b947506fe1fef60791c7 files/digest-noad-0.6.0-r2 235
+MD5 d481d5871b1b6a8779050d5a7baeb51e files/digest-noad-0.6.0-r3 235
+RMD160 e1b3720b311c9cafd641d84299b3af913c8d1984 files/digest-noad-0.6.0-r3 235
+SHA256 57903a89cf74860cf7d8e58b307d50def06a591c47a6b947506fe1fef60791c7 files/digest-noad-0.6.0-r3 235
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-Comment: no further Information
+Version: GnuPG v1.4.3 (GNU/Linux)
 
-iD8DBQFEbkYZdn07HTTCgIoRAga7AJ9PGrhSKUS7ok2cl3DX6wpZ+8I4zQCfYCmQ
-/rZiKJHsQ+dx5fhT9UevTuw=
-=Cffs
+iD8DBQFElmaKZfSl1Kp5KmoRAsg/AKDbzpKHt98pOi3M7XWRpHGelDVjaACgpEpw
+z1iormOdKBRsTooVGEQ/xQk=
+=h4Ot
 -----END PGP SIGNATURE-----
diff --git a/media-video/noad/files/0.6.0-r3/confd_vdraddon.noad b/media-video/noad/files/0.6.0-r3/confd_vdraddon.noad
new file mode 100644 (file)
index 0000000..8468570
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r3/confd_vdraddon.noad,v 1.1 2006/06/19 08:55:26 zzam Exp $
+
+#########
+##
+#      run Noad
+#      available Parameter
+#      no | yes
+#
+VDR_USE_NOAD="no"
+
+##     do scan while recording
+#      available Parameter
+#      yes | no
+#
+NOAD_ONLINE="no"
+
+##     use ac3 detection
+#      available Parameter
+#      yes | no
+#
+NOAD_AC3="yes"
+
+##     detect jumping logos
+#      available Parameter
+#      yes | no
+#
+NOAD_JUMP="yes"
+
+##     detect overlaps
+#      available Parameter
+#      yes | no
+#
+NOAD_OVERLAP="yes"
+
+##     send an OSD-Message to localhost:2001 for start and end 
+#      available Parameter
+#      yes | no
+#
+NOAD_MESSAGES="yes"
+
+##     only scan if sharemarks did not produce an ptsmarks.vdr file
+#      available Parameter
+#      yes | no
+NOAD_ONLY_SCAN_IF_NO_PTSMARKS="yes"
+
+##     add your own parameter here,
+#      yust run 'noad' in konsole for more parameter
+NOAD_PARAMETER=""
+
+
+
+
+
+
diff --git a/media-video/noad/files/0.6.0-r3/noad-reccmd b/media-video/noad/files/0.6.0-r3/noad-reccmd
new file mode 100644 (file)
index 0000000..069a292
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+VDR_RECORD_STATE=reccmd
+VDR_RECORD_NAME="${1}"
+
+source /usr/share/vdr/record/record-50-noad.sh "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}"
+
diff --git a/media-video/noad/files/0.6.0-r3/reccmds.noad.conf b/media-video/noad/files/0.6.0-r3/reccmds.noad.conf
new file mode 100644 (file)
index 0000000..5d35495
--- /dev/null
@@ -0,0 +1 @@
+Scan for Commercials (noad)            :/usr/share/vdr/bin/noad-reccmd
diff --git a/media-video/noad/files/0.6.0-r3/record-50-noad.sh b/media-video/noad/files/0.6.0-r3/record-50-noad.sh
new file mode 100644 (file)
index 0000000..3b341ed
--- /dev/null
@@ -0,0 +1,52 @@
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r3/record-50-noad.sh,v 1.1 2006/06/19 08:55:26 zzam Exp $
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+# Mathias Schwarzott <zzam@gentoo.org>
+#
+
+source /etc/conf.d/vdraddon.noad
+
+CMD="/usr/bin/noad"
+
+# Parameter to start NoAd
+# parameter are "no | yes"
+
+
+ALLOW_ONLINE=yes
+
+if [[ ${VDR_RECORD_STATE} == reccmd ]]; then
+       # script started from reccmd
+       VDR_USE_NOAD=yes
+       VDR_RECORD_STATE=after
+       ALLOW_ONLINE=no
+       NOAD_ONLY_SCAN_IF_NO_PTSMARKS=no
+fi
+
+[[ ${VDR_USE_NOAD} == "yes" ]] || return
+
+
+case "${VDR_RECORD_STATE}" in
+after) : ;;
+
+before)        [[ "${NOAD_ONLINE}" == "yes" ]] || return ;;
+
+*)     return ;;
+esac
+
+if [[ ${ALLOW_ONLINE} == yes ]]; then
+       [[ "${NOAD_ONLINE}" == "yes" ]] && CMD="${CMD} --online"
+fi
+
+if [[ ${NOAD_ONLY_SCAN_IF_NO_PTSMARKS} == yes ]]; then
+       [[ -f ${VDR_RECORD_NAME}/ptsmarks.vdr ]] && return
+fi
+
+[[ "${NOAD_AC3}" == "yes" ]] && CMD="${CMD} -a"
+[[ "${NOAD_JUMP}" == "yes" ]] && CMD="${CMD} -j"
+[[ "${NOAD_OVERLAP}" == "yes" ]] && CMD="${CMD} -o"
+[[ "${NOAD_MESSAGES}" == "yes" ]] && CMD="${CMD} -O"
+
+
+CMD="${CMD} ${NOAD_PARAMETER}"
+${CMD} "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}" 
+
index ebbd7f5e3f2482e4d4b01f2e883a8d6eb3070799..05e249e57c9d113788f86389b3bb1e383cb69744 100644 (file)
@@ -1 +1,3 @@
 MD5 62947d5afec56cdb9884535d9813530d noad-0.6.0.tar.bz2 151369
+RMD160 762c8efeb89d681a77d83d0df70668b62a7057dd noad-0.6.0.tar.bz2 151369
+SHA256 f473f0137fa9ba8f7a736d9ca019fe5491e1744b17b54a1bdbfc23a9c8001183 noad-0.6.0.tar.bz2 151369
diff --git a/media-video/noad/files/digest-noad-0.6.0-r3 b/media-video/noad/files/digest-noad-0.6.0-r3
new file mode 100644 (file)
index 0000000..05e249e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 62947d5afec56cdb9884535d9813530d noad-0.6.0.tar.bz2 151369
+RMD160 762c8efeb89d681a77d83d0df70668b62a7057dd noad-0.6.0.tar.bz2 151369
+SHA256 f473f0137fa9ba8f7a736d9ca019fe5491e1744b17b54a1bdbfc23a9c8001183 noad-0.6.0.tar.bz2 151369
diff --git a/media-video/noad/files/noad-0.6.0-as-needed.diff b/media-video/noad/files/noad-0.6.0-as-needed.diff
new file mode 100644 (file)
index 0000000..a1a3863
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ru noad-0.6.0-orig/Makefile.am noad-0.6.0/Makefile.am
+--- noad-0.6.0-orig/Makefile.am        2006-06-19 09:40:49.000000000 +0200
++++ noad-0.6.0/Makefile.am     2006-06-19 09:41:47.000000000 +0200
+@@ -4,8 +4,8 @@
+ libnoad_a_SOURCES=tools.cpp vdr_cl.cpp svdrpc.cpp tools.h vdr_cl.h svdrpc.h mpeg2wrap.cpp mpeg2wrap.h
+ bin_PROGRAMS=noad
+-noad_SOURCES=cchecklogo.cpp ccontrol.cpp cgetlogo.cpp ctoolbox.cpp noad.cpp tnoad.cpp noaddata.cpp\
+-                 audiotools.cpp main.cpp \
++noad_SOURCES=main.cpp cchecklogo.cpp ccontrol.cpp cgetlogo.cpp ctoolbox.cpp noad.cpp tnoad.cpp noaddata.cpp\
++                 audiotools.cpp \
+               audiotools.h cchecklogo.h ccontrol.h cgetlogo.h ctoolbox.h noad.h tnoad.h noaddata.h videodir.h
+ noad_LDADD=libnoad.a
+@@ -14,8 +14,7 @@
+ EXTRA_PROGRAMS=markpics showindex
+ markpics_SOURCES=markpics.cpp
+-markpics_LDADD=libnoad.a
+-markpics_LDFLAGS=-lMagick++
++markpics_LDADD=libnoad.a -lMagick++
+ showindex_SOURCES=showindex.cpp
+ showindex_LDADD=libnoad.a
diff --git a/media-video/noad/files/noad-0.6.0-cflags.diff b/media-video/noad/files/noad-0.6.0-cflags.diff
new file mode 100644 (file)
index 0000000..bb8985b
--- /dev/null
@@ -0,0 +1,32 @@
+diff -ru noad-0.6.0-orig/configure.ac noad-0.6.0/configure.ac
+--- noad-0.6.0-orig/configure.ac       2006-06-19 09:35:21.005806971 +0200
++++ noad-0.6.0/configure.ac    2006-06-19 09:37:45.574799434 +0200
+@@ -122,16 +122,15 @@
+ AC_SUBST(PICSRC,"")
+ AC_MSG_CHECKING(for Magick++(2))
+-CFLAGS=$ac_save_CFLAGS
+-ac_save_CXXFLAGS="$CXXFLAGS"
+-CXXFLAGS="$CXXFLAGS -lMagick++"
++save_LDADD="$LDADD"
++LDADD="$LDADD -lMagick++"
+ AC_COMPILE_IFELSE([
+ AC_LANG_PROGRAM([#include <Magick++.h>
+ using namespace Magick;
+ ],[Image image;])
+ ],[AC_MSG_RESULT("yes");mpp_defined="1"],[AC_MSG_RESULT("no");mpp_defined="0"]
+ )
+-CXXFLAGS=$ac_save_CXXFLAGS
++LDADD=$save_LDADD
+ test $mpp_defined -eq 1 && test $havemagick -eq 1 && PICSRC="markpics"
+ dnl check for request to compile toolies
+@@ -170,7 +169,7 @@
+ AC_CHECK_FUNCS([gettimeofday localtime_r memmove memset mkdir select socket strchr strdup strerror strrchr strstr])
+ AC_CHECK_FUNCS([strsignal])
+ #CXXFLAGS='-g -O3 -pg'
+-CXXFLAGS='-g -O3'
++#CXXFLAGS='-g -O3'
+ if test "$withffmpeg" == "1"; then 
+   dnl check for a usable avcodec.h 
diff --git a/media-video/noad/noad-0.6.0-r3.ebuild b/media-video/noad/noad-0.6.0-r3.ebuild
new file mode 100644 (file)
index 0000000..43b5bcc
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.6.0-r3.ebuild,v 1.1 2006/06/19 08:55:26 zzam Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Mark commercial Breaks in VDR records"
+HOMEPAGE="http://www.freepgs.com/noad/"
+SRC_URI="http://www.freepgs.com/${PN}/${P}.tar.bz2
+               mirror://vdrfiles/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ffmpeg imagemagick"
+
+DEPEND="media-libs/libmpeg2
+       media-video/vdr
+       ffmpeg? ( >=media-video/ffmpeg-0.4.8 )
+       imagemagick? ( >=media-gfx/imagemagick-6.2.4.2-r1 )"
+RDEPEND=">=media-tv/gentoo-vdr-scripts-0.3.5"
+
+src_unpack() {
+
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/${P}-directoryfix.diff
+       epatch ${FILESDIR}/${P}-as-needed.diff
+       epatch ${FILESDIR}/${P}-cflags.diff
+
+       rm configure
+       eautoreconf
+}
+
+src_compile() {
+
+       econf \
+               $(use_with ffmpeg) \
+               $(use_with imagemagick magick) \
+               --with-tools \
+               --with-mpeginclude=/usr/include/mpeg2dec
+
+       emake || die "emake faild"
+}
+
+src_install() {
+
+       dobin noad showindex
+       use imagemagick && dobin markpics
+
+       dodoc COPYING README INSTALL
+       # example scripts are installed as dokumentation
+       dodoc allnewnoad allnoad allnoadnice clearlogos noadifnew stat2html
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/0.6.0-r3/confd_vdraddon.noad vdraddon.noad
+
+       insinto /usr/share/vdr/record
+       doins ${FILESDIR}/0.6.0-r3/record-50-noad.sh
+
+       insinto /etc/vdr/reccmds
+       doins ${FILESDIR}/0.6.0-r3/reccmds.noad.conf
+
+       exeinto /usr/share/vdr/bin
+       doexe ${FILESDIR}/0.6.0-r3/noad-reccmd
+}
+
+pkg_postinst() {
+
+       einfo
+       einfo "Congratulations, you have just installed noad!,"
+       einfo "To integrate noad in VDR you should do this:"
+       einfo
+       einfo "start and set Parameter in /etc/conf.d/vdraddon.noad"
+       einfo
+       einfo "More infos can be found on vdr.gentoo.de"
+       einfo
+       einfo "Note: You can use here all pararmeters for noad,"
+       einfo "please look in the documentation of noad."
+       einfo
+}