Skip to content

Commit

Permalink
Move yacreaderlibraryserver to seperate package
Browse files Browse the repository at this point in the history
  • Loading branch information
selmf committed Apr 28, 2023
1 parent 9eeb165 commit 7917f38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
7 changes: 6 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ Package: yacreader
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, qml-module-qtquick-controls2,
qml-module-qtgraphicaleffects, qt5-image-formats-plugins
Suggests: libqrencode4
Description: Yet another comic reader
YACReader is a free cross-platform comic reader with support for multiple
comic files and image formats. YACReader comes with YACReaderLibrary,
an application for browsing and managing your comic collections with
various smooth transition effects. YACReader is fast, easy to use and
all you need to enjoy your digital comics.

Package: yacreaderlibraryserver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, yacreader
Description: YACReader library server, headless version for use with
YACReader apps for mobile devices on iOS and Android
20 changes: 14 additions & 6 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk

# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
# DH_VERBOSE = 1
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export QT_SELECT=qt5

Expand All @@ -16,7 +19,12 @@ export QT_SELECT=qt5
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start

#override_dh_auto_configure:
override_dh_auto_install:
make INSTALL_ROOT=$(CURDIR)/debian/yacreader sub-YACReader-install_subtargets
make INSTALL_ROOT=$(CURDIR)/debian/yacreader sub-YACReaderLibrary-install_subtargets
make INSTALL_ROOT=$(CURDIR)/debian/yacreaderlibraryserver sub-YACReaderLibraryServer-install_subtargets

#override_dh_auto_configure:override
# dh_auto_configure -- CONFIG+=pdfium

# conditional override to allow builds on archlinux
Expand Down

0 comments on commit 7917f38

Please sign in to comment.