On Wed, 23 Dec 2015 09:54:24 +0100 Landry Breuil
<[email protected]> wrote:


> 
> yes, and the same thing for
> desktop-file-utils/update-desktop-database..
> 
> Oh, and your mail ate the diff :p

If nothing has to be done about the appdata folder, too, this should be
fine now?


Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    9 Dec 2014 20:49:59 -0000       1.17
+++ Makefile    23 Dec 2015 09:53:36 -0000
@@ -1,19 +1,23 @@
 # $OpenBSD: Makefile,v 1.17 2014/12/09 20:49:59 zhuk Exp $
 
 COMMENT=       graphical interface to sqlite databases
-DISTNAME =     sqlb-3.2.0
-PKGNAME =      sqlitebrowser-3.2.0
-MASTER_SITES = https://github.com/sqlitebrowser/sqlitebrowser/archive/
+V = 3.7.0
+GH_ACCOUNT =   sqlitebrowser
+GH_PROJECT =   sqlitebrowser
+GH_TAGNAME =   v${V}
+DISTNAME =     ${GH_PROJECT}-${V}
+PKGNAME =      ${DISTNAME}
 
 CATEGORIES=    databases x11
 HOMEPAGE=      http://sqlitebrowser.org/
-WRKDIST  =     ${WRKDIR}/sqlitebrowser-${DISTNAME}
 
 MODULES=       x11/qt4 devel/cmake
 
 # MPLv2/GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
-WANTLIB += QtGui QtNetwork c m pthread sqlite3 stdc++
+
+WANTLIB +=     QtGui QtNetwork c m pthread sqlite3 stdc++
+RUN_DEPENDS =  x11/gtk+3,-guic devel/desktop-file-utils
 
 CONFIGURE_ARGS =       -DUSE_QT5=False
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    13 Jul 2014 15:43:05 -0000      1.3
+++ distinfo    23 Dec 2015 09:53:36 -0000
@@ -1,2 +1,2 @@
-SHA256 (sqlb-3.2.0.tar.gz) = Lqu0wBAssvq9a9VW/8QMJHqLMXrfUY0GAbXuiFrIbhs=
-SIZE (sqlb-3.2.0.tar.gz) = 801880
+SHA256 (sqlitebrowser-3.7.0.tar.gz) = 
MJOh3PWzE4wa3ymFfWIkmrKwaOcLABhpoxFRdj4ozDo=
+SIZE (sqlitebrowser-3.7.0.tar.gz) = 1509766
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/sqlitebrowser/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   13 Jul 2014 15:43:05 -0000      1.2
+++ pkg/PLIST   23 Dec 2015 09:53:36 -0000
@@ -1,2 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.2 2014/07/13 15:43:05 landry Exp $
 @bin bin/sqlitebrowser
+share/appdata/
+share/appdata/sqlitebrowser.desktop.appdata.xml
+share/applications/sqlitebrowser.desktop
+share/icons/hicolor/256x256/apps/sqlitebrowser.png
+@exec gtk-update-icon-cache --quiet %D/share/icons/hicolor
+@unexec gtk-update-icon-cache --quiet %D/share/icons/hicolor
+@exec update-desktop-database %D/share/applications
+@unexec update-desktop-database %D/share/applications




-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
F190 D013 8F01 AA53 E080  3F3C F17F B0A1 D44E 4FEE

Reply via email to