Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151872367
D38462.id116842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D38462.id116842.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -171,6 +171,7 @@
SUBDIR += app-builder
SUBDIR += appstream
SUBDIR += appstream-glib
+ SUBDIR += appstream-qt
SUBDIR += apr1
SUBDIR += arachne-pnr
SUBDIR += arcanist
Index: devel/appstream-qt/Makefile
===================================================================
--- /dev/null
+++ devel/appstream-qt/Makefile
@@ -0,0 +1,22 @@
+PKGNAMESUFFIX= Qt
+
+COMMENT?= Qt bindings to AppStream
+
+LIB_DEPENDS= libappstream.so:devel/appstream
+
+USES= qt:5
+
+USE_QT= core buildtools:build qmake:build testlib:build
+
+MESON_ARGS= -Dqt=true
+
+MASTERDIR= ${.CURDIR}/../appstream
+PLIST= ${.CURDIR}/pkg-plist
+
+post-install:
+ # remove files belonging to the master port
+ ${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/% < ${MASTERDIR}/pkg-plist
+ ${FIND} ${STAGEDIR}${PREFIX} -empty -delete
+ ${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/man
+
+.include "${MASTERDIR}/Makefile"
Index: devel/appstream-qt/pkg-plist
===================================================================
--- /dev/null
+++ devel/appstream-qt/pkg-plist
@@ -0,0 +1,26 @@
+include/AppStreamQt/appstreamqt_export.h
+include/AppStreamQt/bundle.h
+include/AppStreamQt/category.h
+include/AppStreamQt/component.h
+include/AppStreamQt/contentrating.h
+include/AppStreamQt/icon.h
+include/AppStreamQt/image.h
+include/AppStreamQt/launchable.h
+include/AppStreamQt/metadata.h
+include/AppStreamQt/pool.h
+include/AppStreamQt/provided.h
+include/AppStreamQt/relation.h
+include/AppStreamQt/release.h
+include/AppStreamQt/screenshot.h
+include/AppStreamQt/spdx.h
+include/AppStreamQt/suggested.h
+include/AppStreamQt/systeminfo.h
+include/AppStreamQt/translation.h
+include/AppStreamQt/utils.h
+include/AppStreamQt/version.h
+include/AppStreamQt/video.h
+lib/cmake/AppStreamQt/AppStreamQtConfig.cmake
+lib/cmake/AppStreamQt/AppStreamQtConfigVersion.cmake
+lib/libAppStreamQt.so
+lib/libAppStreamQt.so.0.16.0
+lib/libAppStreamQt.so.2
Index: devel/appstream/Makefile
===================================================================
--- devel/appstream/Makefile
+++ devel/appstream/Makefile
@@ -1,10 +1,10 @@
-PORTNAME= AppStream
+PORTNAME?= AppStream
DISTVERSION= 0.16.0
CATEGORIES= devel
MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/
MAINTAINER= desktop@FreeBSD.org
-COMMENT= Machine-readable software metadata for desktop environments
+COMMENT?= Machine-readable software metadata for desktop environments
WWW= https://www.freedesktop.org/wiki/Distributions/AppStream/
LICENSE= GPLv2+ LGPL21+
@@ -14,20 +14,20 @@
gperf>0:devel/gperf \
itstool:textproc/itstool \
lmdb>0:databases/lmdb
-LIB_DEPENDS= libcurl.so:ftp/curl \
+LIB_DEPENDS?= libcurl.so:ftp/curl \
liblmdb.so:databases/lmdb \
libstemmer.so:textproc/snowballstemmer \
libxmlb.so:textproc/libxmlb \
libyaml.so:textproc/libyaml
-USES= gettext gnome localbase:ldflags meson pkgconfig \
+USES+= gettext gnome localbase:ldflags meson pkgconfig \
python:3.6+,build tar:xz vala:build
USE_GNOME= glib20 introspection:build libxml2 libxslt
USE_LDCONFIG= yes
CFLAGS+= -D__BSD_VISIBLE=1
-MESON_ARGS= -Dstemming=true \
+MESON_ARGS+= -Dstemming=true \
-Dvapi=true \
-Dapidocs=false \
-Dinstall-docs=false \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 6:21 AM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31333533
Default Alt Text
D38462.id116842.diff (3 KB)
Attached To
Mode
D38462: devel/appstream-qt: Create a port for Qt bindings to AppStream library. Sponsored by: Serenity Cybersecurity, LLC
Attached
Detach File
Event Timeline
Log In to Comment