Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Kamera
Commits
3afd7f7c
Commit
3afd7f7c
authored
Jan 19, 2022
by
Laurent Montel
😁
Browse files
install kio plugin in kf<version>
parent
e84c6fac
Pipeline
#125533
passed with stage
in 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kioslave/CMakeLists.txt
View file @
3afd7f7c
...
...
@@ -4,7 +4,7 @@
add_definitions
(
-DTRANSLATION_DOMAIN=\"kio5_kamera\"
)
set
(
kio_kamera_PART_SRCS kamera.cpp
)
configure_file
(
camera.json.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/camera.json
)
add_library
(
kio_kamera MODULE
${
kio_kamera_PART_SRCS
}
)
include_directories
(
${
GPHOTO2_INCLUDE_DIRS
}
${
CMAKE_BINARY_DIR
}
)
...
...
@@ -17,4 +17,4 @@ target_link_libraries(kio_kamera
${
GPHOTO2_LIBRARIES
}
)
install
(
TARGETS kio_kamera DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kf
5
/kio
)
install
(
TARGETS kio_kamera DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kf
${
QT_MAJOR_VERSION
}
/kio
)
kioslave/camera.json
→
kioslave/camera.json
.cmake
View file @
3afd7f7c
...
...
@@ -4,7 +4,7 @@
"Class"
:
":local"
,
"Icon"
:
"camera-photo"
,
"deleting"
: true,
"exec"
:
"kf
5
/kio/kio_kamera"
,
"exec"
:
"kf
@QT_MAJOR_VERSION@
/kio/kio_kamera"
,
"input"
:
"none"
,
"linking"
: false,
"listing"
: [
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment