]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
findbr: resolve qt5 packages
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Dec 2018 09:51:44 +0000 (11:51 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 30 Dec 2018 20:41:14 +0000 (22:41 +0200)
findbr

diff --git a/findbr b/findbr
index 9e2c930a36b67e261c6d7771204dad3f4bebd08f..be952da7bc85462c5a40a362163152bc9d893a1a 100755 (executable)
--- a/findbr
+++ b/findbr
@@ -535,6 +535,16 @@ while ( $_ = shift @lines ) {
                        } else {
                                warn "unrecognized Qt requirement: $l\n";
                        }
+               } elsif ( $module eq "qt5coreconfig" ) {
+                       my $l = $lines[2];
+                       chomp $l;
+                       if ( $l =~ /qmake/ ) {
+                               add_br( "qt5-qmake", $l );
+                       } elsif ( $l =~ /moc/) {
+                               add_br( "qt5-build", $l );
+                       } else {
+                               warn "Unrecognized Qt requirement: $l\n";
+                       }
                } elsif ( $module eq "cmakedeterminecxxcompiler" ) {
                        add_br( "libstdc++-devel",
                                '"try: -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER="%{__cc}"' );
This page took 0.153418 seconds and 4 git commands to generate.