Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202226 (Blackhex) - media-libs/SoQt - add qt4 support
Summary: media-libs/SoQt - add qt4 support
Status: RESOLVED FIXED
Alias: Blackhex
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-12-14 10:49 UTC by Radek Bartoň
Modified: 2009-04-09 19:54 UTC (History)
2 users (show)

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


Attachments
SoQt ebuild with Qt 4 support. (SoQt-1.4.1-r1.ebuild,1.17 KB, text/plain)
2007-12-14 10:51 UTC, Radek Bartoň
Details
SoQt-1.4.1-r1.ebuild (SoQt-1.4.1-r1.ebuild,1.13 KB, text/plain)
2009-03-24 17:15 UTC, Davide Pesavento (RETIRED)
Details
Patch against current Portage ebuild (SoQt.ebuild.patch,1.43 KB, patch)
2009-03-24 17:17 UTC, Davide Pesavento (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Bartoň 2007-12-14 10:49:42 UTC
I've modified SoQt ebuild to compile with Qt 4 if qt4 use flag is enabled. Sorry if I used unacceptable techniques to achieve that but it's my first ebuild.
Comment 1 Radek Bartoň 2007-12-14 10:51:19 UTC
Created attachment 138445 [details]
SoQt ebuild with Qt 4 support.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-14 11:10:55 UTC
See qt4.eclass please and make some use of it. :)
Comment 3 Radek Bartoň 2007-12-14 14:00:33 UTC
(In reply to comment #2)
> See qt4.eclass please and make some use of it. :)
> 

There is only one applicable macro qt4_min_version but I didn't find any occurence of it in portage so I don't know how to use it in DEPENDS variable and the diff would be:

-inherit eutils flag-o-matic
+inherit eutils qt4 flag-o-matic
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2009-03-24 17:15:34 UTC
Created attachment 186121 [details]
SoQt-1.4.1-r1.ebuild

This should be far better.

*) Switched to EAPI 2.
*) More precise dependencies.
*) Don't use append-ldflags to pass library link instructions, use CONFIG_QTLIBS instead.
*) Force 'emake -j1' because parallel building fails.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2009-03-24 17:17:38 UTC
Created attachment 186122 [details, diff]
Patch against current Portage ebuild
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2009-04-09 19:54:17 UTC
Last patch added to the tree, it seems to work for me.