1 |
commit: f6450233bf037bcfb9a349944dde6e887684f09e |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 29 12:46:30 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 29 12:48:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6450233 |
7 |
|
8 |
media-gfx/graphite2: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
media-gfx/graphite2/graphite2-1.2.4.ebuild | 102 ----------------------------- |
13 |
1 file changed, 102 deletions(-) |
14 |
|
15 |
diff --git a/media-gfx/graphite2/graphite2-1.2.4.ebuild b/media-gfx/graphite2/graphite2-1.2.4.ebuild |
16 |
deleted file mode 100644 |
17 |
index 067c996..0000000 |
18 |
--- a/media-gfx/graphite2/graphite2-1.2.4.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,102 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-GENTOO_DEPEND_ON_PERL="no" |
30 |
-inherit base eutils cmake-utils perl-module python-any-r1 |
31 |
- |
32 |
-DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" |
33 |
-HOMEPAGE="http://graphite.sil.org/" |
34 |
-SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz" |
35 |
- |
36 |
-LICENSE="LGPL-2.1" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
39 |
-IUSE="perl test" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- perl? ( dev-lang/perl:= ) |
43 |
-" |
44 |
-DEPEND="${RDEPEND} |
45 |
- perl? ( dev-perl/Module-Build ) |
46 |
- test? ( |
47 |
- dev-libs/glib:2 |
48 |
- media-libs/fontconfig |
49 |
- media-libs/silgraphite |
50 |
- ${PYTHON_DEPS} |
51 |
- ) |
52 |
-" |
53 |
- |
54 |
-PATCHES=( |
55 |
- "${FILESDIR}/${PN}-1.1.0-includes-libs-perl.patch" |
56 |
- "${FILESDIR}/${PN}-1.0.2-no_harfbuzz_tests.patch" |
57 |
- "${FILESDIR}/${PN}-1.0.3-no-test-binaries.patch" |
58 |
- "${FILESDIR}/${PN}-1.2.0-solaris.patch" |
59 |
-) |
60 |
- |
61 |
-pkg_setup() { |
62 |
- use perl && perl_set_version |
63 |
- use test && python-any-r1_pkg_setup |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- base_src_prepare |
68 |
- |
69 |
- # fix perl linking |
70 |
- if use perl; then |
71 |
- _cmake_check_build_dir init |
72 |
- sed -i \ |
73 |
- -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \ |
74 |
- contrib/perl/Build.PL || die |
75 |
- fi |
76 |
- |
77 |
- # make tests optional |
78 |
- if ! use test; then |
79 |
- sed -i \ |
80 |
- -e '/tests/d' \ |
81 |
- CMakeLists.txt || die |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- local mycmakeargs=( |
87 |
- "-DVM_MACHINE_TYPE=direct" |
88 |
- # http://sourceforge.net/p/silgraphite/bugs/49/ |
89 |
- $([[ ${CHOST} == powerpc*-apple* ]] && \ |
90 |
- echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON") |
91 |
- ) |
92 |
- |
93 |
- cmake-utils_src_configure |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- cmake-utils_src_compile |
98 |
- if use perl; then |
99 |
- cd contrib/perl |
100 |
- perl-module_src_configure |
101 |
- perl-module_src_compile |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-src_test() { |
106 |
- cmake-utils_src_test |
107 |
- if use perl; then |
108 |
- cd contrib/perl |
109 |
- perl-module_src_test |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- cmake-utils_src_install |
115 |
- if use perl; then |
116 |
- cd contrib/perl |
117 |
- perl-module_src_install |
118 |
- perl_delete_localpod |
119 |
- fi |
120 |
- |
121 |
- prune_libtool_files --all |
122 |
-} |