From 4bb4656df44626cf52179fb1789de383c692b54f Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Wed, 28 Dec 2022 22:57:30 -0500 Subject: [PATCH] libtsm: update to 4.0.2, switch to Aetf's fork --- common/shlibs | 2 +- srcpkgs/libtsm/patches/build-type-none.patch | 11 +++++++++++ srcpkgs/libtsm/template | 16 ++++++++-------- 3 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 srcpkgs/libtsm/patches/build-type-none.patch diff --git a/common/shlibs b/common/shlibs index e42350c63be..d80771f9f71 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1456,7 +1456,7 @@ libgfxdr.so.0 libglusterfs-8.3_2 libgfapi.so.0 libglusterfs-8.3_2 libglusterd.so.0 libglusterfs-8.3_2 libsnapper.so.6 libsnapper-0.10.2_1 -libtsm.so.3 libtsm-3_1 +libtsm.so.4 libtsm-4.0.2_1 libxine.so.2 libxine-1.2.4_1 libjbig2dec.so.0 libjbig2dec-0.11_1 libsource-highlight.so.4 libsource-highlight-3.1.7_1 diff --git a/srcpkgs/libtsm/patches/build-type-none.patch b/srcpkgs/libtsm/patches/build-type-none.patch new file mode 100644 index 00000000000..660118ff5e2 --- /dev/null +++ b/srcpkgs/libtsm/patches/build-type-none.patch @@ -0,0 +1,11 @@ +--- a/cmake/BuildTypes.cmake ++++ b/cmake/BuildTypes.cmake +@@ -49,7 +49,7 @@ + ) + list(APPEND KNOWN_BUILD_TYPES ${build}) + endforeach() +-list(APPEND KNOWN_BUILD_TYPES Debug Release RelWithDebInfo MinSizeRel) ++list(APPEND KNOWN_BUILD_TYPES Debug Release None RelWithDebInfo MinSizeRel) + + if (NOT CMAKE_BUILD_TYPE IN_LIST KNOWN_BUILD_TYPES) + message(FATAL_ERROR "Unknown build type: ${CMAKE_BUILD_TYPE}. Choices are ${KNOWN_BUILD_TYPES}") diff --git a/srcpkgs/libtsm/template b/srcpkgs/libtsm/template index 641fb0bd936..87010315c1d 100644 --- a/srcpkgs/libtsm/template +++ b/srcpkgs/libtsm/template @@ -1,16 +1,16 @@ # Template file for 'libtsm' pkgname=libtsm -version=3 -revision=3 -build_style=gnu-configure +version=4.0.2 +revision=1 +build_style=cmake hostmakedepends="pkg-config" makedepends="libxkbcommon-devel" short_desc="Terminal-emulator State Machine" maintainer="Orphaned " -license="MIT" -homepage="http://www.freedesktop.org/wiki/Software/kmscon/libtsm/" -distfiles="${FREEDESKTOP_SITE}/kmscon/releases/libtsm-${version}.tar.xz" -checksum=114115d84a2bc1802683871ea2d70a16ddeec8d2f8cde89ebd2046d775e6cf07 +license="MIT, LGPL-2.1-or-later, BSD-2-Clause" +homepage="https://github.com/Aetf/libtsm" +distfiles="https://github.com/Aetf/libtsm/archive/refs/tags/v${version}.tar.gz" +checksum=ce51be564872d3e6a35fadab1f74b8804f72d8a92c0f378ca384155134d154e5 post_install() { vlicense COPYING @@ -22,7 +22,7 @@ libtsm-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" + vmove usr/lib/cmake vmove "usr/lib/*.so" } }