Compare commits
2 Commits
5af66b963d
...
20147d69a1
Author | SHA1 | Date | |
---|---|---|---|
|
20147d69a1 | ||
|
5b49d4877d |
|
@ -29,7 +29,7 @@ EGIT_BRANCH="packaging"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
IUSE="test"
|
IUSE="test whirlgif"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
|
@ -74,6 +74,9 @@ src_prepare() {
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
#LDFLAGS="-L${S}/${LIBDIR} ${LDFLAGS}" econf --enable-progpath="${EPREFIX}/usr/bin"
|
#LDFLAGS="-L${S}/${LIBDIR} ${LDFLAGS}" econf --enable-progpath="${EPREFIX}/usr/bin"
|
||||||
|
if use !whirlgif; then
|
||||||
|
eapply "${FILESDIR}/${PN}-whirlgif.patch"
|
||||||
|
fi
|
||||||
export CFLAGS="-pthread ${CFLAGS}"
|
export CFLAGS="-pthread ${CFLAGS}"
|
||||||
export GIT_REPO_VERSION=3.0.1.1
|
export GIT_REPO_VERSION=3.0.1.1
|
||||||
#export LDFLAGS="-lpthread ${LDFLAGS}"
|
#export LDFLAGS="-lpthread ${LDFLAGS}"
|
||||||
|
@ -99,8 +102,10 @@ src_configure() {
|
||||||
-DCOMP_PLUGINS=ON
|
-DCOMP_PLUGINS=ON
|
||||||
-DUSE_OMP=ON
|
-DUSE_OMP=ON
|
||||||
-DCOMP_PYTHON=OFF
|
-DCOMP_PYTHON=OFF
|
||||||
|
#-DCOMP_PYTHON=ON
|
||||||
-DPython_FIND_VIRTUALENV=STANDARD
|
-DPython_FIND_VIRTUALENV=STANDARD
|
||||||
-DPython_FIND_STRATEGY=LOCATION
|
-DPython_FIND_STRATEGY=LOCATION
|
||||||
|
-DUSE_SYSTEM_F2C=ON
|
||||||
)
|
)
|
||||||
#-DBUILD_SHARED_LIBS=OFF
|
#-DBUILD_SHARED_LIBS=OFF
|
||||||
tc-export CC
|
tc-export CC
|
||||||
|
@ -116,26 +121,9 @@ src_compile() {
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
cd ../afni-9999_build
|
cd ../afni-9999_build
|
||||||
|
DESTDIR=${D} eninja install
|
||||||
# File collision, upstream confirmation here:
|
# File collision, upstream confirmation here:
|
||||||
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
||||||
#pwd
|
cd ${D}
|
||||||
#ls -lah
|
rm usr/bin/mpeg_encode
|
||||||
#addpredict targets_built/libf2c.so
|
|
||||||
#rm targets_built/libf2c.so
|
|
||||||
#addpredict /usr/lib64/libf2c.so
|
|
||||||
#addpredict /usr/bin/whirlgif
|
|
||||||
#addpredict /usr/bin/mpeg_encode
|
|
||||||
#exit
|
|
||||||
rm targets_built/whirlgif
|
|
||||||
rm targets_built/mpeg_encode
|
|
||||||
DESTDIR=${D} eninja install
|
|
||||||
# This is old example ants stuff.
|
|
||||||
#BUILD_DIR="${WORKDIR}/${P}_build/ANTS-build"
|
|
||||||
#cmake_src_install
|
|
||||||
#cd "${S}/Scripts" || die "scripts dir not found"
|
|
||||||
#dobin *.sh
|
|
||||||
#dodir /usr/$(get_libdir)/ants
|
|
||||||
#insinto "/usr/$(get_libdir)/ants"
|
|
||||||
#doins *
|
|
||||||
#doenvd "${FILESDIR}"/99ants
|
|
||||||
}
|
}
|
||||||
|
|
39
sci-biology/afni/files/afni-whirlgif.patch
Normal file
39
sci-biology/afni/files/afni-whirlgif.patch
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
diff --git a/packaging/installation_components.txt b/packaging/installation_components.txt
|
||||||
|
index 127193338..ba8825a7b 100644
|
||||||
|
--- a/packaging/installation_components.txt
|
||||||
|
+++ b/packaging/installation_components.txt
|
||||||
|
@@ -347,7 +347,6 @@ uniq_images, corebinaries
|
||||||
|
unu, corebinaries
|
||||||
|
waver, corebinaries
|
||||||
|
whereami, corebinaries
|
||||||
|
-whirlgif, corebinaries
|
||||||
|
3dMax, tcsh
|
||||||
|
3dPAR2AFNI.pl, tcsh
|
||||||
|
@1dDiffMag, tcsh
|
||||||
|
diff --git a/src/CMakeLists_binaries.txt b/src/CMakeLists_binaries.txt
|
||||||
|
index d53368390..8c8e9e1fb 100644
|
||||||
|
--- a/src/CMakeLists_binaries.txt
|
||||||
|
+++ b/src/CMakeLists_binaries.txt
|
||||||
|
@@ -209,7 +209,6 @@ foreach(
|
||||||
|
uniq_images
|
||||||
|
unu
|
||||||
|
whereami
|
||||||
|
- whirlgif
|
||||||
|
)
|
||||||
|
|
||||||
|
add_afni_executable(${target} ${target}.c)
|
||||||
|
diff --git a/src/Makefile.INCLUDE b/src/Makefile.INCLUDE
|
||||||
|
index f44103def..7ac08a87d 100644
|
||||||
|
--- a/src/Makefile.INCLUDE
|
||||||
|
+++ b/src/Makefile.INCLUDE
|
||||||
|
@@ -3495,11 +3495,6 @@ help_format:help_format.o
|
||||||
|
ibinom:ibinom.o
|
||||||
|
$(CC) -o ibinom ibinom.o $(LFLAGS) $(LLIBS)
|
||||||
|
|
||||||
|
-## GIF animation
|
||||||
|
-
|
||||||
|
-whirlgif:whirlgif.h whirlgif.c
|
||||||
|
- $(CC) -o whirlgif whirlgif.c $(INFLAGS) $(LFLAGS) $(LLIBS)
|
||||||
|
-
|
||||||
|
extor.o:extor.c
|
||||||
|
$(CCFAST) -c extor.c $(INFLAGS)
|
Loading…
Reference in New Issue
Block a user