makedeb


vkvg 0.3.0-1


Vulkan 2D graphics library following the Cairo API

Click here to go back to the commit logs for vkvg.

Commit:


Hash: 903d613fe5b188b495daed0ef8deb0a2d8396363

Message: update depends

Diff


diff --git a/.SRCINFO b/.SRCINFO
index fdf1cd4..869d29a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,12 +10,17 @@ pkgbase = vkvg
 	makedepends = cmake
 	makedepends = git
 	makedepends = xxd
-	depends = libvulkan-dev
-	depends = fontconfig
-	depends = libfreetype-dev
-	depends = libharfbuzz-dev
-	depends = libglfw3-dev
-	source = git+https://github.com/jpbruyere/vkvg#tag=v0.3.0-beta
+	makedepends = libvulkan-dev
+	makedepends = libfontconfig-dev
+	makedepends = libfreetype-dev
+	makedepends = libharfbuzz-dev
+	depends = libvulkan1
+	depends = libfontconfig1
+	depends = libfreetype6
+	depends = libharfbuzz0b
+	optdepends = libglfw3-dev: enable build tests
+	options = !strip
+	source = vkvg-0.3.0::git+https://github.com/jpbruyere/vkvg#tag=v0.3.0-beta
 	sha256sums = SKIP
 
 pkgname = vkvg
diff --git a/PKGBUILD b/PKGBUILD
index 22c6138..40ebc98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,28 +8,30 @@ arch=(x86_64)
 url='https://github.com/jpbruyere/vkvg'
 
 license=('MIT')
-makedepends=('cmake' 'git' 'xxd' )
+makedepends=('cmake' 'git' 'xxd' 'libvulkan-dev' 'libfontconfig-dev' 'libfreetype-dev' 'libharfbuzz-dev')
 #'shaderc'
-depends=( 'libvulkan-dev' 'fontconfig' 'libfreetype-dev' 'libharfbuzz-dev' 'libglfw3-dev')
-#optdepends(  )
+depends=( 'libvulkan1' 'libfontconfig1' 'libfreetype6' 'libharfbuzz0b' )
+optdepends=('libglfw3-dev: enable build tests')
 
-source=("git+https://github.com/jpbruyere/vkvg#tag=v$pkgver-beta")
+source=("$pkgname-$pkgver"::"git+https://github.com/jpbruyere/vkvg#tag=v$pkgver-beta")
 sha256sums=('SKIP')
 
+options=(!strip)
+
 prepare() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   git submodule update --init --recursive
   mkdir -p build
 }
 
 build() {
-  cd $pkgname/build
+  cd $pkgname-$pkgver/build
   cmake .. -DCMAKE_BUILD_TYPE=Release -DVKVG_BUILD_TESTS=false
   cmake --build .
 }
 
 package() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 
   cd build