Browse Source

Update gpkg and package.use

master
jcmdln 1 year ago
parent
commit
91eb904887
2 changed files with 6 additions and 4 deletions
  1. 1
    0
      etc/portage/package.use/packages
  2. 5
    4
      usr/local/gein/gpkg

+ 1
- 0
etc/portage/package.use/packages View File

@@ -44,6 +44,7 @@ media-plugins/gst-plugins-meta ogg vorbis
media-sound/cmus aac alsa flac libsamplerate mad mp4 opus oss vorbis wavpack
media-video/ffmpeg aac amr blueray cdio encode gme hevc libass mp3 network ogg openh264 openssl opus rtmp theora vorbis vpx wavpack x264 x265 xvid
media-video/mpv libass libmpv
net-libs/nodejs icu inspector npm snapshot
net-misc/connman bluetooth ethernet iptables openvpn wifi
net-misc/iputils -ipv6 abi_x86_64
net-misc/openssh -X

+ 5
- 4
usr/local/gein/gpkg View File

@@ -8,7 +8,7 @@ if [ $EUID -ne 0 ]; then
fi
fi

case $@ in
case $1 in
-s|sync)
echo "gpkg: syncing Portage..."
$SU emerge -q --sync &&
@@ -20,11 +20,13 @@ case $@ in
;;

-r|remove)
$SU emerge -avc --quiet-build ${@:2}
$SU emerge -avc --quiet-build ${@:2} &&
$SU emerge -av --depclean --quiet-build
;;

-p|purge)
$SU gpkg -r $(qlist -CI ${@:2})
$SU gpkg -r $(qlist -CI ${@:2}) &&
$SU emerge -av --depclean --quiet-build
;;

-u|update)
@@ -43,7 +45,6 @@ case $@ in
echo " -i, install Install a package"
echo " -r, remove Safely remove a package"
echo " -p, purge Purge package and dependencies"
echo " -c, clean Remove unneeded packages"
echo " -u, update Update @world packages"
echo " -U, upgrade Update @system packages"
;;

Loading…
Cancel
Save