summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Keadle <mkeadle@gentoo.org>2002-10-01 00:22:14 +0000
committerMatt Keadle <mkeadle@gentoo.org>2002-10-01 00:22:14 +0000
commitaede911fb96850b1706367f59e0c0b1e1ecedcc6 (patch)
treeda929f938a51e84aafa17a5dadbec7359e471e91 /media-video/SDLcam
parentfixes the installation directory of the xchat.desktop file (diff)
downloadgentoo-2-aede911fb96850b1706367f59e0c0b1e1ecedcc6.tar.gz
gentoo-2-aede911fb96850b1706367f59e0c0b1e1ecedcc6.tar.bz2
gentoo-2-aede911fb96850b1706367f59e0c0b1e1ecedcc6.zip
SDLcam checkin
Diffstat (limited to 'media-video/SDLcam')
-rw-r--r--media-video/SDLcam/ChangeLog10
-rw-r--r--media-video/SDLcam/SDLcam-0.7.3.ebuild57
-rw-r--r--media-video/SDLcam/files/digest-SDLcam-0.7.31
3 files changed, 68 insertions, 0 deletions
diff --git a/media-video/SDLcam/ChangeLog b/media-video/SDLcam/ChangeLog
new file mode 100644
index 000000000000..e72fead68612
--- /dev/null
+++ b/media-video/SDLcam/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/SDLcam
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/ChangeLog,v 1.1 2002/10/01 00:22:14 mkeadle Exp $
+
+*SDLcam-0.7.3 (30 Sep 2002)
+
+ 30 Sep 2002; Matt Keadle <mkeadle@gentoo.org> SDLcam-0.7.3.ebuild :
+
+ SDLcam was in portage, then it went missing, now it's back. This
+ version cures past issues with gcc3.x.
diff --git a/media-video/SDLcam/SDLcam-0.7.3.ebuild b/media-video/SDLcam/SDLcam-0.7.3.ebuild
new file mode 100644
index 000000000000..8fb53c815e72
--- /dev/null
+++ b/media-video/SDLcam/SDLcam-0.7.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/SDLcam-0.7.3.ebuild,v 1.1 2002/10/01 00:22:14 mkeadle Exp $
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Webcam application that uses the SDL library"
+HOMEPAGE="http://raph.darktech.org/SDLcam/"
+SRC_URI="http://raph.darktech.org/SDLcam/downloads/${P}.tar.gz"
+LICENSE="GPL"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND="dev-libs/libxml2
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-ttf"
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+
+ # Don't you love hardcoded vars?
+ mv configuration.h configuration.h.orig
+ sed "s:/usr/local/share/SDLcam/:/usr/share/SDLcam/:" \
+ configuration.h.orig > configuration.h
+ mv interface.cpp interface.cpp.orig
+ sed "s:/usr/local/share/SDLcam:/usr/share/SDLcam:" \
+ interface.cpp.orig > interface.cpp
+ mv SDL_v4l_filters.c SDL_v4l_filters.c.orig
+ sed "s:/usr/local/lib/SDLcam:/usr/lib/SDLcam:" \
+ SDL_v4l_filters.c.orig > SDL_v4l_filters.c
+ emake || die
+}
+
+src_install () {
+ dobin SDLcam
+ insinto /usr/share/SDLcam
+ doins LucidaSansRegular.ttf LucidaTypewriterRegular.ttf SDLcam.xml SDLcam.cfg
+ insinto /usr/lib/SDLcam/filters
+ doins ${S}/filter/*.so
+ insinto /usr/lib/SDLcam/capture
+ doins ${S}/capture/*.so
+}
+
+pkg_postinst() {
+
+ einfo ""
+ einfo "#################################################"
+ einfo "# #"
+ einfo "# You can change global options by editing #"
+ einfo "# /usr/share/SDLcam/SDLcam.cfg #"
+ einfo "# #"
+ einfo "#################################################"
+ einfo ""
+
+}
+
diff --git a/media-video/SDLcam/files/digest-SDLcam-0.7.3 b/media-video/SDLcam/files/digest-SDLcam-0.7.3
new file mode 100644
index 000000000000..a9c2256dddd8
--- /dev/null
+++ b/media-video/SDLcam/files/digest-SDLcam-0.7.3
@@ -0,0 +1 @@
+MD5 82b7d7e7e6f4d6fe1cd2c4ab97232fd8 SDLcam-0.7.3.tar.gz 299421