Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics:darktable:master
vkdt
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package vkdt
# Contributor: Johannes Hanika <hanatos at gmail dot com> pkgname=vkdt pkgver=0.0 pkgrel=0 pkgdesc="darktable that sucks less" arch=('x86_64') url=https://jo.dreggn.org/vkdt/ license=('GPL3') # glfw-wayland works too, dunno how to express that here depends=(vulkan-extra-tools glfw-x11 glslang pugixml zlib exiv2 alsa-lib freetype2 libpng libjpeg-turbo openmp) # optdepends=('freetype2: better font rendering' # 'libpng: better font rendering' # 'exiv2: metadata loading' # 'alsa-lib: sound support') makedepends=(git cmake llvm clang sed rsync pkg-config) conflicts=(vkdt) provides=(vkdt) # options=(!emptydirs !libtool) # will be overwritten by obs: source=("vkdt-${pkgver}.tar.xz::/usr/packages/SOURCES/vkdt-${pkgver}.tar.xz") sha256sums=('SKIP') # pkgver() { # cd $_gitname # git describe --long --tags # } #prepare() { # cd $_gitname # git config submodule.ext/rawspeed.url "$srcdir/rawspeed.git" # git config submodule.ext/imgui.url "$srcdir/imgui.git" # git submodule update --init --recursive #} build() { cd "${srcdir}/vkdt-${pkgver}" cat > src/core/version.h << EOF #pragma once #define VKDT_VERSION "${pkgver}" EOF cat > bin/config.mk << EOF VKDT_USE_FREETYPE=1 export VKDT_USE_FREETYPE VKDT_USE_RAWSPEED=1 export VKDT_USE_RAWSPEED VKDT_USE_EXIV2=1 export VKDT_USE_EXIV2 VKDT_USE_V4L2=1 export VKDT_USE_V4L2 VKDT_USE_MLV=1 export VKDT_USE_MLV VKDT_USE_ALSA=1 export VKDT_USE_ALSA # compiler config CC=clang CXX=clang++ GLSLC=glslangValidator OPT_CFLAGS=-Wall -pipe -O3 -march=x86-64 -DNDEBUG OPT_LDFLAGS= AR=ar RAWSPEED_PACKAGE_BUILD=1 export CC CXX GLSLC OPT_CFLAGS OPT_LDFLAGS AR RAWSPEED_PACKAGE_BUILD EOF make } package() { cd "${srcdir}/vkdt-${pkgver}" make prefix=/usr DESTDIR=${pkgdir} install }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor