mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Simple tool to read books in the FB2 format. Developed using GTK+3.
WWW: https://github.com/Cactus64k/simple-fb2-reader
This commit is contained in:
parent
c0c8bf15cf
commit
754e55bad5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539777
6 changed files with 65 additions and 0 deletions
|
@ -223,6 +223,7 @@
|
||||||
SUBDIR += scribus-devel
|
SUBDIR += scribus-devel
|
||||||
SUBDIR += sgf2tex
|
SUBDIR += sgf2tex
|
||||||
SUBDIR += shrinkpdf
|
SUBDIR += shrinkpdf
|
||||||
|
SUBDIR += simple-fb2-reader
|
||||||
SUBDIR += splix
|
SUBDIR += splix
|
||||||
SUBDIR += system-config-printer
|
SUBDIR += system-config-printer
|
||||||
SUBDIR += t1utils
|
SUBDIR += t1utils
|
||||||
|
|
22
print/simple-fb2-reader/Makefile
Normal file
22
print/simple-fb2-reader/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= simple-fb2-reader
|
||||||
|
PORTVERSION= 1.1.3
|
||||||
|
CATEGORIES= print
|
||||||
|
|
||||||
|
MAINTAINER= danfe@FreeBSD.org
|
||||||
|
COMMENT= Simple FB2 format book reader
|
||||||
|
|
||||||
|
LICENSE= GPLv3+
|
||||||
|
|
||||||
|
LIB_DEPENDS= libzip.so:archivers/libzip
|
||||||
|
|
||||||
|
USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \
|
||||||
|
shared-mime-info sqlite
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= Cactus64k
|
||||||
|
USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2
|
||||||
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
print/simple-fb2-reader/distinfo
Normal file
3
print/simple-fb2-reader/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1565566451
|
||||||
|
SHA256 (Cactus64k-simple-fb2-reader-1.1.3_GH0.tar.gz) = d3a8b94dee6e537d5733d26bf269dfbf4d7f90c7039db80c618fc1079360b801
|
||||||
|
SIZE (Cactus64k-simple-fb2-reader-1.1.3_GH0.tar.gz) = 94550
|
18
print/simple-fb2-reader/files/patch-CMakeLists.txt
Normal file
18
print/simple-fb2-reader/files/patch-CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- CMakeLists.txt.orig 2019-08-11 23:34:11 UTC
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -40,13 +40,14 @@ set (INCLUDES
|
||||||
|
#BUILD
|
||||||
|
|
||||||
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
||||||
|
-set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -export-dynamic")
|
||||||
|
+set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
|
||||||
|
|
||||||
|
add_definitions (-DGUI_CONSTRUCT_PATH="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT}/${PROJECT}.glade")
|
||||||
|
add_definitions (-DPACKAGE_VERSION="${VERSION}")
|
||||||
|
add_definitions (-DPACKAGE_NAME="${PROJECT}")
|
||||||
|
|
||||||
|
include_directories (${INCLUDES})
|
||||||
|
+link_directories (${GTK3_LIBRARY_DIRS})
|
||||||
|
add_executable (${PROJECT} ${HEADERS} ${SOURCES})
|
||||||
|
target_link_libraries (${PROJECT} ${LIBRARIES})
|
||||||
|
|
11
print/simple-fb2-reader/pkg-descr
Normal file
11
print/simple-fb2-reader/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
Simple tool to read books in the FB2 format. Developed using GTK+3.
|
||||||
|
Its features:
|
||||||
|
|
||||||
|
- Supports *.fb2 and *.fb2.zip files
|
||||||
|
- Full 2.1 format support (without stylesheet and partial
|
||||||
|
table tag support)
|
||||||
|
- Saving reading position, window state, size, and position
|
||||||
|
- Search for specific text in the book
|
||||||
|
- Russian and English GUI, user themes, autoscrolling, hotkeys
|
||||||
|
|
||||||
|
WWW: https://github.com/Cactus64k/simple-fb2-reader
|
10
print/simple-fb2-reader/pkg-plist
Normal file
10
print/simple-fb2-reader/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
bin/simple-fb2-reader
|
||||||
|
share/applications/simple-fb2-reader.desktop
|
||||||
|
share/icons/hicolor/scalable/apps/simple-fb2-reader.svg
|
||||||
|
share/icons/hicolor/scalable/mimetypes/application-x-fictionbook+xml.svg
|
||||||
|
share/icons/hicolor/scalable/mimetypes/application-x-zip-compressed-fb2.svg
|
||||||
|
share/locale/en_US/LC_MESSAGES/simple-fb2-reader.mo
|
||||||
|
share/locale/ru/LC_MESSAGES/simple-fb2-reader.mo
|
||||||
|
share/mime/packages/simple-fb2-reader.xml
|
||||||
|
%%DATADIR%%/simple-fb2-reader.css
|
||||||
|
%%DATADIR%%/simple-fb2-reader.glade
|
Loading…
Add table
Reference in a new issue