Открыть боковую панель
Aurora OS
Examples Extra
Office Viewer
Коммиты
6225c1d2
Коммит
6225c1d2
создал
Сен 13, 2023
по автору
vladislav.larionov
Просмотр файлов
Disable .pc-file forming
владелец
bd724cb2
Изменения
4
Скрыть пробелы
Построчно
Рядом
build_and_isntall.sh
Просмотр файла @
6225c1d2
...
...
@@ -19,25 +19,6 @@ echo "Signing..."
--cert
/home/vladislav/projects/cert/fruct/packages-cert-fruct.pem
\
/home/vladislav/projects/DocumentConverter/RPMS/ru.auroraos.OfficeViewer-0.0.1-1.armv7hl.rpm
~/AuroraOS/bin/sfdk engine
exec
rpmsign-external sign
\
--key
/home/vladislav/projects/cert/packages-key.pem
\
--cert
/home/vladislav/projects/cert/fruct/packages-cert-fruct.pem
\
/home/vladislav/projects/DocumentConverter/RPMS/documentprovider-devel-0.0.1-1.armv7hl.rpm
~/AuroraOS/bin/sfdk engine
exec
rpmsign-external sign
\
--key
/home/vladislav/projects/cert/packages-key.pem
\
--cert
/home/vladislav/projects/cert/fruct/packages-cert-fruct.pem
\
/home/vladislav/projects/DocumentConverter/RPMS/documentprovider-libreoffice-0.0.1-1.armv7hl.rpm
~/AuroraOS/bin/sfdk engine
exec
rpmsign-external sign
\
--key
/home/vladislav/projects/cert/packages-key.pem
\
--cert
/home/vladislav/projects/cert/fruct/packages-cert-fruct.pem
\
/home/vladislav/projects/DocumentConverter/RPMS/ru.auroraos.OfficeViewer-qml-plugin-0.0.1-1.armv7hl.rpm
~/AuroraOS/bin/sfdk engine
exec
rpmsign-external sign
\
--key
/home/vladislav/projects/cert/packages-key.pem
\
--cert
/home/vladislav/projects/cert/fruct/packages-cert-fruct.pem
\
/home/vladislav/projects/DocumentConverter/RPMS/documentprovider-base-0.0.1-1.armv7hl.rpm
echo
"Deploying..."
~/AuroraOS/bin/sfdk deploy
--sdk
--silent
...
...
documentprovider/base/base.pro
Просмотр файла @
6225c1d2
...
...
@@ -40,7 +40,8 @@ TEMPLATE = lib
TARGET
=
documentprovider
TARGET
=
$$
qtLibraryTarget
(
$$
TARGET
)
CONFIG
+=
qt
create_pc
create_prl
link_pkgconfig
CONFIG
+=
qt
#
create_pc
create_prl
link_pkgconfig
SOURCES
+=
\
src
/
documentprovider
.
cpp
\
...
...
@@ -73,18 +74,19 @@ DEFINES += \
target
.
path
=
$$
[
QT_INSTALL_LIBS
]
develheaders
.
path
=
/
usr
/
include
/
$$
TARGET
develheaders
.
files
=
$$
PUBLIC_HEADERS
#
develheaders
.
path
=
/
usr
/
include
/
$$
TARGET
#
develheaders
.
files
=
$$
PUBLIC_HEADERS
pkgconfig
.
path
=
$$
[
QT_INSTALL_LIBS
]
/
pkgconfig
pkgconfig
.
files
=
$$
[
QT_INSTALL_LIBS
]
/
pkgconfig
/
documentprovider
.
pc
#
pkgconfig
.
path
=
$$
[
QT_INSTALL_LIBS
]
/
pkgconfig
#
pkgconfig
.
files
=
$$
[
QT_INSTALL_LIBS
]
/
pkgconfig
/
documentprovider
.
pc
QMAKE_PKGCONFIG_NAME
=
$$
TARGET
QMAKE_PKGCONFIG_VERSION
=
$$
VERSION
QMAKE_PKGCONFIG_DESCRIPTION
=
Header
files
for
documentprovider
plugins
QMAKE_PKGCONFIG_LIBDIR
=
$$
target
.
path
QMAKE_PKGCONFIG_INCDIR
=
$$
develheaders
.
path
QMAKE_PKGCONFIG_DESTDIR
=
pkgconfig
QMAKE_PKGCONFIG_REQUIRES
=
Qt5Core
#
QMAKE_PKGCONFIG_NAME
=
$$
TARGET
#
QMAKE_PKGCONFIG_VERSION
=
$$
VERSION
#
QMAKE_PKGCONFIG_DESCRIPTION
=
Header
files
for
documentprovider
plugins
#
QMAKE_PKGCONFIG_LIBDIR
=
$$
target
.
path
#
QMAKE_PKGCONFIG_INCDIR
=
$$
develheaders
.
path
#
QMAKE_PKGCONFIG_DESTDIR
=
pkgconfig
#
QMAKE_PKGCONFIG_REQUIRES
=
Qt5Core
INSTALLS
+=
target
develheaders
pkgconfig
INSTALLS
+=
target
#
pkgconfig
develheaders
documentprovider/libreoffice-worker/libreoffice-worker.pro
Просмотр файла @
6225c1d2
...
...
@@ -56,6 +56,6 @@ SOURCES += \
officeworker
.
cpp
\
$$
PWD
/../
libreoffice
/
src
/
loevent
.
cpp
target
.
path
=
/
usr
/
libexec
target
.
path
=
/
usr
/
libexec
INSTALLS
+=
target
rpm/ru.auroraos.OfficeViewer.spec
Просмотр файла @
6225c1d2
...
...
@@ -52,36 +52,36 @@ Patch4: 0004-use-egl-epoxy.patch
%description
%{summary}.
%package -n documentprovider-base
Summary: Base component for documentprovider plugins
Obsoletes: documentprovider-core < 0.3.0
Obsoletes: documentprovider-poppler < 0.3.0
#
%package -n documentprovider-base
#
Summary: Base component for documentprovider plugins
#
Obsoletes: documentprovider-core < 0.3.0
#
Obsoletes: documentprovider-poppler < 0.3.0
%description -n documentprovider-base
%{summary}. Provides asbtract DocumentProvider class.
#
%description -n documentprovider-base
#
%{summary}. Provides asbtract DocumentProvider class.
%package -n documentprovider-devel
Summary: Header files for documentprovider plugins
#
%package -n documentprovider-devel
#
Summary: Header files for documentprovider plugins
%description -n documentprovider-devel
%{summary}.
#
%description -n documentprovider-devel
#
%{summary}.
%package qml-plugin
Summary: Documentprovider viewer component
Requires: documentprovider-base = %{version}
Obsoletes: documentprovider-viewer < 0.3.0
#
%package qml-plugin
#
Summary: Documentprovider viewer component
#
Requires: documentprovider-base = %{version}
#
Obsoletes: documentprovider-viewer < 0.3.0
%description qml-plugin
%{summary}.
#
%description qml-plugin
#
%{summary}.
%package -n documentprovider-libreoffice
Summary: libreoffice documentprovider plugin
Requires: documentprovider-base = %{version}
Requires: libreoffice
#
%package -n documentprovider-libreoffice
#
Summary: libreoffice documentprovider plugin
#
Requires: documentprovider-base = %{version}
#
Requires: libreoffice
%description -n documentprovider-libreoffice
%{summary}.
#
%description -n documentprovider-libreoffice
#
%{summary}.
%prep
%autosetup -p1 -n %{name}-%{version}/upstream
...
...
@@ -253,22 +253,16 @@ cd ..
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%files -n documentprovider-base
%defattr(-,root,root,-)
%{_libdir}/libdocumentprovider.so.*
%files -n documentprovider-devel
%defattr(-,root,root,-)
%{_includedir}/documentprovider
#%{_includedir}/documentprovider
%{_libdir}/libdocumentprovider.so
%{_libdir}/libdocumentprovider.prl
%{_libdir}/pkgconfig/documentprovider.pc
#
%{_libdir}/libdocumentprovider.prl
#
%{_libdir}/pkgconfig/documentprovider.pc
%files qml-plugin
%defattr(-,root,root,-)
%{_libdir}/qt5/qml/ru/omp/docviewer
%files -n documentprovider-libreoffice
%defattr(-,root,root,-)
%{_libdir}/qt5/qml/ru/omp/documentprovider/libreoffice
%{_libexecdir}/libreoffice-worker
# %{_libexecdir}/%{name}/libreoffice-worker
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать