Skip to content
Permalink
Browse files

graphics/babl: New port, pixel library. Closes https://trac.macports.…

…org/ticket/16729, thanks to db.evans@gmail.com.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40527 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Simon Ruderich
Simon Ruderich committed Oct 5, 2008
1 parent 93d388d commit dbe85f14906d9bc1b6dc84b6e8bb6a4125312717
Showing with 48 additions and 0 deletions.
  1. +38 −0 graphics/babl/Portfile
  2. +10 −0 graphics/babl/files/patch-babl-babl-cpuaccel.c.diff
@@ -0,0 +1,38 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0

name babl
version 0.0.22
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics
maintainers gmail.com:dbevans
platforms darwin
homepage http://gegl.org/babl
master_sites http://ftp.gtk.org/pub/babl/${branch}/ \
ftp://ftp.gtk.org/pub/babl/${branch}/ \
ftp://ftp.gimp.org/pub/babl/${branch}/

use_bzip2 yes

description \
Babl is a library for dynamically handling pixel formats and managing \
conversions between them.

long_description \
${description}

checksums md5 b821ce696b40feb74552da9d666defad \
sha1 9de50fb5833f41691f50f6e735d6422aad52ea94 \
rmd160 a10c07e70f1fe8944a969bba46484acf410c2583

patchfiles patch-babl-babl-cpuaccel.c.diff

depends_build \
port:pkgconfig

livecheck.check \
regex
livecheck.regex \
"${name}-(\\d+(?:\\.\\d+)+)"
@@ -0,0 +1,10 @@
--- babl/babl-cpuaccel.c.orig 2008-10-02 08:26:49.000000000 -0700
+++ babl/babl-cpuaccel.c 2008-10-02 08:29:01.000000000 -0700
@@ -36,6 +36,7 @@
#include "babl-cpuaccel.h"

typedef unsigned int gboolean;
+typedef unsigned long gsize;
typedef unsigned int guint32;
typedef int gint;
typedef char gchar;

0 comments on commit dbe85f1

Please sign in to comment.
You can’t perform that action at this time.