aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2024-12-29 03:11:58 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2024-12-29 03:11:58 +0000
commit8c558ffb7d56826eb9bd8f5a168922001719b70e (patch)
tree9de6d6e85e2b2ab15e8063b36ab9011ac7f6b365
parent68ce9e0fa62b07bdc6b035f152888f68330af3c4 (diff)
astro/phd2: Update to 2.6.13
- Remove obsolete patch file
-rw-r--r--astro/phd2/Makefile11
-rw-r--r--astro/phd2/distinfo6
-rw-r--r--astro/phd2/files/patch-thirdparty_thirdparty.cmake20
-rw-r--r--astro/phd2/pkg-plist7
4 files changed, 18 insertions, 26 deletions
diff --git a/astro/phd2/Makefile b/astro/phd2/Makefile
index d8a4cca3541b..fc8a020d8d86 100644
--- a/astro/phd2/Makefile
+++ b/astro/phd2/Makefile
@@ -1,7 +1,6 @@
PORTNAME= phd2
DISTVERSIONPREFIX=v
-DISTVERSION= 2.6.10
-PORTREVISION= 11
+DISTVERSION= 2.6.13
CATEGORIES= astro
MAINTAINER= acm@FreeBSD.org
@@ -16,7 +15,7 @@ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
libcurl.so:ftp/curl
RUN_DEPENDS= indiserver:devel/indi
-USES= cmake eigen:3 gettext ninja pkgconfig xorg
+USES= cmake desktop-file-utils eigen:3 gettext ninja pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= OpenPHDGuiding
@@ -40,4 +39,10 @@ CMAKE_ARGS+= -DUSE_SYSTEM_GTEST:BOOL=YES \
CMAKE_ARGS+= -DOPENSOURCE_ONLY:BOOL=YES
.endif
+post-install:
+.for RESO in 16 32 48 64 128 256
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps
+ ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_${RESO}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.png
+.endfor
+
.include <bsd.port.mk>
diff --git a/astro/phd2/distinfo b/astro/phd2/distinfo
index 82f6c6f399a3..b8123b30d4fd 100644
--- a/astro/phd2/distinfo
+++ b/astro/phd2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630823115
-SHA256 (OpenPHDGuiding-phd2-v2.6.10_GH0.tar.gz) = f330ae45dfe3c0166b509adcac11a28403dc101e97020ab5f09d8e681e11cd5d
-SIZE (OpenPHDGuiding-phd2-v2.6.10_GH0.tar.gz) = 117658264
+TIMESTAMP = 1735438562
+SHA256 (OpenPHDGuiding-phd2-v2.6.13_GH0.tar.gz) = 619993ce5a8baf1c62ba5dcb3ae485b4b82e0d8ce247d6b565b1db6a7de274cf
+SIZE (OpenPHDGuiding-phd2-v2.6.13_GH0.tar.gz) = 165076668
diff --git a/astro/phd2/files/patch-thirdparty_thirdparty.cmake b/astro/phd2/files/patch-thirdparty_thirdparty.cmake
deleted file mode 100644
index 27dee2b08db2..000000000000
--- a/astro/phd2/files/patch-thirdparty_thirdparty.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
-Fix compilation against libidngi 1.9.1
-
-In file included from /wrkdirs/usr/ports/astro/phd2/work/phd2-2.6.9dev5/stepguider_sxao_indi.cpp:40:
-In file included from /wrkdirs/usr/ports/astro/phd2/work/phd2-2.6.9dev5/phdindiclient.h:37:
-/usr/local/include/libindi/baseclient.h:27:10: error: 'indimacros.h' file not found with <angled> include; use "quotes" instead
-#include <indimacros.h>
- ^
-1 warning and 1 error generated.
-
---- thirdparty/thirdparty.cmake.orig 2021-08-06 09:18:28 UTC
-+++ thirdparty/thirdparty.cmake
-@@ -660,7 +660,7 @@ else()
- find_package(INDI 0.9 REQUIRED)
- # source files include <libindi/baseclient.h> so we need the libindi parent directory in the include directories
- get_filename_component(INDI_INCLUDE_PARENT_DIR ${INDI_INCLUDE_DIR} DIRECTORY)
-- include_directories(${INDI_INCLUDE_PARENT_DIR})
-+ include_directories(${INDI_INCLUDE_PARENT_DIR} ${INDI_INCLUDE_DIR})
- if(INDI_VERSION VERSION_LESS "1.4")
- set(PHD_LINK_EXTERNAL ${PHD_LINK_EXTERNAL} ${INDI_CLIENT_LIBRARIES} ${INDI_LIBRARIES})
- else(INDI_VERSION VERSION_LESS "1.4")
diff --git a/astro/phd2/pkg-plist b/astro/phd2/pkg-plist
index f754afd78beb..0c067c64f12b 100644
--- a/astro/phd2/pkg-plist
+++ b/astro/phd2/pkg-plist
@@ -1,8 +1,15 @@
bin/phd2
bin/phd2.bin
share/applications/phd2.desktop
+share/icons/hicolor/128x128/apps/phd2.png
+share/icons/hicolor/16x16/apps/phd2.png
+share/icons/hicolor/256x256/apps/phd2.png
+share/icons/hicolor/32x32/apps/phd2.png
+share/icons/hicolor/48x48/apps/phd2.png
+share/icons/hicolor/64x64/apps/phd2.png
share/locale/ar_LY/LC_MESSAGES/phd2.mo
share/locale/ca_ES/LC_MESSAGES/phd2.mo
+share/locale/cs_CZ/LC_MESSAGES/phd2.mo
share/locale/de_DE/LC_MESSAGES/phd2.mo
share/locale/es_ES/LC_MESSAGES/phd2.mo
share/locale/fr_FR/LC_MESSAGES/phd2.mo