summaryrefslogtreecommitdiff
path: root/packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-0
blob: e264a4f74ddbecd61f2fc05bc33b34f37a77f76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org>
# Copyright 2013 Aleksandar Petrinic <petrinic@gmail.com>
# Distributed under the terms of the GNU General Public License v2

SUMMARY="An Open Source implementation of the GDI+ API"
HOMEPAGE="http://www.mono-project.org"
DOWNLOADS="http://download.mono-project.com/sources/${PN}/${PNV}.tar.gz"

LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
    exif
    gif
    tiff
"

DEPENDENCIES="
    build:
        virtual/pkg-config
    build+run:
        dev-libs/glib:2[>=2.2.3]
        media-libs/fontconfig
        media-libs/freetype:2
        media-libs/jpeg:=
        media-libs/libpng:=[>=1.5]
        x11-libs/cairo[>=1.6.5]
        x11-libs/libXrender
        x11-libs/pango[>=1.10]
        exif? ( media-libs/libexif )
        gif? ( media-libs/giflib:= )
        tiff? ( media-libs/tiff )
"

DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-giflib-5.patch )

DEFAULT_SRC_CONFIGURE_PARAMS=( --with-libjpeg )
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
    'exif libexif'
    'gif libgif'
    'tiff libtiff'
)