libvdpau glslang
This commit is contained in:
1 parent
45883a89ec
commit
5e5bb5124a
3 files changed
+83
-1
No files matched your search
@@ -0,0 +1,48 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='glslang'
|
||||||
|
release='1'
|
||||||
|
version='11.13.0'
|
||||||
|
url='https://github.com/KhronosGroup/glslang'
|
||||||
|
description='OpenGL and OpenGL ES shader front end and validator'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/KhronosGroup/glslang/archive/refs/tags/$version.tar.gz")
|
||||||
|
depends=(gcc)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('d3821e60ef4a77159e63b7ba9bb17a54')
|
||||||
|
group=(dev.util)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
cmake \
|
||||||
|
-Bbuild-shared \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
cmake \
|
||||||
|
-Bbuild-static \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -Cbuild-shared
|
||||||
|
ninja -Cbuild-static
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -Cbuild-shared install
|
||||||
|
ninja -Cbuild-static install
|
||||||
|
cd "${DESTDIR}"/usr/lib64
|
||||||
|
for lib in *.so; do
|
||||||
|
ln -sf "${lib}" "${lib}.0"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version
|
|||||||
depends=(libffi xz-utils libxml2 zlib)
|
depends=(libffi xz-utils libxml2 zlib)
|
||||||
makedepends=(git)
|
makedepends=(git)
|
||||||
md5sums=('69b637cfee09e3f5d2ec5cc16681cbe7')
|
md5sums=('69b637cfee09e3f5d2ec5cc16681cbe7')
|
||||||
group=()
|
group=(sys.devel)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
@@ -54,5 +54,6 @@ build(){
|
|||||||
package(){
|
package(){
|
||||||
cd build
|
cd build
|
||||||
ninja install
|
ninja install
|
||||||
|
mv ${DESTDIR}/usr/lib{,64}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libvdpau'
|
||||||
|
release='1'
|
||||||
|
version='1.5'
|
||||||
|
url='https://gitlab.freedesktop.org/vdpau/libvdpau/'
|
||||||
|
description='VDPAU wrapper and trace libraries'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$version/libvdpau-$version.tar.gz")
|
||||||
|
depends=(libXext)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('665b9dd49440ed48b08e0ab053ad9ede')
|
||||||
|
group=(x11.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64 \
|
||||||
|
-Ddri2=true
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user