2010-02-17 07:15:16 +01:00
|
|
|
# Template build file for 'xf86-video-ati'.
|
|
|
|
pkgname=xf86-video-ati-git-snapshot
|
|
|
|
version="$(date +%Y%m%d)"
|
|
|
|
build_style=gnu_configure
|
|
|
|
short_desc="Xorg ATI Radeon video driver (git snapshot)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
|
|
|
This is the video driver for ATI Radeon cards for the Xorg X11 server."
|
|
|
|
|
2011-02-16 10:13:49 +01:00
|
|
|
replaces="xf86-video-ati>=0"
|
2011-10-20 18:03:00 +02:00
|
|
|
provides="xf86-video-ati-6.15"
|
2010-02-17 07:15:16 +01:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2010-10-25 11:41:54 +02:00
|
|
|
Add_dependency run libudev
|
2010-02-17 07:15:16 +01:00
|
|
|
Add_dependency run libpciaccess
|
|
|
|
Add_dependency run libdrm
|
|
|
|
Add_dependency run pixman
|
2011-07-16 22:06:49 +02:00
|
|
|
Add_dependency run xorg-server
|
|
|
|
|
|
|
|
Add_dependency build git
|
|
|
|
Add_dependency build automake
|
2010-02-17 07:15:16 +01:00
|
|
|
Add_dependency build pkg-config
|
2011-07-16 22:06:49 +02:00
|
|
|
Add_dependency build randrproto
|
2010-10-25 11:41:54 +02:00
|
|
|
Add_dependency build libudev-devel
|
2010-02-17 07:15:16 +01:00
|
|
|
Add_dependency build libpciaccess-devel
|
|
|
|
Add_dependency build libdrm-devel
|
2011-07-16 22:06:49 +02:00
|
|
|
Add_dependency build libXrandr-devel
|
2010-02-17 07:15:16 +01:00
|
|
|
Add_dependency build pixman-devel
|
|
|
|
Add_dependency build xorg-util-macros
|
2011-07-16 22:06:49 +02:00
|
|
|
Add_dependency build xorg-server-devel
|
2010-02-17 07:15:16 +01:00
|
|
|
|
2011-10-14 19:24:20 +02:00
|
|
|
do_fetch() {
|
2011-07-16 22:06:49 +02:00
|
|
|
local url="git://anongit.freedesktop.org/xorg/driver/xf86-video-ati"
|
2010-12-20 00:22:12 +01:00
|
|
|
msg_normal " Fetching from master git repository...\n"
|
2011-10-14 19:24:20 +02:00
|
|
|
git clone ${url} ${pkgname}-${version}
|
2010-02-17 07:15:16 +01:00
|
|
|
}
|
|
|
|
|
2011-10-14 19:24:20 +02:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
2010-02-17 07:15:16 +01:00
|
|
|
}
|
2011-10-20 18:03:00 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
|
|
|
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
|
|
|
sed -i "s|@@PROVIDES@@|${provides}|;s|@@REPLACES@@|${replaces}|" \
|
|
|
|
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.plist
|
|
|
|
vmkdir etc/xbps/virtualpkg.d.wants
|
|
|
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
|
|
|
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
|
|
|
}
|