mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 10:22:46 +00:00
packaging: add Arch Linux package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6ae23c4ff5
commit
20d45f472a
7 changed files with 281 additions and 0 deletions
39
packaging/archlinux/ariya-icons/PKGBUILD
Normal file
39
packaging/archlinux/ariya-icons/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Arch_package_guidelines
|
||||
|
||||
pkgname=ariya-icons
|
||||
pkgver=4.22.0.r25.3cf15d24
|
||||
pkgrel=1
|
||||
pkgdesc="Ariya icon theme for use with Katana"
|
||||
arch=('any')
|
||||
url='https://osdn.net/projects/kde/'
|
||||
license=('LGPL')
|
||||
groups=('katana')
|
||||
makedepends=('cmake' 'git')
|
||||
source=("git+https://scm.osdn.net/gitroot/kde/ariya-icons.git")
|
||||
sha1sums=('SKIP')
|
||||
options=('!strip' '!zipman')
|
||||
|
||||
pkgver() {
|
||||
cd ariya-icons
|
||||
printf "4.22.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../ariya-icons \
|
||||
-Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
48
packaging/archlinux/katana-extraapps/PKGBUILD
Normal file
48
packaging/archlinux/katana-extraapps/PKGBUILD
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Arch_package_guidelines
|
||||
|
||||
pkgname=katana-extraapps
|
||||
pkgver=4.22.0.r1178.b77042ff
|
||||
pkgrel=1
|
||||
pkgdesc="Katana extra applications"
|
||||
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
|
||||
url='https://osdn.net/projects/kde/'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
groups=('katana')
|
||||
depends=("katie-git" "katanalibs>=4.22.0" "katana-workspace>=4.22.0"
|
||||
'ffmpegthumbnailer' 'libtorrent-rasterbar' 'djvulibre' 'parted'
|
||||
'libmms' 'libatasmart' 'libspeechd' 'libvncserver')
|
||||
makedepends=('cmake' 'git' 'xorg-server-devel' 'boost')
|
||||
optdepends=(
|
||||
'libxslt: SSML support in Jovie'
|
||||
'qemu: Virtual machine management'
|
||||
'freerdp: A free Remote Desktop Protocol (RDP) Implementation'
|
||||
'ghostscript: PostScript, PDF and DvI support in KIO thumbnailer and Okular'
|
||||
'texlive-bin: DVI support in Okular'
|
||||
)
|
||||
source=("git+https://scm.osdn.net/gitroot/kde/kde-extraapps.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd kde-extraapps
|
||||
printf "4.22.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../kde-extraapps \
|
||||
-Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
57
packaging/archlinux/katana-workspace/PKGBUILD
Normal file
57
packaging/archlinux/katana-workspace/PKGBUILD
Normal file
|
@ -0,0 +1,57 @@
|
|||
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Arch_package_guidelines
|
||||
|
||||
pkgname=katana-workspace
|
||||
pkgver=4.22.0.r1677.a95a4968
|
||||
pkgrel=1
|
||||
pkgdesc="Katana workspace interface, base applications and tools"
|
||||
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
|
||||
url='https://osdn.net/projects/kde/'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
groups=('katana')
|
||||
depends=("katie-git" "libdbusmenu-katie>=4.22.0" "katanalibs>=4.22.0"
|
||||
'libxdamage' 'libqalculate' 'libdrm' 'openexr' 'libgphoto2' 'lightdm'
|
||||
'libxklavier' 'libxres' 'libxcomposite' 'libxft' 'libxinerama'
|
||||
'xorg-xrdb' 'xorg-xsetroot' 'xorg-xrandr' 'xorg-xmessage' 'libusb'
|
||||
'xcb-util-renderutil' 'xcb-util-keysyms' 'ttf-dejavu' 'libssh'
|
||||
'pciutils' 'glu' 'mesa' 'libmtp'
|
||||
'xorg-server' 'lm_sensors')
|
||||
makedepends=('cmake' 'git' 'xorg-server-devel')
|
||||
optdepends=(
|
||||
'gdb: Backtraces support'
|
||||
'mtools: KIO floppy support'
|
||||
'unrar: Comic Books thumbnails support in KIO slave'
|
||||
'qrencode: QR Code support in Klipper'
|
||||
'ctags: Code indexing support in Kate'
|
||||
'cppcheck: Code analysis support in Kate'
|
||||
'lrzsz: ZModem support in Konsole'
|
||||
'locate: Search indexing support in KFind'
|
||||
'icoutils: ICO thumbnails support in KIO slave'
|
||||
)
|
||||
backup=('etc/lightdm/lightdm-kgreeter-greeter.conf')
|
||||
source=("git+https://scm.osdn.net/gitroot/kde/kde-workspace.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd kde-workspace
|
||||
printf "4.22.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../kde-workspace \
|
||||
-Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
51
packaging/archlinux/katanalibs/PKGBUILD
Normal file
51
packaging/archlinux/katanalibs/PKGBUILD
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Arch_package_guidelines
|
||||
|
||||
pkgname=katanalibs
|
||||
pkgver=4.22.0.r2732.fbd4a17a
|
||||
pkgrel=1
|
||||
pkgdesc="Katana core libraries"
|
||||
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
|
||||
url='https://osdn.net/projects/kde/'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
groups=('katana')
|
||||
depends=('katie-git' 'libdbusmenu-katie' 'enchant' 'libwebp' 'imagemagick'
|
||||
'exiv2' 'mpv' 'avahi' 'curl' 'taglib' 'ebook-tools' 'poppler' 'libspectre'
|
||||
'libmicrohttpd' 'shared-mime-info' 'media-player-info' 'libxtst')
|
||||
makedepends=('cmake' 'git')
|
||||
source=("git+https://scm.osdn.net/gitroot/kde/kdelibs.git"
|
||||
'kde-applications-menu.patch' 'archlinux-menu.patch')
|
||||
sha1sums=('SKIP'
|
||||
'eca00007b168228b05d8683e1de8c78e3feca73d'
|
||||
'4de0a8db4155a83667bc4dac1c3df8659ee4a030')
|
||||
|
||||
pkgver() {
|
||||
cd kdelibs
|
||||
printf "4.22.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
cd kdelibs
|
||||
# avoid file conflict with gnome-menus and kservice
|
||||
patch -p1 -i "${srcdir}/kde-applications-menu.patch"
|
||||
# add Archlinux menu entry
|
||||
patch -p1 -i "${srcdir}/archlinux-menu.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../kdelibs \
|
||||
-Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
-DLOCALE_INSTALL_DIR=/usr/share/locale/kde4
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
22
packaging/archlinux/katanalibs/archlinux-menu.patch
Normal file
22
packaging/archlinux/katanalibs/archlinux-menu.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- kdelibs-4.3.98/kded/applications.menu 2010-01-31 19:28:11.000000000 +0000
|
||||
+++ kdelibs-4.3.98/kded/applications.menu 2010-01-31 22:25:53.556043077 +0000
|
||||
@@ -16,11 +16,19 @@
|
||||
</DefaultLayout>
|
||||
<Layout>
|
||||
<Merge type="menus"/>
|
||||
+ <Menuname>Arch Linux</Menuname>
|
||||
<Menuname>Applications</Menuname>
|
||||
<Merge type="files"/>
|
||||
</Layout>
|
||||
|
||||
<Menu>
|
||||
+ <Name>Arch Linux</Name>
|
||||
+ <Directory>Archlinux.directory</Directory>
|
||||
+ <Include>
|
||||
+ <Category>Archlinux</Category>
|
||||
+ </Include>
|
||||
+ </Menu>
|
||||
+ <Menu>
|
||||
<Name>Applications</Name>
|
||||
<Directory>kde-unknown.directory</Directory>
|
||||
<OnlyUnallocated/>
|
25
packaging/archlinux/katanalibs/kde-applications-menu.patch
Normal file
25
packaging/archlinux/katanalibs/kde-applications-menu.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
diff --git a/kded/CMakeLists.txt b/kded/CMakeLists.txt
|
||||
index 8c0d71a..418577b 100644
|
||||
--- a/kded/CMakeLists.txt
|
||||
+++ b/kded/CMakeLists.txt
|
||||
@@ -71,6 +71,7 @@ install(TARGETS kbuildsycoca4 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
install(
|
||||
FILES applications.menu
|
||||
DESTINATION ${KDE4_SYSCONF_INSTALL_DIR}/xdg/menus
|
||||
+ RENAME kde-applications.menu
|
||||
)
|
||||
|
||||
install(
|
||||
diff --git a/kded/kbuildsycoca.cpp b/kded/kbuildsycoca.cpp
|
||||
index 1b2c2cc..9acfc3f 100644
|
||||
--- a/kded/kbuildsycoca.cpp
|
||||
+++ b/kded/kbuildsycoca.cpp
|
||||
@@ -304,7 +304,7 @@ bool KBuildSycoca::build()
|
||||
if (!m_trackId.isEmpty())
|
||||
g_vfolder->setTrackId(m_trackId);
|
||||
|
||||
- VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu");
|
||||
+ VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("kde-applications.menu");
|
||||
|
||||
KServiceGroup::Ptr entry = g_buildServiceGroupFactory->addNew("/", kdeMenu->directoryFile, KServiceGroup::Ptr(), false);
|
||||
entry->setLayoutInfo(kdeMenu->layoutList);
|
39
packaging/archlinux/libdbusmenu-katie/PKGBUILD
Normal file
39
packaging/archlinux/libdbusmenu-katie/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Maintainer: Ivailo Monev <xakepa10@gmail.com>
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Arch_package_guidelines
|
||||
|
||||
pkgname=libdbusmenu-katie
|
||||
pkgver=4.22.0.r22.a1addb7
|
||||
pkgrel=1
|
||||
pkgdesc="Katie implementation of the DBusMenu protocol"
|
||||
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
|
||||
url='https://osdn.net/projects/kde/'
|
||||
license=('LGPL')
|
||||
groups=('katana')
|
||||
depends=('katie-git')
|
||||
makedepends=('cmake' 'git')
|
||||
source=("git+https://scm.osdn.net/gitroot/kde/libdbusmenu-qt.git")
|
||||
sha1sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd libdbusmenu-qt
|
||||
printf "4.22.0."r%s.%s "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../libdbusmenu-qt \
|
||||
-Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Add table
Reference in a new issue