mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
kmixer: adjust
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
26a70a57ce
commit
722206baa4
2 changed files with 12 additions and 14 deletions
|
@ -1,8 +1,9 @@
|
||||||
project(kmixer)
|
project(kmixer)
|
||||||
|
|
||||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
find_package(KDE4 4.19.0 REQUIRED)
|
find_package(KDELibs4 4.24.0 REQUIRED)
|
||||||
include(KDE4Defaults)
|
include(FeatureSummary)
|
||||||
|
|
||||||
include_directories(${KDE4_INCLUDES})
|
include_directories(${KDE4_INCLUDES})
|
||||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||||
endif()
|
endif()
|
||||||
|
@ -23,8 +24,8 @@ set(kmixer_sources
|
||||||
|
|
||||||
add_executable(kmixer ${kmixer_sources})
|
add_executable(kmixer ${kmixer_sources})
|
||||||
target_link_libraries(kmixer
|
target_link_libraries(kmixer
|
||||||
${KDE4_KDEUI_LIBS}
|
KDE4::kdeui
|
||||||
${KDE4_KFILE_LIBS}
|
KDE4::kfile
|
||||||
${ALSA_LIBRARIES}
|
${ALSA_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -768,17 +768,14 @@ void KMixer::slotBackend()
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
KAboutData aboutData("kmixer", 0, ki18n("KMixer"),
|
KAboutData aboutData(
|
||||||
|
"kmixer", 0, ki18n("KMixer"),
|
||||||
"1.0.0", ki18n("Control the system audio devices volume."),
|
"1.0.0", ki18n("Control the system audio devices volume."),
|
||||||
KAboutData::License_GPL_V2,
|
KAboutData::License_GPL_V2,
|
||||||
ki18n("(c) 2022 Ivailo Monev"),
|
ki18n("(c) 2022 Ivailo Monev")
|
||||||
KLocalizedString(),
|
|
||||||
"http://github.com/fluxer/katana"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
aboutData.addAuthor(ki18n("Ivailo Monev"),
|
aboutData.addAuthor(ki18n("Ivailo Monev"), ki18n("Maintainer"), "xakepa10@gmail.com");
|
||||||
ki18n("Maintainer"),
|
|
||||||
"xakepa10@gmail.com");
|
|
||||||
aboutData.setProgramIconName(QLatin1String("multimedia-volume-control"));
|
aboutData.setProgramIconName(QLatin1String("multimedia-volume-control"));
|
||||||
|
|
||||||
KCmdLineArgs::init(argc, argv, &aboutData);
|
KCmdLineArgs::init(argc, argv, &aboutData);
|
||||||
|
|
Loading…
Add table
Reference in a new issue