New package: text-engine-0.1.1

This commit is contained in:
chrysos349 2023-06-26 00:58:44 +03:00 committed by Duncan Overbruck
parent ba2c4bf44a
commit fbf2ac0a6b
5 changed files with 57 additions and 0 deletions

View File

@ -4278,3 +4278,4 @@ libgsoapssl++-2.8.124.so gsoap-2.8.124_1
libjxl.so.0.8 libjxl-0.8.2_1
libjxl_dec.so.0.8 libjxl-0.8.2_1
libjxl_threads.so.0.8 libjxl-0.8.2_1
libtext-engine-0.1.so.0 text-engine-0.1.1_1

1
srcpkgs/text-engine-demo Symbolic link
View File

@ -0,0 +1 @@
text-engine

1
srcpkgs/text-engine-devel Symbolic link
View File

@ -0,0 +1 @@
text-engine

View File

@ -0,0 +1,23 @@
From: Jeremy Bicha <jeremy.bicha@canonical.com>
Date: Wed, 20 Apr 2022 12:39:45 -0400
Subject: meson: set soversion
This sets up the symlinked shared library as expected
https://github.com/mjakeman/text-engine/pull/9
---
src/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/meson.build b/src/meson.build
index faff7ad..92e0a0b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -47,6 +47,7 @@ text_engine_deps = [
text_engine_lib = shared_library('text-engine-' + api_version,
text_engine_sources,
dependencies: text_engine_deps,
+ soversion: 0,
install: true,
)

View File

@ -0,0 +1,31 @@
# Template file for 'text-engine'
pkgname=text-engine
version=0.1.1
revision=1
build_style=meson
hostmakedepends="pkg-config glib-devel"
makedepends="libadwaita-devel"
short_desc="Lightweight rich text framework for GTK"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/mjakeman/text-engine"
distfiles="https://github.com/mjakeman/text-engine/archive/v${version}.tar.gz"
checksum=cf540d2c0150a46e8ec81c4532550357707c5d07b6116dc52e3869b1902f515f
text-engine-devel_package() {
depends="gtk4-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}
text-engine-demo_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - demonstration application"
pkg_install() {
vmove usr/bin/text-engine-demo
}
}