Skip to content

Commit

Permalink
flatpak: removing libkiwix-glib and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
birros committed May 3, 2018
1 parent cff7647 commit bd9f328
Showing 1 changed file with 3 additions and 75 deletions.
78 changes: 3 additions & 75 deletions flatpak/com.github.birros.WebArchives.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,56 +60,6 @@
}
]
},
{
"name": "pugixml",
"buildsystem": "cmake",
"builddir": true,
"config-opts": [
"-DBUILD_PKGCONFIG=ON",
"-DBUILD_SHARED_LIBS=ON",
"-DCMAKE_INSTALL_LIBDIR=lib"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/lib/cmake"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/zeux/pugixml/releases/download/v1.9/pugixml-1.9.tar.gz",
"sha256": "d156d35b83f680e40fd6412c4455fdd03544339779134617b9b28d19e11fdba6"
},
{
"type": "shell",
"commands": [
"sed -i 's/${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}/${CMAKE_INSTALL_LIBDIR}/g' CMakeLists.txt",
"sed -i 's/lib\\/pugixml-@PUGIXML_VERSION_STRING@/lib/g' scripts/pugixml.pc.in"
]
}
]
},
{
/*
* require
* libzim, pugixml
*/
"name": "libkiwix",
"buildsystem": "meson",
"builddir": true,
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/kiwix/kiwix-lib/archive/1.1.1.tar.gz",
"sha256": "a33219f4e291e21d557660f05f5a4df1cf84b3281131d17d638cf8842e006c23"
}
]
},
{
/*
* require
Expand All @@ -127,30 +77,8 @@
"sources": [
{
"type": "archive",
"url": "https://github.com/birros/libzim-glib/archive/v3.0.0.tar.gz",
"sha256": "9caea46469afa6ab02f02f10ead90da57c9991afbed74e1c674c6138d99878d0"
}
]
},
{
/*
* require
* libkiwix
*/
"name": "libkiwix-glib",
"buildsystem": "meson",
"builddir": true,
"cleanup": [
"/include",
"/lib/girepository-1.0",
"/lib/pkgconfig",
"/share"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/birros/libkiwix-glib/archive/v1.0.1.tar.gz",
"sha256": "dc6459d03e367bab08c721cee5196e27786a8bdfe0539a6bb1d3719732cddb89"
"url": "https://github.com/birros/libzim-glib/archive/v3.2.0.tar.gz",
"sha256": "89cbc55254d90c70de2de8ee7f2b4aff97f582ae7f495ddfee518ef136de9357"
}
]
},
Expand Down Expand Up @@ -243,7 +171,7 @@
{
/*
* require
* libzim-glib, libkiwix-glib, tracker, libisocodes
* libzim-glib, tracker, libisocodes
*/
"name": "web-archives",
"buildsystem": "meson",
Expand Down

0 comments on commit bd9f328

Please sign in to comment.