change the pamac library to pamacclassic
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
### Do not edit
|
||||
|
||||
set (DATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
|
||||
set (PKGDATADIR "${DATADIR}/pamac")
|
||||
set (GETTEXT_PACKAGE "pamac")
|
||||
set (RELEASE_NAME "pamac")
|
||||
set (PKGDATADIR "${DATADIR}/pamac-classic")
|
||||
set (GETTEXT_PACKAGE "pamac-classic")
|
||||
set (RELEASE_NAME "pamac-classic")
|
||||
set (CMAKE_C_FLAGS "")
|
||||
set (PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
set (VERSION "6.3.5")
|
||||
@@ -16,7 +16,7 @@ add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
|
||||
set (VERSION "6.3.5")
|
||||
add_definitions (${DEPS_CFLAGS})
|
||||
include_directories ( ${CMAKE_BINARY_DIR}/src )
|
||||
link_libraries ( ${DEPS_LIBRARIES} -lPamac )
|
||||
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )
|
||||
link_directories ( ${DEPS_LIBRARY_DIRS} ${CMAKE_BINARY_DIR}/src )
|
||||
find_package (Vala REQUIRED)
|
||||
include (ValaVersion)
|
||||
@@ -24,6 +24,7 @@ ensure_vala_version ("0.38" MINIMUM)
|
||||
include (ValaPrecompile)
|
||||
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gtk+-3.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} json-glib-1.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gio-2.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} glib-2.0)
|
||||
set (VALA_PACKAGES ${VALA_PACKAGES} gobject-2.0)
|
||||
@@ -32,7 +33,7 @@ set (APP_SOURCES ${APP_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/Config.vala)
|
||||
set (APP_SOURCES ${APP_SOURCES} installer.vala)
|
||||
set (APP_SOURCES ${APP_SOURCES} progress_dialog.vala)
|
||||
|
||||
set (CUSTOM_VAPIS_LIST ${CUSTOM_VAPIS_LIST} ${CMAKE_BINARY_DIR}/src/Pamac.vapi)
|
||||
set (CUSTOM_VAPIS_LIST ${CUSTOM_VAPIS_LIST} ${CMAKE_BINARY_DIR}/src/pamacclassic.vapi)
|
||||
|
||||
if (DISABLE_AUR)
|
||||
set (COMPILE_OPTIONS ${COMPILE_OPTIONS} -D DISABLE_AUR)
|
||||
@@ -70,7 +71,7 @@ OPTIONS
|
||||
SET (VALA_C ${VALA_C} ${pamac_installer_gresource_xml_C_FILE})
|
||||
add_executable(pamac-install ${VALA_C})
|
||||
set ( pamac-install_DEPENDENCIES ${pamac-install_DEPENDENCIES} pamac_installer_gresource_xml )
|
||||
set ( pamac-install_DEPENDENCIES ${pamac-install_DEPENDENCIES} Pamac )
|
||||
set ( pamac-install_DEPENDENCIES ${pamac-install_DEPENDENCIES} pamacclassic )
|
||||
add_dependencies( pamac-install ${pamac-install_DEPENDENCIES} )
|
||||
|
||||
|
||||
@@ -91,6 +92,6 @@ if(HAVE_VALADOC)
|
||||
install(DIRECTORY
|
||||
${CMAKE_BINARY_DIR}/valadoc
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac
|
||||
${CMAKE_INSTALL_DATAROOTDIR}/doc/pamac-classic
|
||||
)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user