Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8329 - New package: media-video/asfrecorder-1.1
Summary: New package: media-video/asfrecorder-1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-24 17:19 UTC by CJ Kucera
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
asfrecorder-1.1.ebuild (asfrecorder-1.1.ebuild,930 bytes, text/plain)
2002-09-24 17:20 UTC, CJ Kucera
Details
asfrecorder-1.1.ebuild (asfrecorder-1.1.ebuild,924 bytes, text/plain)
2002-09-24 17:23 UTC, CJ Kucera
Details
asfrecorder-1.1.ebuild (asfrecorder-1.1.ebuild,932 bytes, text/plain)
2002-09-24 20:10 UTC, CJ Kucera
Details
asfrecorder-1.1.ebuild (asfrecorder-1.1.ebuild,834 bytes, text/plain)
2002-09-25 08:32 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2002-09-24 17:19:22 UTC
ASFRecorder is a command-line utility that will allow you to download Windows
Media files that would ordinarily only be available to stream.  Typically these
files will have a ".asf" extension.  Passing the URL into ASFRecorder will
download the typically .WMV-extension file that contains the actual data, so you
can watch or listen at your leisure.

The program was developed on Windows, and the GUI component is not available on
UNIX-like systems, but the command-line portion is just one C file in the
"source" directory.  Compiling this with a simple gcc command will give you the
binary you need.  That's why the ebuild doesn't do any configures or anything.

This is my first ebuild from scratch, so feel free to let me know if I've done
something wrong in there.
Comment 1 CJ Kucera 2002-09-24 17:20:16 UTC
Created attachment 4142 [details]
asfrecorder-1.1.ebuild

Here's the ebuild itself, short and sweet.
Comment 2 CJ Kucera 2002-09-24 17:23:25 UTC
Created attachment 4143 [details]
asfrecorder-1.1.ebuild

Accidentally had some spaces in there mixed up with the tabs, which doesn't
look good.  This version uses only tabs.  I was told when submitting that I'm
not allowed to make attachments obsolete, so if someone else could do that for
me, I'd appreciate it.
Comment 3 CJ Kucera 2002-09-24 20:10:38 UTC
Created attachment 4147 [details]
asfrecorder-1.1.ebuild

I realize now that I probably should have followed the convention of having the
version number in the /usr/doc directory.  So here's a newer version that does
that.  Release early, release often, right?  Heh.  Sorry for sending this
through so many times.
Comment 4 SpanKY gentoo-dev 2002-09-25 00:39:42 UTC
instead of worrying about where to put binaries/documentation, just reduce 
these 4 lines:
	mkdir -p ${D}/usr/bin
	mkdir -p ${D}/usr/doc/asfrecorder-1.1
	cp ${S}/source/asfrecorder ${D}/usr/bin
	cp ${S}/README.TXT ${D}/usr/doc/asfrecorder-1.1
down to these 2:
        dobin ${S}/source/asfrecorder
        dodoc ${S}/README.TXT
Comment 5 CJ Kucera 2002-09-25 08:32:29 UTC
Created attachment 4173 [details]
asfrecorder-1.1.ebuild

Got it.  Thanks!  (this ebuild now uses "dobin" and "dodoc" to install things)
Comment 6 phoen][x 2002-11-16 12:54:31 UTC
Added it to the portage tree.

Thanks for the contribution.

-phoen][x-