59 |
INHERITS="${INHERITS} xorg" |
INHERITS="${INHERITS} xorg" |
60 |
|
|
61 |
# pkg setup |
# pkg setup |
62 |
|
: ${HOMEPAGE="http://xorg.freedesktop.org"} |
63 |
: ${SRCFILE="${PNAME}-${PVER}.tar.bz2"} |
: ${SRCFILE="${PNAME}-${PVER}.tar.bz2"} |
64 |
: ${SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"} |
: ${SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"} |
65 |
|
|
73 |
|
|
74 |
# get the right subdir |
# get the right subdir |
75 |
case ${PCAT} in |
case ${PCAT} in |
76 |
app-doc) URISUBDIR="doc" ;; |
app-doc) URISUBDIR="doc" ;; |
77 |
media-fonts) URISUBDIR="font" ;; |
media-fonts) URISUBDIR="font" ;; |
78 |
x11-apps) URISUBDIR="app" ;; |
x11-apps) URISUBDIR="app" ;; |
79 |
x11-base) URISUBDIR="xserver" ;; |
x11-base) URISUBDIR="xserver" ;; |
80 |
x11-drivers) URISUBDIR="driver" ;; |
x11-drivers) URISUBDIR="driver" ;; |
81 |
x11-libs) URISUBDIR="lib" ;; |
x11-libs) |
82 |
x11-misc) case ${PNAME} in |
case ${PNAME} in |
83 |
xbitmaps|xkbdata) URISUBDIR="data" ;; |
glamor-egl) URISUBDIR="driver" ;; |
84 |
xkeyboard-config) URISUBDIR="data/xkeyboard-config" ;; |
*) URISUBDIR="lib" ;; |
85 |
*) URISUBDIR="util" ;; |
esac |
86 |
esac |
;; |
87 |
|
x11-misc) |
88 |
|
case ${PNAME} in |
89 |
|
xbitmaps|xkbdata) URISUBDIR="data" ;; |
90 |
|
xkeyboard-config) URISUBDIR="data/xkeyboard-config" ;; |
91 |
|
*) URISUBDIR="util" ;; |
92 |
|
esac |
93 |
;; |
;; |
94 |
x11-proto) URISUBDIR="proto" ;; |
x11-proto) URISUBDIR="proto" ;; |
95 |
x11-themes) URISUBDIR="data" ;; |
x11-themes) URISUBDIR="data" ;; |
96 |
x11-wm) URISUBDIR="app" ;; |
x11-wm) URISUBDIR="app" ;; |
97 |
esac |
esac |
98 |
|
|
99 |
SRC_URI=( |
SRC_URI=( |
102 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
103 |
) |
) |
104 |
|
|
105 |
# add default deps |
UP2DATE="updatecmd_xorg ${PNAME}" |
|
DEPEND="${DEPEND} |
|
|
>= virtual/man" |
|
106 |
|
|
107 |
|
# add default deps |
108 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
109 |
>= dev-util/pkgconfig-0.20 |
>= dev-util/pkgconfig-0.20 |
110 |
>= x11-misc/util-macros-1" |
>= x11-misc/util-macros-1" |
130 |
# default input driver dependencies |
# default input driver dependencies |
131 |
if is_xorg_input_driver |
if is_xorg_input_driver |
132 |
then |
then |
133 |
|
: ${DESCRIPTION="Xorg input driver for ${PNAME/xf86-input-/} devices."} |
134 |
|
|
135 |
DEPEND="${DEPEND} |
DEPEND="${DEPEND} |
136 |
|
>= x11-libs/libXi-1.7 |
137 |
|
>= x11-libs/libXtst-1.1 |
138 |
>= x11-base/xorg-server-1" |
>= x11-base/xorg-server-1" |
139 |
|
|
140 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
141 |
>= x11-proto/inputproto-1 |
== x11-proto/xorg-protos-7.7" |
|
>= x11-proto/randrproto-1 |
|
|
>= x11-proto/xproto-7" |
|
142 |
fi |
fi |
143 |
|
|
144 |
# default video driver dependencies |
# default video driver dependencies |
145 |
if is_xorg_video_driver |
if is_xorg_video_driver |
146 |
then |
then |
147 |
|
: ${DESCRIPTION="Xorg video driver for ${PNAME/xf86-video-/} devices."} |
148 |
|
|
149 |
DEPEND="${DEPEND} |
DEPEND="${DEPEND} |
150 |
>= x11-base/xorg-server-1" |
>= x11-base/xorg-server-1" |
151 |
|
|
152 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
153 |
>= x11-proto/fontsproto-2 |
== x11-proto/xorg-protos-7.7" |
|
>= x11-proto/randrproto-1 |
|
|
>= x11-proto/renderproto-0.9 |
|
|
>= x11-proto/xextproto-7 |
|
|
>= x11-proto/xproto-7 |
|
|
>= x11-proto/videoproto-2" |
|
154 |
fi |
fi |
155 |
|
|
156 |
xorg_src_prepare() |
xorg_src_prepare() |