Alien-Gimp

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "ExtUtils::Depends" : "0.402",
            "IO::All" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "Data::Dumper" : "0",
            "ExtUtils::Depends" : "0.402",
            "ExtUtils::PkgConfig" : "0",
            "File::Spec" : "0",
            "IO::All" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "perl" : "5.014001"
         }

META.yml  view on Meta::CPAN

abstract: unknown
author:
  - unknown
build_requires:
  ExtUtils::Depends: '0.402'
  IO::All: '0'
  Inline: '0.78'
  Inline::C: '0.67'
  Test::More: '0.88'
configure_requires:
  Data::Dumper: '0'
  ExtUtils::Depends: '0.402'
  ExtUtils::PkgConfig: '0'
  File::Spec: '0'
  IO::All: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

Makefile.PL  view on Meta::CPAN

my @pms = qw(Alien/Gimp.pm Alien/Gimp/Install/Files.pm);
WriteMakefile(
  NAME	=> 'Alien::Gimp',
  VERSION => $version,
  MIN_PERL_VERSION => '5.014001',
  LICENSE => 'perl',
  CONFIGURE_REQUIRES	=> {
    'IO::All'		=> 0,
    'ExtUtils::Depends'	=> '0.402',
    'ExtUtils::PkgConfig'	=> 0,
    'Data::Dumper'	=> 0,
    'File::Spec'	=> 0,
  },
  BUILD_REQUIRES	=> {
    'IO::All'		=> 0,
    'ExtUtils::Depends'	=> '0.402',
#    'ExtUtils::PkgConfig'	=> 0,
  },
  TEST_REQUIRES => {
    'Inline'	=> '0.78',
    'Inline::C'	=> '0.67',

common.pl  view on Meta::CPAN

use ExtUtils::Depends;
use Data::Dumper qw(Dumper);
use IO::All;
use File::Spec;
use ExtUtils::PkgConfig;

my %gimpcfg = ExtUtils::PkgConfig->find("gimp-2.0");
my $gimppath = File::Spec->catdir(ExtUtils::PkgConfig->variable("gimp-2.0", "exec_prefix"), "bin");
my $gimptool = File::Spec->catfile($gimppath, "gimptool-2.0");
my ($plugindir, $pluginlibs) = split /\n/, `$gimptool --gimpplugindir --libs`;

my $gimpbinname = ExtUtils::PkgConfig->modversion("gimp-2.0");

lib/Alien/Gimp.pm.PL  view on Meta::CPAN

#!perl -w

use strict;
use warnings;
require './common.pl';

my $version = ag_getversion();
my $config_hash = ag_getconfig();

my $cfg = join '', <DATA>;
$cfg =~ s/#CFG#/Data::Dumper->Dump([$config_hash], ['*config'])/e;
$cfg =~ s/#VERSION#/$version/;
my $out = shift;
io($out)->print($cfg) or die "$out: $!\n";

__DATA__
package Alien::Gimp;

use strict;
use warnings;



( run in 0.292 second using v1.01-cache-2.11-cpan-4d50c553e7e )