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

Update to version 0.1.9

Changelog:
- conversion between subtitle formas: SRT, mDVD, TMP,
  MPL2 (now ffprobe is required)
- select target extension of subtitles
- directory scanning now can see other subtitle extensions
  than .txt (also .srt and .sub)
- respect INSTALL_PREFIX on icons and desktop files installation
This commit is contained in:
Pawel Pekala 2015-08-26 21:04:34 +00:00
parent c3d318798b
commit a558f1af5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395400
3 changed files with 6 additions and 40 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qnapi
PORTVERSION= 0.1.8
PORTVERSION= 0.1.9
CATEGORIES= polish multimedia
MAINTAINER= pawel@FreeBSD.org
@ -16,17 +16,15 @@ RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
USE_GITHUB= yes
USES= qmake
USES= compiler:c++11-lib qmake
USE_QT5= buildtools_build gui network widgets xml
CXXFLAGS+= -I${LOCALBASE}/include/maia
QMAKE_ARGS= LIBS=-lmaia
post-patch:
@${REINPLACE_CMD} 's|/usr/share/icons/||g' \
${WRKSRC}/doc/qnapi.desktop \
${WRKSRC}/doc/qnapi-download.desktop \
${WRKSRC}/doc/qnapi-scan.desktop
@${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|; /doc \\/d' \
${WRKSRC}/qnapi.pro
post-install:
(cd ${WRKSRC}/doc && ${INSTALL_DATA} qnapi-download.desktop \

View File

@ -1,2 +1,2 @@
SHA256 (qnapi-qnapi-0.1.8_GH0.tar.gz) = d74f2a2cf95ff2a39cdbf8164453a16cb17a9455add2971335d65281ecc35aea
SIZE (qnapi-qnapi-0.1.8_GH0.tar.gz) = 1199273
SHA256 (qnapi-qnapi-0.1.9_GH0.tar.gz) = 93c62f056ce035794e7bdd5b66a6ba8f5e020774ee51ad57f97a8d562beee5d6
SIZE (qnapi-qnapi-0.1.9_GH0.tar.gz) = 1209830

View File

@ -1,32 +0,0 @@
--- qnapi.pro.orig 2015-08-08 19:45:00 UTC
+++ qnapi.pro
@@ -118,7 +118,7 @@ macx {
}
unix {
- INSTALL_PREFIX = /usr
+ INSTALL_PREFIX = $${PREFIX}
target.path = $${INSTALL_PREFIX}/bin
doc.path = $${INSTALL_PREFIX}/share/doc/$${TARGET}
doc.files = doc/ChangeLog \
@@ -129,17 +129,16 @@ unix {
doc/qnapi-scan.desktop \
doc/qnapi-download.schemas \
doc/qnapi-scan.schemas
- man.path = $${INSTALL_PREFIX}/share/man/man1
+ man.path = $${INSTALL_PREFIX}/man/man1
man.files = doc/$${TARGET}.1.gz
- icons.path = /usr/share/icons
+ icons.path = $${INSTALL_PREFIX}/share/icons
icons.files = res/qnapi.png \
res/qnapi-48.png \
res/qnapi-128.png \
res/qnapi-512.png
- desktop.path = /usr/share/applications
+ desktop.path = $${INSTALL_PREFIX}/share/applications
desktop.files = doc/$${TARGET}.desktop
INSTALLS = target \
- doc \
man \
icons \
desktop