blob: ccbda05029edc9ec03a0da41720c274803c3c4b8 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.3 2003/07/18 15:06:27 seemant Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
# The xfree.eclass is designed to ease the checking functions that are
# performed in xfree and xfree-drm ebuilds. In the new scheme, a variable
# called VIDEO_CARDS will be used to indicate which cards a user wishes to
# build support for. Note, that this variable is only unlocked if the USE
# variable "expertxfree" is switched on, at least for xfree.
ECLASS=xfree
INHERITED="${INHERITED} ${ECLASS}"
EXPORT_FUNCTIONS vcards
vcards() {
has "$1" "${VIDEO_CARDS}" && return 0
return 1
}
filter-patch() {
mv ${PATCH_DIR}/"*${1}* ${PATCH_DIR}/excluded
}
|