diff --git a/templates/xf86-input-jamstudio/template b/templates/xf86-input-jamstudio/template new file mode 100644 index 00000000000..ac254cd26cb --- /dev/null +++ b/templates/xf86-input-jamstudio/template @@ -0,0 +1,21 @@ +# Template build file for 'xf86-input-jamstudio'. +pkgname=xf86-input-jamstudio +version=1.2.0 +distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Xorg jamstudio input driver" +maintainer="Juan RP " +checksum=c5bbade96f1849b45f665a54e08ac8f9d5a94d31a8a680edc4d3c9361d164ac0 +long_desc=" + This is the jamstudio input driver for the Xorg X11 server." + +Add_dependency full glibc +Add_dependency full xorg-server + +pre_build() +{ + # Build fix for xorg-server >= 1.6.0 + sed -i -e "s|xf86Version.h|xorgVersion.h|g" \ + -e "s|XF86_VERSION_|XORG_VERSION_|g" ${wrksrc}/src/js_x.c +} +