codeblocks

This commit is contained in:
milisbir 2018-01-19 06:10:33 +02:00
parent 99fa83f5ba
commit 2abaaae6fc
4 changed files with 58 additions and 12 deletions

View File

@ -1,20 +1,30 @@
# Tanım: Bir çapraz platform Bütünleşik Geliştirme Ortamı (IDE).
# URL: http://www.codeblocks.org/
# Paketçi: milisarge
# Gerekler: zip boost desktop-file-utils gamin gtk-update-icon-cache hicolor-icon-theme hunspell shared-mime-info wxgtk28
# Tanım: Çapraz platformlu C/C++ IDE
# URL: http://codeblocks.org/
# Paketçi: Cihan_Alkan
# Gerekler: boost gamin hunspell wxgtk28
# Grup: geliştirme
isim=codeblocks
surum=16.01
devir=1
kaynak=(http://sourceforge.net/projects/$isim/files/Sources/16.01/codeblocks_${surum}.tar.gz)
kaynak=(https://sourceforge.net/projects/$isim/files/Sources/$surum/${isim}_$surum.tar.gz)
derle() {
cd $isim-*
cd "$isim-$surum.release"
# Fix build with boost 1.59
export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
export WX_CONFIG_PATH=/usr/bin/wx-config
[ ! -L /usr/bin/wx-config ] && ln -s /usr/bin/wx-config-2.8 /usr/bin/wx-config
# FS#49799
export CPPFLAGS+=" -fno-delete-null-pointer-checks"
CXXFLAGS+=' -std=c++11 -fpermissive'
./bootstrap
./configure --prefix=/usr --with-contrib-plugins=all
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
make -C "$isim-$surum.release" DESTDIR="$PKG" install
[ -L /usr/bin/wx-config ] && rm -f /usr/bin/wx-config
}

View File

@ -0,0 +1,25 @@
# Tanım: Resmi olmayan whatsapp web masaüstü istemcisi. Elektron ile inşa edildi.
# URL: https://github.com/Enrico204/Whatsapp-Desktop
# Paketçi: Cihan Alkan
# Gerekler: libnotify gconf gtk2
# Grup: ağ
isim=whatsapp-desktop
surum=0.4.0
devir=1
kaynak=(https://github.com/Enrico204/Whatsapp-Desktop/releases/download/v0.4.0/WhatsApp-linux-x64.tar.gz
whatsapp-desktop.desktop
whatsapp-desktop.png)
derle() {
install -d "$PKG"/opt
cp -R "$SRC"/WhatsApp-linux-x64 "$PKG"/opt/Whatsapp
install -d "$PKG"/usr/bin
ln -sf ../../opt/Whatsapp/WhatsApp "$PKG"/usr/bin/Whatsapp
install -D -m644 "./whatsapp-desktop.desktop" "${PKG}/usr/share/applications/whatsapp-desktop.desktop"
install -D -m644 "./whatsapp-desktop.png" "${PKG}/usr/share/pixmaps/whatsapp-desktop.png"
}

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=WhatsApp Desktop
Icon=whatsapp-desktop
Exec=Whatsapp
Comment=WhatsApp for Desktop
Name[tr]=WhatsApp Masaüstü Uygulaması
Comment[tr]=Bilgisayarlar için WhatsApp
Categories=Network;Chat;
Terminal=false
StartupNotify=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB