Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521906 - media-sound/dvd-audio-extractor - (commercial software used to) rip audio tracks from Blu-ray, DVD-Audio, and DVD-Video discs
Summary: media-sound/dvd-audio-extractor - (commercial software used to) rip audio tra...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-09-01 20:04 UTC by Jared B.
Modified: 2014-09-04 10:12 UTC (History)
0 users

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


Attachments
dvd-audio-extractor-7.2.0.ebuild (dvd-audio-extractor-7.2.0.ebuild,2.56 KB, text/plain)
2014-09-01 20:04 UTC, Jared B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2014-09-01 20:04:00 UTC
Created attachment 384066 [details]
dvd-audio-extractor-7.2.0.ebuild

DVD Audio Extractor is commercial software used to rip audio tracks from Blu-ray, DVD-Audio, and DVD-Video discs.  This ebuild installs a trial version, which can be converted to a full version by buying/registering a license.

The ebuild is tested on amd64 and works fine, though there are three things worth pointing out:

* The built-in help system does not work for me.  Don't know why.  Everything else works. though.

* The list of dependencies came from running ldd on the prebuilt binaries.  I'd expect some of them are optional; eg., if libflac isn't present it should probably still run, you just wouldn't be able to output to flac.  However, I've not tested this.

* It requires capabilities to be set on the binaries.  I did this using fcaps and it seems to work fine for me, but this is the first time I've done anything like that in an ebuild.  It'd be a good idea for someone more familiar with this process to review this and ensure I did it right.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-04 10:11:44 UTC
Comment on attachment 384066 [details]
dvd-audio-extractor-7.2.0.ebuild

>[ "$ARCH" == "amd64" ] && MY_ARCH=amd64 || MY_ARCH=i386

That's wrong. I'm pretty sure I told you elsewhere that this can never be resolved in SRC_URI.

>MY_REV=5186
>MY_PN="DVD Audio Extractor"
>
>DESCRIPTION="Commercial software used to rip audio tracks from Blu-ray, DVD-Audio, and DVD-Video discs"
>HOMEPAGE="http://www.dvdae.com/"
>SRC_URI="http://www.dvdae.com/dvdae/dvdae_${PV}_${MY_ARCH}.deb"
>
>LICENSE="GPL-2"

If the license is GPL-2, then why are we treated to a "commercial" "trial" version?

>KEYWORDS="amd64 ~x86 -*"

Straight to stable?

>IUSE=" gtk"

What does the whitespace do?

>RESTRICT="strip"

QA_PREBUILT='*'

>DEPEND=""

No need to set an empty DEPEND.

>S=${WORKDIR}
>
>src_unpack() {
>	unpack "${A}"
>	tar xf data.tar.gz

inherit unpacker
...
   unpack_deb ${A}

>src_prepare() {
>	# Fix QA issue

That isn't descriptive. "Should end with a semicolon" would be.

>	ewarn "When ripping discs to WAV or other transcoded formats, ${MY_PN}"
>	ewarn "forcibly enables dynamic range compression, which introduces audio"
>	ewarn "artifacts.  For best quality, it is recommended that you perform a direct"
>	ewarn "stream demux and manually transcode the resulting AC3/MLP/etc. afterward.\n"
>	ewarn "Please note: In order to rip uncompressed audio (LPCM) from DVD-Audio discs,"
>	ewarn "you must first mount the disc.  Otherwise, only the compressed (AC3/DTS)"
>	ewarn "DVD-Video audio will be extracted."

You should probably stick that in a readme. At install time it's of no use.