summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-17 13:45:09 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-17 13:45:09 +0000
commit4cc76e1a8b5ad1ffb7d11b8c614f78ba7eb9ca77 (patch)
tree7747e304c2e8c68c250d6bab290e799fa0cba33e /app-cdr/cddetect
parentapp-admin/sabayon uses gnome-vfs (provided by gnome-python) to watch files (diff)
downloadgentoo-2-4cc76e1a8b5ad1ffb7d11b8c614f78ba7eb9ca77.tar.gz
gentoo-2-4cc76e1a8b5ad1ffb7d11b8c614f78ba7eb9ca77.tar.bz2
gentoo-2-4cc76e1a8b5ad1ffb7d11b8c614f78ba7eb9ca77.zip
Initial commit for bug 111804, thanks to Fernando V., Tristan Heaven and Jakub Moc.
(Portage version: 2.1.5.5)
Diffstat (limited to 'app-cdr/cddetect')
-rw-r--r--app-cdr/cddetect/ChangeLog10
-rw-r--r--app-cdr/cddetect/Manifest4
-rw-r--r--app-cdr/cddetect/cddetect-2.0.ebuild30
-rw-r--r--app-cdr/cddetect/metadata.xml5
4 files changed, 49 insertions, 0 deletions
diff --git a/app-cdr/cddetect/ChangeLog b/app-cdr/cddetect/ChangeLog
new file mode 100644
index 000000000000..baf8d6418867
--- /dev/null
+++ b/app-cdr/cddetect/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-cdr/cddetect
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddetect/ChangeLog,v 1.1 2008/06/17 13:45:09 drac Exp $
+
+*cddetect-2.0 (17 Jun 2008)
+
+ 17 Jun 2008; Samuli Suominen <drac@gentoo.org> +cddetect-2.0.ebuild:
+ Initial commit for bug 111804, thanks to Fernando V., Tristan Heaven and
+ Jakub Moc.
+
diff --git a/app-cdr/cddetect/Manifest b/app-cdr/cddetect/Manifest
new file mode 100644
index 000000000000..e093e9e23f9c
--- /dev/null
+++ b/app-cdr/cddetect/Manifest
@@ -0,0 +1,4 @@
+DIST cddetect-2.0.tar.gz 11231 RMD160 4b45e9b69aab6c3bcb4de4242a777ba8ac18e59c SHA1 94c4fec68c1fb94c05aee786bab6bcf33f8ea395 SHA256 bb33287784ccbd9cd38ade9c95c09f21ae5c062a1b7db6b58648b6d67116f909
+EBUILD cddetect-2.0.ebuild 741 RMD160 07e24dae4569b655eede737cbc00ed8f0d6ae367 SHA1 c0e810313261bfafe7b2960c7acc1357d1fe5349 SHA256 4b7297b2740696ea80d119fa5dee0f42ce7a48b34f10ad27b29ea611b9b4cd20
+MISC ChangeLog 306 RMD160 dae15a07ad0f2241081a035712781fc9c1131288 SHA1 acb2f784a72e6727bfb19dad6f45f8a516c976ea SHA256 3ef3419c9181262721799e9d273daee749ad354e315c1f016d9fe3422fc6a886
+MISC metadata.xml 166 RMD160 02ca0a5d9279c1b52c3887f5a1f52f3feb002af9 SHA1 b9fccc7c24aa717c30efef068fd544a692f264f6 SHA256 ce62d1e5b04e01d03a732ee6d33b3d500810de8e55af4a527c970e5b475735d8
diff --git a/app-cdr/cddetect/cddetect-2.0.ebuild b/app-cdr/cddetect/cddetect-2.0.ebuild
new file mode 100644
index 000000000000..a0868ef87066
--- /dev/null
+++ b/app-cdr/cddetect/cddetect-2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cddetect/cddetect-2.0.ebuild,v 1.1 2008/06/17 13:45:09 drac Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Detects CD/DVD media types without mounting them. At least Audio, ISO, VCD, SVCD, and VDVD are supported."
+HOMEPAGE="http://www.bellut.net/projects.html#cddetect"
+SRC_URI="http://www.bellut.net/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e 's:#include <stdlib.h>:#include <stdlib.h>\n#include <stddef.h>:' \
+ "${S}"/${PN}.c || die "sed failed."
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -o ${PN} || die "compile failed."
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed."
+}
diff --git a/app-cdr/cddetect/metadata.xml b/app-cdr/cddetect/metadata.xml
new file mode 100644
index 000000000000..3ca6ae763b34
--- /dev/null
+++ b/app-cdr/cddetect/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-optical</herd>
+</pkgmetadata>