Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
648
Issues
648
List
Boards
Labels
Service Desk
Milestones
Merge Requests
195
Merge Requests
195
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
71c9b756
Commit
71c9b756
authored
Feb 11, 2018
by
A. Wilcox
Committed by
Ariadne Conill
Feb 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/libva-intel-driver: modernise, add check
parent
1ccbed28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
main/libva-intel-driver/APKBUILD
main/libva-intel-driver/APKBUILD
+16
-18
No files found.
main/libva-intel-driver/APKBUILD
View file @
71c9b756
...
...
@@ -2,28 +2,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
libva-intel-driver
pkgver
=
2.0.0
pkgrel
=
0
pkgdesc
=
"VA-API implementation for Intel G
45 chipsets and Intel HD Graphics for Intel Core processor family
"
pkgrel
=
1
pkgdesc
=
"VA-API implementation for Intel G
MA chipsets and Intel HD Graphics
"
url
=
"http://freedesktop.org/wiki/Software/vaapi"
arch
=
"x86 x86_64"
license
=
"MIT"
depends
=
""
depends_dev
=
"libdrm-dev libva-dev"
makedepends
=
"
$depends_dev
autoconf automake libtool"
makedepends
=
"libdrm-dev libva-dev autoconf automake libtool"
install
=
""
subpackages
=
""
install_if
=
"libva xf86-video-intel"
source
=
"
${
pkgname
}
-
${
pkgver
}
.tar.bz2::https://github.com/01org/intel-vaapi-driver/releases/download/
${
pkgver
}
/intel-vaapi-driver-
${
pkgver
}
.tar.bz2"
_
builddir
=
"
$srcdir
"
/intel-vaapi-driver-
$pkgver
builddir
=
"
$srcdir
"
/intel-vaapi-driver-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
cd
"
$builddir
"
default_prepare
# we need to regen the configure script which will unconditionally
# depend on wayland scanner otherwise
libtoolize
--force
&&
aclocal
-I
m4
&&
autoconf
\
...
...
@@ -31,7 +25,7 @@ prepare() {
}
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -39,14 +33,18 @@ build() {
--enable-x11
\
--disable-wayland
\
--disable-static
\
--enable-shared
\
||
return
1
make
||
return
1
--enable-shared
make
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"a1ca679e1e928a56d369140f3a129a5ed66668d37e25b6115712d406d58fdc9cdce16df22361b91356ea267a558eaf30789d9eba0d415bf2e5ca559d983d0c27 libva-intel-driver-2.0.0.tar.bz2"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment