FS#17708 - [handbrake] Split pacakge in cli and gtk version

Attached to Project: Arch Linux
Opened by Jelle van der Waa (jelly) - Monday, 04 January 2010, 19:49 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 04 July 2010, 06:08 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


It would be nice to have an split package for handbrake, because some people only use the CLI version. I have a PKGBUILD attached wich splits handbrake in handbrake-gtk and handbrake-cli. It's my first splitting of a package so it might contain errors, ran namcap on the pkg.tar.gz and the PKGBUILD. The install file is exact the same as the one from the handbrake package.

This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 04 July 2010, 06:08 GMT
Reason for closing:  Implemented
Additional comments about closing:  gui in handbrake-0.9.4-3
cli in handbrake-cli-0.9.4-3
Comment by Ionut Biru (wonder) - Monday, 04 January 2010, 20:28 GMT
to be sure that hanbrake-gtk will use the exact version for cli replace 'handbrake-cli' with "handbrake-cli=$pkgver"
Comment by Dan Griffiths (Ghost1227) - Saturday, 27 February 2010, 10:21 GMT
can this be implemented/closed?
Comment by Matthew (piezoelectric) - Saturday, 01 May 2010, 18:31 GMT
Here's a little bit of a better solution. Addressing jelly's solution:

1) You can't override makedepends for each package
2) You don't have to build handbrake twice. Just build it as before and copy the CLI binary.

Also, I decided to leave the package 'handbrake' as a cli and gui package and then have a cli only package called 'handbrake-cli'
   PKGBUILD (1.5 KiB)
Comment by Thomas Dziedzic (tomd123) - Saturday, 03 July 2010, 17:14 GMT