biology/trimadap: Update to 0.1.4

Update to latest commit, with new MIT license
Add support for other architectures using SIMDE

Reported by:            fuz
Reviewed by:            fuz
Differential Revision:  https://reviews.freebsd.org/D47129
This commit is contained in:
Jason W. Bacon 2024-10-18 06:37:12 -05:00
parent 4b7e39d244
commit 0ece2dbac7
3 changed files with 21 additions and 9 deletions

View file

@ -1,18 +1,17 @@
PORTNAME= trimadap
DISTVERSION= 0.1-3
DISTVERSIONSUFFIX= -gddfef21
PORTREVISION= 1
DISTVERSION= 0.1-4
DISTVERSIONSUFFIX= -gec5a764
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Trim adapter sequences from Illumina data using heuristic rules
WWW= https://github.com/lh3/trimadap
LICENSE= GPLv2
LICENSE= MIT
ONLY_FOR_ARCHS= amd64 i386 powerpc64le
ONLY_FOR_ARCHS_REASON= uses hard-coded SSE instructions
BUILD_DEPENDS= simde>0:devel/simde
USES= localbase
USE_GITHUB= yes
GH_ACCOUNT= lh3

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1522773176
SHA256 (lh3-trimadap-0.1-3-gddfef21_GH0.tar.gz) = c2c42a3257d37b12be3523ed0d4415bddd401d72b99b05ba4ae33afaa3c3f373
SIZE (lh3-trimadap-0.1-3-gddfef21_GH0.tar.gz) = 13138
TIMESTAMP = 1729109026
SHA256 (lh3-trimadap-0.1-4-gec5a764_GH0.tar.gz) = fa842c705028054e13dc5be6aab5feb621b0ac54c2ca5bee3ab9eb9046a55ac4
SIZE (lh3-trimadap-0.1-4-gec5a764_GH0.tar.gz) = 13268

View file

@ -0,0 +1,13 @@
--- ksw.c.orig 2024-10-16 19:52:35 UTC
+++ ksw.c
@@ -26,7 +26,9 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
-#include <emmintrin.h>
+// #include <emmintrin.h>
+#define SIMDE_ENABLE_NATIVE_ALIASES
+#include <simde/x86/sse2.h>
#include "ksw.h"
#ifdef __GNUC__