aboutsummaryrefslogtreecommitdiffstats
path: root/polish
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-08-27 05:04:34 +0800
committerpawel <pawel@FreeBSD.org>2015-08-27 05:04:34 +0800
commitf367d9b383b69f0dfe3e6321bde6bcfd854741de (patch)
tree38477d30dbce4fd3f1cbb8375f6cbccaaf392ad6 /polish
parentc29f5ba9ba8e7108a7456f13c534be1f36585916 (diff)
downloadfreebsd-ports-gnome-f367d9b383b69f0dfe3e6321bde6bcfd854741de.tar.gz
freebsd-ports-gnome-f367d9b383b69f0dfe3e6321bde6bcfd854741de.tar.zst
freebsd-ports-gnome-f367d9b383b69f0dfe3e6321bde6bcfd854741de.zip
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
Diffstat (limited to 'polish')
-rw-r--r--polish/qnapi/Makefile10
-rw-r--r--polish/qnapi/distinfo4
-rw-r--r--polish/qnapi/files/patch-qnapi.pro32
3 files changed, 6 insertions, 40 deletions
diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile
index ea10b2cb0bd9..83c789ff8f66 100644
--- a/polish/qnapi/Makefile
+++ b/polish/qnapi/Makefile
@@ -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 \
diff --git a/polish/qnapi/distinfo b/polish/qnapi/distinfo
index 3edc2710b3ea..b1589e883361 100644
--- a/polish/qnapi/distinfo
+++ b/polish/qnapi/distinfo
@@ -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
diff --git a/polish/qnapi/files/patch-qnapi.pro b/polish/qnapi/files/patch-qnapi.pro
deleted file mode 100644
index 68c3119c9c74..000000000000
--- a/polish/qnapi/files/patch-qnapi.pro
+++ /dev/null
@@ -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