1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

graphics/yagf: Update to version 0.9.3.2

This commit is contained in:
Boris Samorodov 2014-07-26 09:00:16 +00:00
parent 91c87afc8a
commit 91e91ce311
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362960
4 changed files with 13 additions and 31 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= yagf
PORTVERSION= 0.9.2
PORTREVISION= 3
PORTVERSION= 0.9.3.2
CATEGORIES= graphics
MASTER_SITES= http://symmetrica.net/cuneiform-linux/

View File

@ -1,2 +1,2 @@
SHA256 (yagf-0.9.2.tar.gz) = 1099760462c029aa9919ef96809a1b0252d8d735d9d0807ce790f9d3e1e271b8
SIZE (yagf-0.9.2.tar.gz) = 258305
SHA256 (yagf-0.9.3.2.tar.gz) = 32dd2a60ac04f9b08ec06a4e2974fde2fe3af60238b6a1a8de5a0a29b6ead231
SIZE (yagf-0.9.3.2.tar.gz) = 766396

View File

@ -1,27 +1,13 @@
--- CMakeLists.txt.orig 2012-09-04 15:00:25.000000000 +0400
+++ CMakeLists.txt 2012-11-03 02:04:20.000000000 +0400
@@ -34,7 +34,7 @@ qt4_add_resources(yagf_RCC_SRCS ${yagf_R
include_directories( ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src)
add_executable(yagf ${SOURCES} ${UI_HEADERS} ${MOC_SRCS} ${yagf_RCC_SRCS} ${QM_FILES})
add_library(xspreload SHARED ${INT_SOURCES})
-target_link_libraries(xspreload dl)
+target_link_libraries(xspreload)
target_link_libraries(yagf ${QT_LIBRARIES} ${ASPELL_LIBRARIES} ${TIFF_LIBRARIES})
add_custom_target(translations DEPENDS ${QM_FILES})
qt4_add_translation(${CMAKE_BINARY_DIR}/yagf_ru.qm ${PROJECT_SOURCE_DIR}/src/mainform.cpp ${PROJECT_SOURCE_DIR}/src/popplerdialog.cpp ${MOC_SRCS} ${UI_HEADERS} ${PROJECT_SOURCE_DIR}/src/translations/yagf_ru.ts)
@@ -45,12 +45,12 @@ qt4_add_translation(${CMAKE_BINARY_DIR}/
#QT4_CREATE_TRANSLATION(yagf_ru.qm src/mainform.cpp ${MOC_SRCS} ${UI_HEADERS} src/yagf_ru.ts)
#set(CMAKE_INSTALL_PREFIX /usr/)
--- CMakeLists.txt.orig 2014-02-19 14:15:50.000000000 +0400
+++ CMakeLists.txt 2014-03-15 16:39:26.911288073 +0400
@@ -8,8 +8,8 @@ if(MPTIFF_SUPPORT)
set(TIFFIO_SRC src/qxttiffiohandler.cpp)
endif(MPTIFF_SUPPORT)
if (NOT DEFINED ${CMAKE_INSTALL_PREFIX})
-set(CPACK_INSTALL_PREFIX /usr/)
-set (CMAKE_INSTALL_PREFIX /usr/)
+set(CPACK_INSTALL_PREFIX ${PREFIX})
+set(CMAKE_INSTALL_PREFIX ${PREFIX})
+set (CMAKE_INSTALL_PREFIX ${PREFIX})
endif()
install_targets(/bin/ yagf)
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
- set (LIB_PATH_SUFFIX 64)
+ set (LIB_PATH_SUFFIX "")
set_property (GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
install_targets(/lib${LIB_PATH_SUFFIX}/yagf xspreload)
# following 2 lines define where interface translations will be installed
set(QML_DESTINATION share/yagf/translations/)

View File

@ -3,11 +3,8 @@ lib/yagf/libxspreload.so
share/applications/YAGF.desktop
share/icons/hicolor/96x96/apps/yagf.png
share/pixmaps/yagf.png
share/yagf/translations/yagf_de.qm
share/yagf/translations/yagf_lt.qm
share/yagf/translations/yagf_pl.qm
share/yagf/translations/yagf_ru.qm
share/yagf/translations/yagf_uk.qm
%%DATADIR%%/translations/yagf_fr.qm
%%DATADIR%%/translations/yagf_ru.qm
@comment those are yagf directories
@dirrm lib/yagf
@dirrm share/yagf/translations