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

x11-toolkits/qtermwidget: Update to 0.8.0

While here, set maintainer to maintainer of other lxqt related ports, Jesper
Schmitz Mouridsen <jesper@schmitz.computer>

PR:		223221
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
Approved by:	Jason Bacon <bacon4000@gmail.com> (maintainer)
This commit is contained in:
Steve Wills 2017-10-27 15:45:45 +00:00
parent 8a548a6a36
commit 65cbf0f0ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453001
5 changed files with 51 additions and 32 deletions

View File

@ -2,29 +2,20 @@
# $FreeBSD$
PORTNAME= qtermwidget
PORTVERSION= 0.7.0
PORTREVISION= 2
PORTVERSION= 0.8.0
CATEGORIES= x11-toolkits
MASTER_SITES= LXQT
MAINTAINER= bacon4000@gmail.com
MAINTAINER= jesper@schmitz.computer
COMMENT= Terminal widget for QTerminal
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:outsource compiler:c++11-lang pkgconfig
USES= cmake:outsource compiler:c++11-lang gettext-runtime lxqt \
pkgconfig tar:xz
USE_LDCONFIG= yes
USE_QT5= buildtools_build core gui qmake_build widgets
USE_QT5= buildtools_build core gui qmake_build linguisttools widgets
USE_LXQT= buildtools
CMAKE_ARGS+= -DBUILD_DESIGNER_PLUGIN:BOOL=OFF -DUSE_QT5:BOOL=ON
USE_GITHUB= yes
GH_ACCOUNT= lxde
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -DHAVE_UTEMPTER
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1475432266
SHA256 (lxde-qtermwidget-0.7.0_GH0.tar.gz) = be389104ff3fd15c99946a6108058bfb0a5a2c7b484c6d13f156f14793d2c985
SIZE (lxde-qtermwidget-0.7.0_GH0.tar.gz) = 196949
TIMESTAMP = 1508769806
SHA256 (lxqt/qtermwidget-0.8.0.tar.xz) = ef01c2a2bedff008578b65efd47b3fff8e542dfcdf9779b547533c9c75825169
SIZE (lxqt/qtermwidget-0.8.0.tar.xz) = 160904

View File

@ -0,0 +1,33 @@
--- CMakeLists.txt.orig 2017-10-21 19:01:23 UTC
+++ CMakeLists.txt
@@ -6,6 +6,7 @@ include(GNUInstallDirs)
include(GenerateExportHeader)
include(CMakePackageConfigHelpers)
include(CheckFunctionExists)
+include(CheckIncludeFile)
set(REQUIRED_QT_VERSION "5.6")
set(LXQTBT_MINIMUM_VERSION "0.4.0")
@@ -112,6 +113,7 @@ message(STATUS "Translations will be ins
set(QTERMWIDGET_INCLUDE_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}/${QTERMWIDGET_LIBRARY_NAME}")
CHECK_FUNCTION_EXISTS(updwtmpx HAVE_UPDWTMPX)
+CHECK_INCLUDE_FILE(utempter.h HAVE_UTEMPTER)
qt5_wrap_cpp(MOCS ${HDRS})
qt5_wrap_ui(UI_SRCS ${UI})
@@ -160,6 +162,14 @@ if(HAVE_UPDWTMPX)
)
endif()
+if(HAVE_UTEMPTER)
+ target_compile_definitions(${QTERMWIDGET_LIBRARY_NAME}
+ PRIVATE
+ "HAVE_UTEMPTER"
+ )
+ target_link_libraries(${QTERMWIDGET_LIBRARY_NAME} ulog)
+endif()
+
if (UTF8PROC_FOUND)
target_compile_definitions(${QTERMWIDGET_LIBRARY_NAME}
PRIVATE

View File

@ -1,10 +0,0 @@
--- cmake/create_pkgconfig_file.cmake.orig 2014-10-21 15:47:40 UTC
+++ cmake/create_pkgconfig_file.cmake
@@ -25,5 +25,6 @@ macro (create_pkgconfig_file name desc r
"\n"
)
- install(FILES ${_pkgfname} DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ # Use libdata rather than CMAKE_INSTALL_LIBDIR for pkgconfig on FreeBSD
+ install(FILES ${_pkgfname} DESTINATION libdata/pkgconfig)
endmacro()

View File

@ -1,14 +1,19 @@
include/qtermwidget5/Emulation.h
include/qtermwidget5/Filter.h
include/qtermwidget5/qtermwidget.h
include/qtermwidget5/qtermwidget_export.h
lib/libqtermwidget5.so
lib/libqtermwidget5.so.0
lib/libqtermwidget5.so.0.7.0
lib/libqtermwidget5.so.%%VERSION%%
libdata/pkgconfig/qtermwidget5.pc
share/cmake/qtermwidget5/qtermwidget5-config-version.cmake
share/cmake/qtermwidget5/qtermwidget5-config.cmake
share/cmake/qtermwidget5/qtermwidget5_use.cmake
share/cmake/qtermwidget5/qtermwidget5-targets-%%CMAKE_BUILD_TYPE%%.cmake
share/cmake/qtermwidget5/qtermwidget5-targets.cmake
%%DATADIR%%5/color-schemes/BlackOnLightYellow.schema
%%DATADIR%%5/color-schemes/BlackOnRandomLight.colorscheme
%%DATADIR%%5/color-schemes/BlackOnWhite.schema
%%DATADIR%%5/color-schemes/BreezeModified.colorscheme
%%DATADIR%%5/color-schemes/DarkPastels.colorscheme
%%DATADIR%%5/color-schemes/GreenOnBlack.colorscheme
%%DATADIR%%5/color-schemes/Linux.colorscheme