You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
libraqm: update to 0.10.5
This commit is contained in:
@@ -4,15 +4,15 @@ PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
PortGroup meson 1.0
|
||||
|
||||
github.setup HOST-Oman libraqm 0.10.1 v
|
||||
revision 1
|
||||
checksums rmd160 dfaaefaa4da6b753f387af3b3f1079a3e8f7caa7 \
|
||||
sha256 4d76a358358d67c5945684f2f10b3b08fb80e924371bf3ebf8b15cd2e321d05d \
|
||||
size 216576
|
||||
github.setup HOST-Oman libraqm 0.10.5 v
|
||||
revision 0
|
||||
checksums rmd160 69db2d4c882bb2a516f1a730edfb10f781eba5e5 \
|
||||
sha256 563053e724892a7b037913110ea2daef50ad575d4fa9f7c368ae1e4515f5e856 \
|
||||
size 217188
|
||||
|
||||
categories devel
|
||||
license MIT
|
||||
maintainers nomaintainer
|
||||
maintainers {reneeotten @reneeotten} openmaintainer
|
||||
|
||||
github.tarball_from releases
|
||||
distname raqm-${version}
|
||||
@@ -27,9 +27,7 @@ long_description Raqm is a small library that encapsulates the logic for
|
||||
|
||||
homepage https://host-oman.github.io/libraqm/
|
||||
|
||||
patchfiles-append patch-darwin-dylib-versions.diff
|
||||
|
||||
depends_build-append port:pkgconfig
|
||||
depends_build-append path:bin/pkg-config:pkgconfig
|
||||
|
||||
depends_lib-append port:freetype \
|
||||
path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
#==================================================================================================
|
||||
# Patch to correctly set dylib versions; will be submitted to upstream for inclusion.
|
||||
#
|
||||
# Author: Christopher Nielsen @ MacPorts
|
||||
# Date: 2024-03-03
|
||||
# See: https://trac.macports.org/ticket/68762
|
||||
#==================================================================================================
|
||||
--- src/meson.build.orig 2024-03-03 15:10:27.000000000 -0500
|
||||
+++ src/meson.build 2024-03-03 15:24:21.000000000 -0500
|
||||
@@ -15,10 +15,14 @@
|
||||
|
||||
configure_file(output: 'config.h', configuration: config_h)
|
||||
|
||||
+raqm_ver_major = raqm_version[0].to_int()
|
||||
+raqm_ver_minor = raqm_version[1].to_int()
|
||||
+raqm_ver_micro = raqm_version[2].to_int()
|
||||
+
|
||||
version_h = configuration_data()
|
||||
-version_h.set('RAQM_VERSION_MAJOR', raqm_version[0].to_int())
|
||||
-version_h.set('RAQM_VERSION_MINOR', raqm_version[1].to_int())
|
||||
-version_h.set('RAQM_VERSION_MICRO', raqm_version[2].to_int())
|
||||
+version_h.set('RAQM_VERSION_MAJOR', raqm_ver_major)
|
||||
+version_h.set('RAQM_VERSION_MINOR', raqm_ver_minor)
|
||||
+version_h.set('RAQM_VERSION_MICRO', raqm_ver_micro)
|
||||
version_h.set('RAQM_VERSION', meson.project_version())
|
||||
|
||||
configure_file(
|
||||
@@ -32,11 +36,22 @@
|
||||
raqm_headers = files('raqm.h')
|
||||
install_headers(raqm_headers)
|
||||
|
||||
+# ABI compatibility version should be that used for last non-meson release, 0.7.1
|
||||
+raqm_ver_compat = 701
|
||||
+raqm_ver_current = raqm_ver_major * 10000 + raqm_ver_minor * 100 + raqm_ver_micro
|
||||
+
|
||||
+raqm_dylib_ver_compat = '@0@.0.0'.format(raqm_ver_compat)
|
||||
+raqm_dylib_ver_current = '@0@.0.0'.format(raqm_ver_current)
|
||||
+message('raqm_dylib_ver_compat: ', raqm_dylib_ver_compat)
|
||||
+message('raqm_dylib_ver_current: ', raqm_dylib_ver_current)
|
||||
+raqm_darwin_versions = [raqm_dylib_ver_compat, raqm_dylib_ver_current]
|
||||
+
|
||||
libraqm = library(
|
||||
'raqm',
|
||||
'raqm.c',
|
||||
'raqm.h',
|
||||
version: meson.project_version(),
|
||||
+ darwin_versions: raqm_darwin_versions,
|
||||
dependencies: deps,
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
install: true,
|
||||
Reference in New Issue
Block a user