Source

perl/keyring/kdewallet / Build.PL

Diff from to

File Build.PL

 use Module::Build;
 use ExtUtils::PkgConfig;
 
-my %gnome_keyring_pkg_info = ExtUtils::PkgConfig->find("gnome-keyring-1");
-
 my $builder = Module::Build->new(
-    module_name         => 'Passwd::Keyring::Gnome',
+    module_name         => 'Passwd::Keyring::KDEWallet',
     dynamic_config      => 1,
     license             => 'perl',
     dist_author         => q{Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>},
-    dist_version_from   => 'lib/Passwd/Keyring/Gnome.pm',
+    dist_version_from   => 'lib/Passwd/Keyring/KDEWallet.pm',
     build_requires => {
         'Module::Build' => '0.19', # xs
         'ExtUtils::CBuilder' => 0,
     },
     requires => {
         'perl' => 5.006,
+        'Net::DBus' => 0,
     },
-    add_to_cleanup      => [ 'Passwd-Keyring-Gnome-*' ],
+    add_to_cleanup      => [ 'Passwd-Keyring-KDEWallet-*' ],
     create_makefile_pl => 'traditional',
-    # pkg-config --cflags gnome-keyring-1
-    #extra_compiler_flags => '-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include',
-    extra_compiler_flags => $gnome_keyring_pkg_info{cflags},
-    # pkg-config --libs gnome-keyring-1
-    #extra_linker_flags => '-lgnome-keyring -lglib-2.0',
-    extra_linker_flags => $gnome_keyring_pkg_info{libs},
-    needs_compiler => 1,
-    #c_source => 'src',
-    #xs_files => {
-        #'./Costam.xs' => 'lib/MyMod/Costam.xs',
-    #},
 );
 
 $builder->create_build_script();